summaryrefslogtreecommitdiff
path: root/include/ruby/thread.h
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2025-12-20 16:08:01 -0500
committerPeter Zhu <peter@peterzhu.ca>2025-12-20 21:55:12 -0500
commit038b158fa30d1b1cda153aeb10dac5f59f966036 (patch)
treec32cbe250f3b972342668d56a6ff50c11b903af0 /include/ruby/thread.h
parent1bc2a9158966a4a1556529d8bb50fae66fa11bb0 (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 'include/ruby/thread.h')
0 files changed, 0 insertions, 0 deletions