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

Benchmark Result

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

[info] Benchmark                   (depth)  (length)   Mode  Cnt      Score     Error  Units
[info] ArgonautDeepBench.encode        N/A       N/A  thrpt   20   3351.300 ± 160.254  ops/s
[info] ArgonautPermBench.encode         10        10  thrpt   20  37894.991 ± 461.008  ops/s
[info] ArgonautPermBench.encode         10       100  thrpt   20   3899.268 ± 118.182  ops/s
[info] ArgonautPermBench.encode        100        10  thrpt   20   3976.002 ± 175.900  ops/s
[info] ArgonautPermBench.encode        100       100  thrpt   20    349.620 ±   6.203  ops/s
[info] CirceAutoDeepBench.encode       N/A       N/A  thrpt   20   2311.897 ±  55.612  ops/s
[info] CirceAutoPermBench.encode        10        10  thrpt   20  23396.332 ± 667.542  ops/s
[info] CirceAutoPermBench.encode        10       100  thrpt   20   2291.169 ±  46.416  ops/s
[info] CirceAutoPermBench.encode       100        10  thrpt   20   2407.365 ±  65.922  ops/s
[info] CirceAutoPermBench.encode       100       100  thrpt   20    200.097 ±  10.345  ops/s
[info] CirceDeepBench.encode           N/A       N/A  thrpt   20   3310.452 ±  76.989  ops/s
[info] CircePermBench.encode            10        10  thrpt   20  35299.949 ± 581.610  ops/s
[info] CircePermBench.encode            10       100  thrpt   20   3436.291 ± 110.545  ops/s
[info] CircePermBench.encode           100        10  thrpt   20   3240.835 ± 131.905  ops/s
[info] CircePermBench.encode           100       100  thrpt   20    241.227 ±  36.926  ops/s
[info] SprayJsonDeepBench.encode       N/A       N/A  thrpt   20   3392.099 ±  88.923  ops/s
[info] SprayJsonPerfmBench.encode       10        10  thrpt   20  37944.829 ± 781.666  ops/s
[info] SprayJsonPerfmBench.encode       10       100  thrpt   20   3728.263 ± 241.435  ops/s
[info] SprayJsonPerfmBench.encode      100        10  thrpt   20   3892.665 ± 125.352  ops/s
[info] SprayJsonPerfmBench.encode      100       100  thrpt   20    305.514 ±  66.231  ops/s

Note:

  • In cases where depth and length are N/A; depth is 1000, length is 1
  • The reason why -Xss is added to the JVM option is that StackOverflowError will occur in:
    • SprayJsonDeepBench.encode
    • ArgonautDeepBench.encode
Clone this wiki locally