Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Come up with more metrics to measure #3

Open
markerikson opened this issue Sep 6, 2018 · 1 comment
Open

Come up with more metrics to measure #3

markerikson opened this issue Sep 6, 2018 · 1 comment

Comments

@markerikson
Copy link
Collaborator

Right now we're only measure FPS, plus the values from a Chrome trace (time spent "scripting", "rendering", and "painting"). These are better than nothing, but they seem insufficient. In particular, they really only start changing if the app is continuously updating in a stress test scenario (ie, dispatching actions every few milliseconds).

It would be good to start figuring out what other metrics we might want to measure, and how we should try measuring them.

Also, the "average FPS" metric is presumably a bit flawed, because it only shows the changes, not exactly how long we spent at a given FPS rate. If we spent 20 seconds at 60 FPS and 10 seconds at 50 FPS, the average FPS isn't 55, it's ( (60 * 20 + 10 * 50) / 30), or something like that. The current math is passable enough for now, but it'd be nice if we actually used the timestamps from the performance.measure() calls to calculate a more accurate FPS result.

@markerikson
Copy link
Collaborator Author

Another potential source: the JS framework benchmarks repo at https://github.com/krausest/js-framework-benchmark .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant