pavelfatin / typometer Goto Github PK
View Code? Open in Web Editor NEWText / code editor typing latency analyzer
Home Page: https://pavelfatin.com/typometer
License: Apache License 2.0
Text / code editor typing latency analyzer
Home Page: https://pavelfatin.com/typometer
License: Apache License 2.0
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?
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
This used to work in Emacs, I'm not sure if something has changed. I now get "Available line length is too short"
I'm on macOS 10.13.3
@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.
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
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)
Would be wonderful if it used native API for OSX.
Thanks in advance.
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:
BenchmarkImpl.typeSync
to consider colors differing by less than 1% to be equal (by summing the difference of the red, green, and blue channels)MetricsDetector.uniformLengthFrom
to ignore the 2 least significant bits of each color channel.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.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.