-
Notifications
You must be signed in to change notification settings - Fork 317
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
feat: add wasm memory benchmark to bench.json #11551
Conversation
"iterations": 1, | ||
"real_time": last_memory, | ||
"cpu_time": last_memory, | ||
"time_unit": "ns" |
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 have no idea how this info is converted to the value in the data.js in the gh-pages branch. I tried looking for it in the github-action-benchmark repo but couldn't
export -f ultra_honk_wasm_memory run_benchmark | ||
local num_cpus=$(get_num_cpus) | ||
local jobs=$((num_cpus / HARDWARE_CONCURRENCY)) | ||
parallel -v --line-buffer --tag --jobs "$jobs" run_benchmark {#} {} ::: \ |
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.
Why parallel with one job
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 anticipate adding more
@@ -64,6 +64,9 @@ case "$cmd" in | |||
"hash") | |||
echo "$hash" | |||
;; | |||
"bench") | |||
echo "ts/bootstrap.sh bench is empty" |
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 would have just printed nothing, the user will try and act on this maybe
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.
fair
Reinstates #11551 with e2e-all flag to test bench running.
Modify our benchmarking flow in CI for our bench json so that we include wasm benchmark on an acir test.