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.
This commit is contained in:
parent
9047fe5ea4
commit
9194f489c9
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user