Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

airframe-benchmark: Aggregate benchmark programs into one project #573

Merged
merged 16 commits into from Aug 4, 2019

Conversation

xerial
Copy link
Member

@xerial xerial commented Aug 4, 2019

This will show benchmark results like this: (cc: @smdmts)

$ airframe-benchmark bench json
...
Benchmark                    Mode  Cnt     Score     Error  Units
BooleanArray.airframe       thrpt   10  6761.438 ± 746.598  ops/s
BooleanArray.circe          thrpt   10  7814.689 ± 156.190  ops/s
BooleanArray.json4sJackson  thrpt   10  4542.184 ± 371.709  ops/s
DoubleArray.airframe        thrpt   10   313.818 ±  61.519  ops/s
DoubleArray.circe           thrpt   10  2292.542 ± 521.319  ops/s
DoubleArray.json4sJackson   thrpt   10   304.533 ±  45.359  ops/s
LongArray.airframe          thrpt   10   513.730 ±  39.639  ops/s
LongArray.circe             thrpt   10  1116.723 ±  91.199  ops/s
LongArray.json4sJackson     thrpt   10   509.180 ±  88.176  ops/s
StringArray.airframe        thrpt   10   292.819 ±  49.211  ops/s
StringArray.circe           thrpt   10  1255.126 ± 252.980  ops/s
StringArray.json4sJackson   thrpt   10   954.599 ± 283.134  ops/s
TwitterJSON.airframe        thrpt   10   215.399 ±  38.268  ops/s
TwitterJSON.circe           thrpt   10   635.751 ± 144.779  ops/s
TwitterJSON.json4sJackson   thrpt   10   611.935 ±  68.719  ops/s

This result tells that circe is quite fast in parsing numbers (double, long) and strings.

@codecov
Copy link

codecov bot commented Aug 4, 2019

Codecov Report

Merging #573 into master will decrease coverage by 0.8%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #573      +/-   ##
==========================================
- Coverage   83.75%   82.95%   -0.81%     
==========================================
  Files         225      226       +1     
  Lines        8245     8284      +39     
  Branches      617      609       -8     
==========================================
- Hits         6906     6872      -34     
- Misses       1339     1412      +73
Impacted Files Coverage Δ
.../airframe/benchmark/msgpack/MsgpackBenchmark.scala 0% <ø> (ø)
...scala/wvlet/airframe/benchmark/BenchmarkMain.scala 0% <0%> (ø)
.../wvlet/airframe/benchmark/json/JSONBenchmark.scala 0% <0%> (ø)
...cala/wvlet/airframe/msgpack/spi/OffsetPacker.scala 98.11% <0%> (+2.51%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6f20a16...2a0c946. Read the comment docs.

@xerial xerial merged commit 67656ba into wvlet:master Aug 4, 2019
@xerial xerial deleted the bench branch August 4, 2019 23:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant