I hereby claim:
- I am marshallpierce on github.
- I am marshallpierce (https://keybase.io/marshallpierce) on keybase.
- I have a public key whose fingerprint is 9FBA EF9A E02A CAFE 27ED A945 D8DA AC38 DD8B 205F
To claim this, I am signing this object:
Groovy Shell (2.2.1, JVM: 1.8.0) | |
Type 'help' or '\h' for help. | |
------------------- | |
------------------------------------------------------------ | |
groovy:000> | |
groovy:0 | |
00> | |
I hereby claim:
To claim this, I am signing this object:
Reproducible with https://bitbucket.org/marshallpierce/hdrhistogram-metrics-reservoir @ 1b9d9bc with './gradlew jmh' | |
# VM invoker: /Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/bin/java | |
# VM options: -Dfile.encoding=UTF-8 -Duser.country=US -Duser.language=en -Duser.variant | |
# Warmup: 20 iterations, 1 s each | |
# Measurement: 20 iterations, 1 s each | |
# Timeout: 10 min per iteration | |
# Threads: 3 threads, will synchronize iterations | |
# Benchmark mode: Throughput, ops/time | |
# Benchmark: org.mpierce.metrics.reservoir.hdrhistogram.HdrHistogramReservoirJmh.readWhileRecording |
Comparing https://github.com/marshallpierce/rust-base64/tree/perf-optimization to https://github.com/aklomp/base64.
All tests are on an i7-6850K.
f17906e 4 bytes at a time, read individually
test decode_100b ... bench: 154 ns/iter (+/- 0) = 649 MB/s
test decode_100b_reuse_buf ... bench: 128 ns/iter (+/- 0) = 781 MB/s
test decode_10mib ... bench: 14,392,694 ns/iter (+/- 177,189) = 728 MB/s
temporenc v1:
100YYYYY YYYYYYYM MMMDDDDD
YYYYYYYY YYYYMMMM DDDDD111