Skip to content

Instantly share code, notes, and snippets.

@ghatighorias
Created January 30, 2017 15:14
Show Gist options
  • Save ghatighorias/52c7f154bfa0378746fc5b128bea4b0e to your computer and use it in GitHub Desktop.
Save ghatighorias/52c7f154bfa0378746fc5b128bea4b0e to your computer and use it in GitHub Desktop.
Settings:
duration: 1.0 s
## BigBench
[13:24:55] 1/12: body-recursive
[13:24:58] 2/12: std-lib map
[13:25:01] 3/12: tail-recursive
## MediumBench
[13:25:04] 4/12: body-recursive
[13:25:06] 5/12: std-lib map
[13:25:09] 6/12: tail-recursive
## SmallBench
[13:25:11] 7/12: body-recursive
[13:25:14] 8/12: std-lib map
[13:25:17] 9/12: tail-recursive
## VerybigBench
[13:25:21] 10/12: body-recursive
[13:25:23] 11/12: std-lib map
[13:25:25] 12/12: tail-recursive
Finished in 33.57 seconds
## BigBench
benchmark name iterations average time
tail-recursive 50 41635.36 µs/op
std-lib map 20 91410.20 µs/op
body-recursive 20 95033.65 µs/op
## MediumBench
benchmark name iterations average time
std-lib map 1000 2714.90 µs/op
body-recursive 500 2903.12 µs/op
tail-recursive 500 3281.29 µs/op
## SmallBench
benchmark name iterations average time
std-lib map 10000 247.41 µs/op
body-recursive 10000 258.83 µs/op
tail-recursive 10000 296.26 µs/op
## VerybigBench
benchmark name iterations average time
tail-recursive 5 303154.00 µs/op
std-lib map 2 554579.50 µs/op
body-recursive 2 568096.50 µs/op
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment