GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — Try using AWS Spot Instances for benchmark by liuxingbaoyu · Pull Request #18666 · babel/babel Conversation
Member
Let’s see how long this takes. :)
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
|
There was an error while loading. Please reload this page.
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/63945 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
commit: |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
test262 resultsAs of 0b40ce1, this PR does not change any test262 results compared to |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Here are some automated review suggestions for this pull request.
Reviewed commit: ba934ec0cb
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
9ec430f to
622548c
Compare
| xargs -P "${{ matrix.parallel }}" -L 1 sh -c | ||
| 'exec node --import @codspeed/tinybench-plugin --expose-gc --no-allocation-site-pretenuring "./benchmark/$0" --only-current --fixture="$1" ${{ matrix.args }}' | ||
| < benchmark-cases.txt | ||
| mode: walltime |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I recall the longest benchmark is around 5min on GH runner, could we make 2 shards for the benchmark? Hopefully we can reduce the runtime to 5-6min per shard.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
What do you think about increasing the minimum iteration time while decreasing the minimum number of iterations? That should improve accuracy for smaller cases and reduce execution time for larger cases.
This should also provide benefits when we run tests locally.
I’m concerned that adding more parallel machines might actually slow things down when handling multiple PRs, given the default quota limits on AWS. :)
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
If quota is the concern, can we run half of tests on AWS and the other half on GH?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Currently, a maximum of 4 runners can run concurrently. Do you think that’s enough?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
4 runners are probably fine in routine maintenance, but would probably be strained when we are approaching a release and merged a bunch of PR on both 8.x and 7.x. In that case it would be great to keep AWS benchmark runtime small so the cod speed job is not the bottleneck.
In current stacked PR settings, each enqueue will restack other branches and triggers concurrent benchmark jobs. If there are 5 stacks PR, the benchmark job will be throttled.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
At 40 iterations three cases take 60% of the time: node6 typescript-5.6.2.js (189 s), traverse typescript-5.6.2.js (72 s) and mjs-cjs ts-checker.mjs (53 s). Their error is already low (±0.4–2.2% at 40 samples, ±0.8–1.9% at 16), so I am fine with iterations: 16.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I’ll see what the maximum amount is.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Its maximum concurrency is currently 8.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
0dc0091 to
0b40ce1
Compare
|
I noticed that the availability zone of the AWS runner is |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
The price in the US availability zone is 4-8 times that of |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
I see, if you have not done so: could you test if |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
There seems to be no difference, except that the time was shortened by 6 seconds because the former has 2 cores and 4G. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Did you mean |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Well V8 gc executes on the other cores so 2-core may be a bit stressed here, a fair comparison might be to compare |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I tested
I haven’t applied for credits yet. I'm only using my personal account. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.