Giter Club home page Giter Club logo

typometer's People

Contributors

pavelfatin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

typometer's Issues

high latency in Windows 11

With typometer I always measure at least 28-30ms, no matter which editor (notepad, sublime, cmd.exe,...) I try. With Windows 10 I can easily get down to 14-16ms, i.e. one frame at 60hz, which seems reasonable.
Does anyone know if there's something you can do to reduce the latency in Windows 11?

How to use/configure typometer

Hi pavelfatin
i had downloaded & install java and typometer. but not able to use it and i did not find any other notes which explains how to use typometer.Can you please guide me about its uses.

Thanks
Rajnikant

Observing a bug for notepad

@pavelfatin The application starts benchmarking for notepad properly, but after 1st phase, i.e like printing after 5 dots on notepad, it suddenly stops and displays bug as in attached image. It doesn't proceed further. Any thoughts on this bug.
2022-08-03 (5)

An illegal reflective access operation has occurred

On Arch Linux, with jre10-openjdk 10.0.2.u13, running typometer-1.0.1.jar (binary download) shows:

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.pavelfatin.typometer.ui.ColoredRenderer (file:/mnt/protected/pkg/aur-rw/typometer.git/typometer-1.0.1-bin/typometer-1.0.1/typometer-1.0.1.jar) to field java.awt.Component.background
WARNING: Please consider reporting this to the maintainers of com.pavelfatin.typometer.ui.ColoredRenderer
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

Does not work on Fedora 30 (Wayland)

Firstly, thanks for making this excellent and unique tool!

I've been unable to run this succesfully on Fedora 30 with the Gnome 3 window manager. The generated key presses do not appear in gnome-terminal or other apps, but they do appear when I benchmark my IDEA ide. Furthermore, even when the generated characters do appear, they aren't detected by the app. Lastly, the mouse isn't able to click on anything after running the first benchmark.

The mouse click problem is fixed by using a newer JDK, I believe it is this bug :
https://bugs.openjdk.java.net/browse/JDK-8225118

By saving the screen to a file, I see the captured image is all black. I think this is a XWayland issue, as I'm able to see a the screen capture when I log in with "Gnome on Xorg". I wasn't able to create a Wayland solution, and I think the terminal in Gnome on Xorg is slower than Wayland (it reports ~35ms)

Overly sensitive to minor color variations

macOS dithers solid colors in recent OS versions. This is noticeable on 10.15 with a macbook pro in direct sunlight, for example. Furthermore, antialiasing artifacts due to unaligned drawing on a retina display can cause fuzzy edges. Because typometer checks only for exact color equivalence, it often gets tripped up.

I was unable to use it at all on macOS until I made the following changes:

  1. Change BenchmarkImpl.typeSync to consider colors differing by less than 1% to be equal (by summing the difference of the red, green, and blue channels)
  2. Change MetricsDetector.uniformLengthFrom to ignore the 2 least significant bits of each color channel.

Works up to a certain number of characters and then freezes

I'm trying to benchmark an editor and see that typometer seems to benchmark consistently up to a certain number of characters and then it freezes.

At the normal zoom level I was able to benchmark 15 characters, and with a higher zoom level I got up to 68 characters. But it consistently freezes on the same count.

I've followed the recommendations in the "common problems" section.

report from neoeedit: result environment dependent

I found this tool interesting . it works on neoeedit

java --add-opens=java.desktop/java.awt=ALL-UNNAMED -jar /ram/typometer-1.0.1-bin/typometer-1.0.1/typometer-1.0.1.jar
# Title	Min	Max	Avg	SD
1 neoeedit	11.0	110.0	18.1	12.8
3 neoeedit	6.1	83.4	11.7	9.3

1 is on laptop with CPU AMD Ryzen 2700U
2 is on desktop with GPU AMD 6800
both are using Debian Xorg

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.