diff options
| author | Peter Zhu <peter@peterzhu.ca> | 2025-12-20 16:08:01 -0500 |
|---|---|---|
| committer | Peter Zhu <peter@peterzhu.ca> | 2025-12-20 21:55:12 -0500 |
| commit | 038b158fa30d1b1cda153aeb10dac5f59f966036 (patch) | |
| tree | c32cbe250f3b972342668d56a6ff50c11b903af0 /test/ruby/test_method_cache.rb | |
| parent | 1bc2a9158966a4a1556529d8bb50fae66fa11bb0 (diff) | |
[ruby/mmtk] Implement fast path for bump pointer allocator
Adding a fast path for bump pointer allocator can improve allocation
performance.
For the following microbenchmark with MMTK_HEAP_MIN=100MiB:
10_000_000.times { String.new }
Before:
810.7 ms ± 8.3 ms [User: 790.9 ms, System: 40.3 ms]
After:
777.9 ms ± 10.4 ms [User: 759.0 ms, System: 37.9 ms]
https://github.com/ruby/mmtk/commit/0ff5c9f579
Diffstat (limited to 'test/ruby/test_method_cache.rb')
0 files changed, 0 insertions, 0 deletions
