Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: improve float decoding layout, add more float benchmarks #41

Merged
merged 2 commits into from
Mar 18, 2022

Commits on Mar 18, 2022

  1. Configuration menu
    Copy the full SHA
    fbc62c5 View commit details
    Browse the repository at this point in the history
  2. feat: improve decoding layout, reduce bound checks

    name                                old time/op    new time/op    delta
    Decoder_Float64/floats.json-4         3.17µs ± 4%    2.96µs ± 1%   -6.66%  (p=0.000 n=23+25)
    Decoder_Float64/slow_floats.json-4    21.2µs ± 2%    20.8µs ± 2%   -1.93%  (p=0.000 n=23+25)
    Decoder_Float64/integers.json-4       4.32µs ± 2%    3.85µs ± 4%  -10.92%  (p=0.000 n=24+25)
    tdakkota committed Mar 18, 2022
    Configuration menu
    Copy the full SHA
    9f27e28 View commit details
    Browse the repository at this point in the history