diff options
| author | Alan Wu <XrXr@users.noreply.github.com> | 2023-10-19 13:48:27 -0400 |
|---|---|---|
| committer | Alan Wu <XrXr@users.noreply.github.com> | 2023-10-19 15:14:20 -0400 |
| commit | 9194f489c94a4498bcfa1e858a31ecdef833b4c9 (patch) | |
| tree | f23980a00d8f28c11dca1ab78e08deaea8e1918d /test/ruby | |
| parent | 9047fe5ea4e8c989c1081aa10f741a413c546534 (diff) | |
YJIT: Make test_yjit.rb faster with --yjit-stats=quiet
The for-human stats summaries are not relevant for the children
`test_yjit.rb` spawns. Avoid compiling and running the printing code.
On a -O0 dev build this halves the time for `test_yjit.rb` on my machine.
Diffstat (limited to 'test/ruby')
| -rw-r--r-- | test/ruby/test_yjit.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_yjit.rb b/test/ruby/test_yjit.rb index 1fe9d68b30..17c779af39 100644 --- a/test/ruby/test_yjit.rb +++ b/test/ruby/test_yjit.rb @@ -1510,7 +1510,7 @@ class TestYJIT < Test::Unit::TestCase args = [ "--disable-gems", "--yjit-call-threshold=#{call_threshold}", - "--yjit-stats" + "--yjit-stats=quiet" ] args << "--yjit-exec-mem-size=#{mem_size}" if mem_size args << "-e" << script_shell_encode(script) |
