You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For those wondering in 2025, A combo Ruby 3.4.1 + JSON 2.9.1 is nowadays faster than both this lib or OJ (tested with latest as of today, 3.16.9). I did not tried any other Ruby combinations
./benchmark/file_ips_benchmark.rb
ruby 3.4.1 (2024-12-25 revision 48d4efcb85) +PRISM [arm64-darwin24]
Warming up --------------------------------------
FastJsonparser 229.000 i/100ms
OJ 159.000 i/100ms
standard JSON 257.000 i/100ms
Calculating -------------------------------------
FastJsonparser 2.256k (± 0.9%) i/s (443.28 μs/i) - 11.450k in 5.075995s
OJ 1.592k (± 1.1%) i/s (628.23 μs/i) - 8.109k in 5.094883s
standard JSON 2.568k (± 1.4%) i/s (389.48 μs/i) - 12.850k in 5.005885s
The text was updated successfully, but these errors were encountered:
For those wondering in 2025, A combo Ruby 3.4.1 + JSON 2.9.1 is nowadays faster than both this lib or OJ (tested with latest as of today, 3.16.9). I did not tried any other Ruby combinations
The text was updated successfully, but these errors were encountered: