Skip to content

Instantly share code, notes, and snippets.

@jayhuang75
Created April 30, 2022 13:24
Show Gist options
  • Save jayhuang75/40c559e84de79abc0390231581082a4c to your computer and use it in GitHub Desktop.
Save jayhuang75/40c559e84de79abc0390231581082a4c to your computer and use it in GitHub Desktop.
rust-velocity-limit-buffered-bench
Benchmark 1: ./rust-velocity-limit
Time (mean ± σ): 7.3 ms ± 0.6 ms [User: 4.2 ms, System: 1.6 ms]
Range (min … max): 5.4 ms … 11.8 ms 234 runs
Benchmark 2: ./go-velocity-limit
Time (mean ± σ): 9.6 ms ± 0.5 ms [User: 11.5 ms, System: 6.1 ms]
Range (min … max): 8.8 ms … 11.6 ms 216 runs
Summary
'./rust-velocity-limit' ran
1.32 ± 0.12 times faster than './go-velocity-limit'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment