Skip to content

v1.9.0

Choose a tag to compare

@marhaupe marhaupe released this 30 Mar 13:47
· 8 commits to master since this release

Notes

This release should massively improve performance for most users. Compared to v.1.8.0, I've seen speedups of up to x1.86:

❯ hyperfine --warmup=3 'json2struct1.9.0 -f big_reddit_response' 'json2struct -f big_reddit_response'                                                                                         
Benchmark 1: json2struct1.9.0 -f big_reddit_response
  Time (mean ± σ):       8.0 ms ±   0.5 ms    [User: 6.2 ms, System: 2.9 ms]
  Range (min … max):     7.3 ms …  10.5 ms    218 runs
 
Benchmark 2: json2struct -f big_reddit_response
  Time (mean ± σ):      14.9 ms ±   0.6 ms    [User: 13.3 ms, System: 7.0 ms]
  Range (min … max):    13.8 ms …  18.0 ms    146 runs
 
Summary
  json2struct1.9.0 -f big_reddit_response ran
    1.86 ± 0.13 times faster than json2struct -f big_reddit_response