Skip to content

Benchmark output is now hidden #25944

@kripken

Description

@kripken

I think this is due to the recent multithreaded test harness improvements? It seems to suppress stdout, which is where we print the sizes and times, so the benchmarking data is never printed anywhere. For example:

$ EMTEST_BENCHMARKERS=v8 ./test/runner benchmark.test_primes benchmark.test_corrections --save-dir --no-clean
Running test_benchmark: (2 tests)
[1/2] test_corrections (test_benchmark.benchmark.test_corrections) ... 

It stays like that while running the first benchmark. When it gets to start the second:

Running test_benchmark: (2 tests)
[2/2] test_primes (test_benchmark.benchmark.test_primes) ... 

Note that nothing was shown for the first benchmark's output, we just update from 1/2 to 2/2 in place, and update the benchmark name. And even after finishing, nothing is printed:

$ EMTEST_BENCHMARKERS=v8 ./test/runner benchmark.test_primes benchmark.test_corrections --save-dir --no-clean
Running test_benchmark: (2 tests)
[2/2] test_primes (test_benchmark.benchmark.test_primes) ... ok

----------------------------------------------------------------------
Ran 2 tests in 80.258s

OK

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions