typometer
typometer copied to clipboard
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.
The symbol detection algorithm implies that distance between the consecutive dots is uniform. If that is not the case, the algorithm might look for for a newly typed dot in a wrong place of the screen, which finally results in a time out. You can manually type a long series of dots in the editor, make a screenshot and check the distances in image editor.
Another possibility is that the image recognition algorithm detects screen metrics incorrectly. In this case, you can either try to create a new test with the specific images (examples) or just send me an image of a long sequence of dots so I can try to figure out the underlying cause.
I think there's a way to do it -- fill the entire line with dots instead of just five dots. No need to extrapolate positions for rest of the line, since you know where all of them should be showing up.
Increasing the pattern length as @hmage suggested works, since the average distance gets accurate enough. Filling the whole line would be the safest. https://github.com/frarees/typometer/commit/ea573214f42b5f364745f97a98689a85365acf57 did it for me, but I think it'd be nice to expose this values to the tool itself for proper fine-tuning.