Skip to content

[test] Add do_benchmarkf and use it for single-file benchmarks#27288

Merged
sbc100 merged 1 commit into
emscripten-core:mainfrom
sbc100:benchmark-do-benchmarkf
Jul 9, 2026
Merged

[test] Add do_benchmarkf and use it for single-file benchmarks#27288
sbc100 merged 1 commit into
emscripten-core:mainfrom
sbc100:benchmark-do-benchmarkf

Conversation

@sbc100

@sbc100 sbc100 commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator

Refactor test_benchmark.py to introduce do_benchmarkf, which accepts a source file path on disk. Update do_benchmark to write string-based benchmarks to a file and delegate to do_benchmarkf. Update all benchmarks with dedicated source files to call do_benchmarkf directly instead of reading source contents with read_file.

@sbc100
sbc100 requested a review from kripken July 8, 2026 23:45
Refactor test_benchmark.py to introduce `do_benchmarkf`, which accepts a
source file path on disk. Update `do_benchmark` to write string-based
benchmarks to a file and delegate to `do_benchmarkf`. Update all
benchmarks with dedicated source files to call `do_benchmarkf` directly
instead of reading source contents with `read_file`.
@sbc100
sbc100 force-pushed the benchmark-do-benchmarkf branch from ad04e3d to 02226dc Compare July 8, 2026 23:49
@sbc100
sbc100 enabled auto-merge (squash) July 8, 2026 23:50
@sbc100
sbc100 disabled auto-merge July 9, 2026 17:19
@sbc100
sbc100 merged commit da452f7 into emscripten-core:main Jul 9, 2026
37 of 39 checks passed
@sbc100
sbc100 deleted the benchmark-do-benchmarkf branch July 9, 2026 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants