Skip to content

test_benchmark.py: Make number of reps configurable via env var#26306

Merged
sbc100 merged 1 commit intoemscripten-core:mainfrom
sbc100:benchmark_reps
Feb 19, 2026
Merged

test_benchmark.py: Make number of reps configurable via env var#26306
sbc100 merged 1 commit intoemscripten-core:mainfrom
sbc100:benchmark_reps

Conversation

@sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Feb 19, 2026

Also:

  • Use the default value in just one place
  • Avoid storing self.reps on the benchmarker class (we can just use len(self.times) as a proxy)

@sbc100 sbc100 requested a review from kripken February 19, 2026 18:21
Also:

- Use the default value in just one place
- Avoid storing `self.reps` on the benchmarker class (we can just use
  `len(self.times)` as a proxy)
@sbc100 sbc100 merged commit 8a64538 into emscripten-core:main Feb 19, 2026
36 checks passed
@sbc100 sbc100 deleted the benchmark_reps branch February 19, 2026 21:45
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

Comments