-
Notifications
You must be signed in to change notification settings - Fork 4k
GH-41015: [JS] [Benchmarking] allow JS benchmarks to run more portably #41031
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
Conversation
|
|
|
@ursabot please benchmark lang=JavaScript |
|
Benchmark runs are scheduled for commit e5f6c93. Watch https://buildkite.com/apache-arrow and https://conbench.ursa.dev for updates. A comment will be posted here when the runs are complete. |
domoritz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, now we have the same command (node --no-warnings --loader ts-node/esm/transpile-only) in two places (the package.json and the ts file). Where else do we call perf from? Could we just change all the calls to run yarn perf / npm run perf?
As far as I know, everything that runs benchmarks just uses
If this is a problem, perhaps we should remove the shebang then? The trouble with the shebang as written is that using |
|
Sounds good to me. We have a few other places that use the same shebang and I think we should update them as well. Rather than yarn, maybe we should use npm run since it's more portable. But that can be a separate change. |
Just looked into this briefly and found places in archery that might fail if we remove the shebangs: arrow/dev/archery/archery/integration/tester_js.py Lines 27 to 30 in 83359d6
So we could go through and fix all these, but it might be more trouble than it's worth. Would you mind if I keep this PR scoped to just fixing the benchmarks' portability? (For context, I'm trying to move the orchestration of the Arrow merge-commit JS benchmarks off a machine in someone's basement to an EC2 instance. This PR unblocks that work.) |
Agreed. So to unblock you, can you run |
|
Thanks for your patience. Conbench analyzed the 1 benchmarking run that has been run so far on PR commit e5f6c93. There were no benchmark performance regressions. 🎉 The full Conbench report has more details. |
|
I think that might be slightly difficult on the orchestration side. Cool, thanks for the review. 💜 would you mind merging? I don't have write access. |
|
After merging your PR, Conbench analyzed the 7 benchmarking runs that have been run so far on merge-commit 02bc653. There was 1 benchmark result indicating a performance regression:
The full Conbench report has more details. It also includes information about 3 possible false positives for unstable benchmarks that are known to sometimes produce them. |
Fixes #41015. This PR allows users to run
yarn perfto run the JS benchmarks on more machines; in particular, machines that do not supportenv -Slike Amazon Linux.