Last active
June 22, 2016 08:00
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Benchmark | |
public long adler32(){ | |
adler.update(buffer); | |
return adler.getValue(); | |
} | |
# Benchmark (size) Mode Cnt Score Error Units | |
adler32 1000 avgt 50 1003.068 ± 4.994 ns/op | |
# Flat Profile (by line): | |
(t 98.9,s 98.9) java.util.zip.Adler32::updateBytes @ (bci=-3,line=-100) | |
(t 0.3,s 0.3) AGCT::Unknown not Java[ERR=-3] @ (bci=-1,line=-100) | |
(t 0.1,s 0.1) AGCT::Unknown Java[ERR=-5] @ (bci=-1,line=-100) | |
(t 0.1,s 0.1) adler32_avgt_jmhStub @ (bci=32,line=165) | |
(t 0.1,s 0.1) adler32 @ (bci=5,line=3) | |
@Benchmark | |
public long crc32(){ | |
crc.update(buffer); | |
return crc.getValue(); | |
} | |
# Benchmark (size) Mode Cnt Score Error Units | |
crc32 1000 avgt 50 134.341 ± 0.698 ns/op | |
# Flat Profile (by line): | |
(t 96.7,s 96.7) AGCT::Unknown Java[ERR=-5] @ (bci=-1,line=-100) | |
(t 1.4,s 0.6) crc32_avgt_jmhStub @ (bci=19,line=163) | |
(t 0.3,s 0.3) AGCT::Unknown not Java[ERR=-3] @ (bci=-1,line=-100) | |
(t 0.3,s 0.3) crc32_avgt_jmhStub @ (bci=29,line=165) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment