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

Implements a benchmarking script #5536

Merged
merged 3 commits into from
Jun 29, 2023
Merged

Implements a benchmarking script #5536

merged 3 commits into from
Jun 29, 2023

Conversation

arcanis
Copy link
Member

@arcanis arcanis commented Jun 27, 2023

What's the problem this PR addresses?

Making benchmarks required a little too much setup for me, so I made a script to make it seamless.

How did you fix it?

Running yarn bench in the repository will spawn a shell inside a temporary folder, with everything setup to run a benchmark when calling bench-run. It doesn't handle yet parametrized benchmarks, but should support comparing performances before/after.

Incidentally, the yarn set version from sources command now caches the result, to avoid rebuilding the same commits.

Checklist

  • I have set the packages that need to be released for my changes to be effective.
  • I will check that all automated PR checks pass before the PR gets reviewed.

@arcanis arcanis merged commit 200e84d into master Jun 29, 2023
2 checks passed
@arcanis arcanis deleted the mael/bench-script branch June 29, 2023 14:08
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

Successfully merging this pull request may close these issues.

1 participant