Skip to content

Benchmarks

Patrick Favre-Bulle edited this page Aug 15, 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

EncodingJmhBenchmark.encodeBase64Apache              1  thrpt    5   1318131,937 ±   16339,198  ops/s
EncodingJmhBenchmark.encodeBase64Apache             16  thrpt    5   1069180,566 ±    1174,315  ops/s
EncodingJmhBenchmark.encodeBase64Apache             32  thrpt    5    952877,557 ±    1034,081  ops/s
EncodingJmhBenchmark.encodeBase64Apache            128  thrpt    5    470671,111 ±    3890,514  ops/s
EncodingJmhBenchmark.encodeBase64Apache            512  thrpt    5    172110,829 ±     213,959  ops/s
EncodingJmhBenchmark.encodeBase64Apache        1000000  thrpt    5       102,850 ±       3,624  ops/s
EncodingJmhBenchmark.encodeBase64Guava               1  thrpt    5  10807902,000 ±  909701,319  ops/s
EncodingJmhBenchmark.encodeBase64Guava              16  thrpt    5   5703135,415 ±    7063,849  ops/s
EncodingJmhBenchmark.encodeBase64Guava              32  thrpt    5   3875269,919 ±    5242,293  ops/s
EncodingJmhBenchmark.encodeBase64Guava             128  thrpt    5   1378103,987 ±    1333,459  ops/s
EncodingJmhBenchmark.encodeBase64Guava             512  thrpt    5    346530,050 ±     407,467  ops/s
EncodingJmhBenchmark.encodeBase64Guava         1000000  thrpt    5       232,082 ±       4,882  ops/s
EncodingJmhBenchmark.encodeBase64Okio                1  thrpt    5  14068294,672 ± 3751801,084  ops/s
EncodingJmhBenchmark.encodeBase64Okio               16  thrpt    5   6973717,092 ±   97091,658  ops/s
EncodingJmhBenchmark.encodeBase64Okio               32  thrpt    5   4641793,472 ±  107239,983  ops/s
EncodingJmhBenchmark.encodeBase64Okio              128  thrpt    5   1771447,895 ±   28595,096  ops/s
EncodingJmhBenchmark.encodeBase64Okio              512  thrpt    5    276164,010 ±    6808,837  ops/s
EncodingJmhBenchmark.encodeBase64Okio          1000000  thrpt    5       102,610 ±       5,899  ops/s
EncodingJmhBenchmark.encodeBase64OpenJdk             1  thrpt    5  11713907,451 ± 1928162,113  ops/s
EncodingJmhBenchmark.encodeBase64OpenJdk            16  thrpt    5   6816928,904 ±   30601,543  ops/s
EncodingJmhBenchmark.encodeBase64OpenJdk            32  thrpt    5   5087048,151 ±   14096,769  ops/s
EncodingJmhBenchmark.encodeBase64OpenJdk           128  thrpt    5   1905604,168 ±   40709,235  ops/s
EncodingJmhBenchmark.encodeBase64OpenJdk           512  thrpt    5    568632,043 ±     428,865  ops/s
EncodingJmhBenchmark.encodeBase64OpenJdk       1000000  thrpt    5       270,155 ±      29,743  ops/s
Benchmark                                     (byteLength)   Mode  Cnt        Score       Error  Units
EncodingJmhBenchmark.decodeOnlyBase64Okio              512  thrpt    3   275981,072 ±  4374,638  ops/s
EncodingJmhBenchmark.decodeOnlyBase64Okio          1000000  thrpt    3      130,277 ±     5,843  ops/s
EncodingJmhBenchmark.decodeOnlyBase64OpenJdk           512  thrpt    3   920051,263 ± 17679,192  ops/s
EncodingJmhBenchmark.decodeOnlyBase64OpenJdk       1000000  thrpt    3      424,115 ±     8,624  ops/s
EncodingJmhBenchmark.encodeOnlyBase64Okio              512  thrpt    3   973920,818 ± 23511,284  ops/s
EncodingJmhBenchmark.encodeOnlyBase64Okio          1000000  thrpt    3      485,362 ±    10,893  ops/s
EncodingJmhBenchmark.encodeOnlyBase64OpenJdk           512  thrpt    3  1345013,354 ± 49538,081  ops/s
EncodingJmhBenchmark.encodeOnlyBase64OpenJdk       1000000  thrpt    3      751,239 ±    64,040  ops/s
Clone this wiki locally