Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
# p5-xslate (cache DISABLED)
iter (10)
* Elapsed: 0.077450 seconds
* Secs per iter: 0.007745 secs/iter
* Iter per sec: 129.115558 iter/sec
iter (100)
* Elapsed: 0.175402 seconds
* Secs per iter: 0.001754 secs/iter
* Iter per sec: 570.118927 iter/sec
iter (1000)
* Elapsed: 0.999477 seconds
* Secs per iter: 0.000999 secs/iter
* Iter per sec: 1000.523274 iter/sec
iter (10000)
* Elapsed: 9.199943 seconds
* Secs per iter: 0.000920 secs/iter
* Iter per sec: 1086.963256 iter/sec
====
# go-xslate (cache DISABLED)
iter (10)
* Elapsed 0.002632 secs
* Secs per iter: 0.000263 sec/iter
* Iter per sec: 3799.784780 iter/sec
iter (100)
* Elapsed 0.031196 secs
* Secs per iter: 0.000312 sec/iter
* Iter per sec: 3205.513483 iter/sec
iter (1000)
* Elapsed 0.377043 secs
* Secs per iter: 0.000377 sec/iter
* Iter per sec: 2652.220460 iter/sec
iter (10000)
* Elapsed 2.652745 secs
* Secs per iter: 0.000265 sec/iter
* Iter per sec: 3769.680170 iter/sec
====
# p5-xslate (cache ENABLED)
iter (10)
* Elapsed: 0.074911 seconds
* Secs per iter: 0.007491 secs/iter
* Iter per sec: 133.491744 iter/sec
iter (100)
* Elapsed: 0.001479 seconds
* Secs per iter: 0.000015 secs/iter
* Iter per sec: 67613.252197 iter/sec
iter (1000)
* Elapsed: 0.007813 seconds
* Secs per iter: 0.000008 secs/iter
* Iter per sec: 127991.808524 iter/sec
iter (10000)
* Elapsed: 0.055701 seconds
* Secs per iter: 0.000006 secs/iter
* Iter per sec: 179529.990485 iter/sec
====
# go-xslate (cache ENABLED)
iter (10)
* Elapsed 0.001006 secs
* Secs per iter: 0.000101 sec/iter
* Iter per sec: 9939.192023 iter/sec
iter (100)
* Elapsed 0.001514 secs
* Secs per iter: 0.000015 sec/iter
* Iter per sec: 66054.561067 iter/sec
iter (1000)
* Elapsed 0.006032 secs
* Secs per iter: 0.000006 sec/iter
* Iter per sec: 165779.332788 iter/sec
iter (10000)
* Elapsed 0.066621 secs
* Secs per iter: 0.000007 sec/iter
* Iter per sec: 150101.880901 iter/sec
====
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment