-
Notifications
You must be signed in to change notification settings - Fork 98
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
Reverts #315
Comments
The onus is on me to test on the VM before merging. I will now do that before merging PRs. |
A contributor can spin up and tear down a free tier VM w/in the free-period of signup. Most contributors will probably be done with the process in a few days, so wouldn't cost them anything. Still, yeah, it's not a great ask, but some kind of heads-up when submitting a PR would be a good idea, I think, even if the final "consider doing..." sentence is left out. |
Maybe @microsoft will fund to this project a small Azure machine :) 2 of their languages are battle-tested here :) |
That would be cool, not sure if it will happen, though. If it does, it would also be cool if there's a bot/action that upon request (via PR comment) does 5..20..60k runs for the new/changed implementation/s and then posts the results in a PR comment. I've seen conceptually similar actions implemented in other projects, takes a bit of work but isn't rocket science. For examples See:
So for this project would be a comment like:
Could be restricted to use by jinyus if it was getting abused. |
Sounds good but results can vary with github actions. I made a small userscript where I can click a button to copy the docker command needed to run the benchmark on a PR branch so all I have to do is paste it in the VM and run it. |
Yep, I had in mind it triggering a build/run on dedicated VM not GHA.
Nice! |
Maybe there should be a PR template that populates the description box with a commented-out section like
I'm suggesting it because reverts for perf regressions keep landing in
main
and contributors may appreciate a reminder to try out their changes in an equivalent environment.For example, I was disappointed to learn a consistent 50% speedup on my local machines turns into a 200%+ slowdown in the benchmarking VM.
I now have my own
Standard F4s v2 (4 vcpus, 8 GiB memory)
VM and am hunting down the problem, but I might have worked with one from the start if it had been suggested in the process of submitting a PR.The text was updated successfully, but these errors were encountered: