Skip to content
Takeru Sato edited this page May 14, 2018 · 17 revisions

Benchmark Result

sbt:json-bench> jmh:run -jvmArgs "-XX:+UseG1GC -XX:MaxGCPauseMillis=256 -XX:MaxMetaspaceSize=1g -XX:MetaspaceSize=500m -Xms4g -Xmx4g -Xss2m"

[info] Benchmark                   (depth)  (length)   Mode  Cnt      Score      Error  Units
[info] ArgonautDeepBench.encode       1000         1  thrpt   20   1342.336 ±   65.433  ops/s
[info] ArgonautPermBench.encode         10        10  thrpt   20  15751.968 ±  993.747  ops/s
[info] ArgonautPermBench.encode         10       100  thrpt   20   1539.233 ±   49.267  ops/s
[info] ArgonautPermBench.encode        100        10  thrpt   20   1635.837 ±   30.941  ops/s
[info] ArgonautPermBench.encode        100       100  thrpt   20    124.141 ±    8.240  ops/s
[info] CirceAutoDeepBench.encode      1000         1  thrpt   20   2217.918 ±   55.691  ops/s
[info] CirceAutoPermBench.encode        10        10  thrpt   20  24101.273 ± 1092.579  ops/s
[info] CirceAutoPermBench.encode        10       100  thrpt   20   2281.359 ±   58.684  ops/s
[info] CirceAutoPermBench.encode       100        10  thrpt   20   2188.101 ±   54.628  ops/s
[info] CirceAutoPermBench.encode       100       100  thrpt   20    203.797 ±   12.690  ops/s
[info] CirceDeepBench.encode          1000         1  thrpt   20   3243.118 ±  378.823  ops/s
[info] CircePermBench.encode            10        10  thrpt   20  35606.267 ± 1898.693  ops/s
[info] CircePermBench.encode            10       100  thrpt   20   3359.311 ±  350.039  ops/s
[info] CircePermBench.encode           100        10  thrpt   20   2916.008 ±  115.606  ops/s
[info] CircePermBench.encode           100       100  thrpt   20    277.054 ±   17.109  ops/s
[info] SprayJsonDeepBench.encode      1000         1  thrpt   20   3210.575 ±   73.621  ops/s
[info] SprayJsonPerfmBench.encode       10        10  thrpt   20  36544.850 ± 2567.445  ops/s
[info] SprayJsonPerfmBench.encode       10       100  thrpt   20   3335.462 ±  385.273  ops/s
[info] SprayJsonPerfmBench.encode      100        10  thrpt   20   3257.553 ±  224.416  ops/s
[info] SprayJsonPerfmBench.encode      100       100  thrpt   20    240.800 ±   34.720  ops/s
[info] UPickleDeepBench.encode        1000         1  thrpt   20   3053.355 ±  314.408  ops/s
[info] UPicklePermBench.encode          10        10  thrpt   20  32448.113 ± 6465.535  ops/s
[info] UPicklePermBench.encode          10       100  thrpt   20   3105.035 ±  558.569  ops/s
[info] UPicklePermBench.encode         100        10  thrpt   20   3294.521 ±  542.620  ops/s
[info] UPicklePermBench.encode         100       100  thrpt   20    356.482 ±   19.826  ops/s

Note:

  • The reason why -Xss is added to the JVM option is that StackOverflowError will occur in:
    • SprayJsonDeepBench.encode
    • ArgonautDeepBench.encode
    • UPickleDeepBench.encode
Clone this wiki locally