Rated↑ Article |
---|
Optimizing Ruby’s JSON, Part 1I was recently made maintainer of the json gem, and aside from fixing some old bugs, I focused quite a bit on its performance, so that it is now the fastest JSON parser and generator for Ruby on most benchmarks. 2024-12-15 byroot’s blog 3,000 words Rated 2024-12-19 - sethherr |
Optimizing Ruby’s JSON, Part 2In the previous post, I covered my motivations for improving ruby/json’s performance, and detailed the first 4 notable optimizations applied to speed up JSON generation. 2024-12-18 byroot’s blog 3,000 words Rated 2024-12-19 - sethherr |
Optimizing Ruby’s JSON, Part 4In the previous post, we established that as long as ruby/json wasn’t competitive on micro-benchmarks, public perception wouldn’t change. Since what made ruby/json appear so bad on micro-benchmarks was its setup cost, we had to find ways to reduce it further. 2024-12-29 byroot’s blog 4,000 words Rated Jan 3rd - sethherr |