diff options
Diffstat (limited to 'benchmark/string_concat.yml')
| -rw-r--r-- | benchmark/string_concat.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/benchmark/string_concat.yml b/benchmark/string_concat.yml index f11f95ee9a..c07fd21013 100644 --- a/benchmark/string_concat.yml +++ b/benchmark/string_concat.yml @@ -1,8 +1,8 @@ prelude: | CHUNK = "a" * 64 UCHUNK = "é" * 32 - SHORT = "a" * (GC::INTERNAL_CONSTANTS[:BASE_SLOT_SIZE] / 2) - LONG = "a" * (GC::INTERNAL_CONSTANTS[:BASE_SLOT_SIZE] * 2) + SHORT = "a" * (GC.stat_heap(0, :slot_size) / 2) + LONG = "a" * (GC.stat_heap(0, :slot_size) * 2) GC.disable # GC causes a lot of variance benchmark: binary_concat_7bit: | |
