mirror of
https://github.com/ruby/ruby.git
synced 2025-08-23 04:55:21 +02:00
![]() Profiling revealed that we were spending lots of time growing the buffer. Buffer operations is definitely something we want to optimize, but for this specific benchmark what we're interested in is UTF-8 scanning performance. Each iteration of the two scaning benchmark were producing 20MB of JSON, now they only produce 5MB. Now: ``` == Encoding mostly utf8 (5001001 bytes) ruby 3.4.0dev (2024-10-18T19:01:45Z master |
||
---|---|---|
.. | ||
depend | ||
extconf.rb | ||
generator.c | ||
generator.h |