Skip to content

Benchmarks

Patrick Favre-Bulle edited this page Aug 13, 2018 · 8 revisions

Base64

i7 7700K

# JMH version: 1.21
# VM version: JDK 1.8.0_172, Java HotSpot(TM) 64-Bit Server VM, 25.172-b11
# Warmup: 3 iterations, 5 s each
# Measurement: 5 iterations, 10 s each
# Timeout: 10 min per iteration
# Threads: 1 thread, will synchronize iterations
# Benchmark mode: Throughput, ops/time
# i7 7700K / 24G

Benchmark                                (byteLength)   Mode  Cnt         Score         Error  Units
EncodingJmhBenchmark.encodeBase64Apache             1  thrpt    5   1297266,328 ±   61116,804  ops/s
EncodingJmhBenchmark.encodeBase64Apache            16  thrpt    5   1056858,194 ±    7461,885  ops/s
EncodingJmhBenchmark.encodeBase64Apache            32  thrpt    5    954094,951 ±    3136,270  ops/s
EncodingJmhBenchmark.encodeBase64Apache           128  thrpt    5    468232,651 ±    5048,887  ops/s
EncodingJmhBenchmark.encodeBase64Apache           512  thrpt    5    172531,286 ±     245,013  ops/s
EncodingJmhBenchmark.encodeBase64Apache       1000000  thrpt    5       103,087 ±       3,337  ops/s
EncodingJmhBenchmark.encodeBase64Guava              1  thrpt    5  11002948,283 ±  169824,621  ops/s
EncodingJmhBenchmark.encodeBase64Guava             16  thrpt    5   5913773,838 ± 1325928,016  ops/s
EncodingJmhBenchmark.encodeBase64Guava             32  thrpt    5   3889880,234 ±    2645,940  ops/s
EncodingJmhBenchmark.encodeBase64Guava            128  thrpt    5   1384219,040 ±     875,886  ops/s
EncodingJmhBenchmark.encodeBase64Guava            512  thrpt    5    353941,696 ±     819,812  ops/s
EncodingJmhBenchmark.encodeBase64Guava        1000000  thrpt    5       231,455 ±       3,512  ops/s
EncodingJmhBenchmark.encodeBase64Okio               1  thrpt    5  13084374,064 ±  246539,284  ops/s
EncodingJmhBenchmark.encodeBase64Okio              16  thrpt    5   7027920,279 ±   27967,718  ops/s
EncodingJmhBenchmark.encodeBase64Okio              32  thrpt    5   4443578,039 ±   79154,630  ops/s
EncodingJmhBenchmark.encodeBase64Okio             128  thrpt    5   1683533,602 ±  148071,233  ops/s
EncodingJmhBenchmark.encodeBase64Okio             512  thrpt    5    240511,696 ±   16668,015  ops/s
EncodingJmhBenchmark.encodeBase64Okio         1000000  thrpt    5       115,156 ±       8,894  ops/s
Clone this wiki locally