-
Notifications
You must be signed in to change notification settings - Fork 190
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
Update puppeteer, node (for perf testing), and the setup script which launches tracerbench #1628
Conversation
@NullVoxPopuli maybe try upgrading node version in perf.yml to |
.github/workflows/perf.yml
Outdated
|
||
- uses: browser-actions/setup-chrome@v1 | ||
with: | ||
chrome-version: 128 |
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.
I think puppeteer manages it's own chrome version.
You might need to downgrade puppeteer instead.
It had an update 4 days ago. Maybe its related
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.
I now saw that there is also puppeteer-chromium-resolver. According to docs it should be able to detect local chrome. But i think chrome must be installed before doing pnpm install.
:( maybe try specific pupeteer version 20.0.0 |
Mmm, out of ideas..., looking at the logs it's still using latest chrome? |
It has options for chrome version selection https://www.npmjs.com/package/puppeteer-chromium-resolver#option-from-root-packagejson-with-pcr-object |
I found a workaround. I noticed that the error is around GC multi thread handling. not sure why it happens |
bin/setup-bench.mjs
Outdated
@@ -174,7 +174,7 @@ await new Promise((resolve) => { | |||
|
|||
try { | |||
const output = | |||
await $`./node_modules/.bin/tracerbench compare --regressionThreshold 25 --sampleTimeout 60 --fidelity ${fidelity} --markers ${markers} --controlURL ${CONTROL_URL} --experimentURL ${EXPERIMENT_URL} --report --headless --cpuThrottleRate ${throttleRate}`; | |||
await $`node --single-threaded-gc ./node_modules/.bin/tracerbench compare --regressionThreshold 25 --sampleTimeout 60 --fidelity ${fidelity} --markers ${markers} --controlURL ${CONTROL_URL} --experimentURL ${EXPERIMENT_URL} --report --headless --cpuThrottleRate ${throttleRate}`; |
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.
./node_modules/tracerbench/bin/run
packages/@glimmer/runtime/index.ts
Outdated
@@ -1,4 +1,5 @@ | |||
/** | |||
* big change |
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.
Don't forget to remove your big changes :)
duration phase no difference [-172ms to 140ms] [16:28:26] Generating Benchmark Reports [started]
JSON: /home/runner/work/glimmer-vm/glimmer-vm/tracerbench-results/compare.json PDF: /home/runner/work/glimmer-vm/glimmer-vm/tracerbench-results/artifact-1.pdf HTML: /home/runner/work/glimmer-vm/glimmer-vm/tracerbench-results/artifact-1.html |
No description provided.