-
Notifications
You must be signed in to change notification settings - Fork 78
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
Add benchmarks to CI #130
Comments
I did some test benchmarking on this https://github.com/mrpowers-io/spark-fast-tests/pull/122/files#diff-7e79c32936db58af66efbf87c7e0114672f89209aa69722e98abee90faee72e3. |
Looks cool, thank you! But we definitely should have it as a subproject. |
@SemyonSinchenko I added a Draft with an initial project structure for Benchmarks module as well as an additional benchmark step for CI.
|
surprisingly, our comparer is performing better than what is being shown in README:
I will temporarily disable average benchmark mode until we can come up with a better plan to run. |
@zeotuan Can we anyhow save results? For example, can we create another branch and do force-push from CI with results in form of MD-files or even plain text? |
I can make jmh store result in json (or csv and some other format) and have github action upload the artifact which we can download in same or different workflow for updating the MD file. |
My idea was to make a simple script in scala that parse the result and use them with a templating tool to fill the markdown file. Then, the file will be a part of the existing static website. |
Sure, I think either way it's a two step process:
|
I just thought that maybe we can do it even easier: we can run such a script in the docs ci, fill the template, and for the docs ci it will be just like an md file... |
I see, so no need to storing intermediate result. I have no objection |
It would be very cool to have some performance benchmarks in CI.
Benchmarks, mentioned in README is a nice thing to start from:
https://github.com/mrpowers-io/spark-fast-tests?tab=readme-ov-file#why-is-this-library-fast
The text was updated successfully, but these errors were encountered: