-
Notifications
You must be signed in to change notification settings - Fork 12
Graph display of benchmark results #14
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
base: main
Are you sure you want to change the base?
Conversation
a84f737 to
87e797a
Compare
Cool, but this is a problem, since different CPUs & JS runtimes give different results. Unless you want to make a CI to run on 4-8 different setups? |
|
@tomByrer Thank you for your feedback. |
87e797a to
475e81c
Compare
|
@tomByrer I have removed the commit which adds tests in CI. |
2feb2b5 to
879ef81
Compare
879ef81 to
565ef06
Compare
This PR is based on top of #13
It makes it easy to view benchmark results on a graph.
It works in a very simple way: results are exported to the
results.jsfile. There is aresults.htmlfile that allows to view the average time and each test for each framework on different graphs.Also, benchmarks are run in CI and the resulting js file is uploaded with upload-artifact.(removed as mentioned in the comments below)All tests for all frameworks are run multiple times (cf
executionsvariable in theconfig.tsfile, currently set to3), the average time for each framework for all tests is displayed at the end of each execution and theresults.jsfile is updated at that time too.