Skip to content

Instantly share code, notes, and snippets.

@shellac
Created June 20, 2014 16:48
Show Gist options
  • Save shellac/148c0d37dcada83d03df to your computer and use it in GitHub Desktop.
Save shellac/148c0d37dcada83d03df to your computer and use it in GitHub Desktop.
Scala benchmark results
Before
Benchmark Mode Samples Mean Mean error Units
cartBaseline avgt 10 8.188 0.067 ms/op
cartPar avgt 10 6076.148 559.259 ms/op
cartParOpt avgt 10 483.091 11.921 ms/op
cartSeq avgt 10 320.620 9.380 ms/op
cartSeqOpt avgt 10 369.548 14.823 ms/op
sumBaseline avgt 10 16.852 4.273 ms/op
sumOfSquaresBaseline avgt 10 14.663 0.569 ms/op
sumOfSquaresEvenBaseline avgt 10 22.286 0.819 ms/op
sumOfSquaresEvenPar avgt 10 10221.268 307.440 ms/op
sumOfSquaresEvenParOpt avgt 10 146.424 18.868 ms/op
sumOfSquaresEvenSeq avgt 10 585.653 17.367 ms/op
sumOfSquaresEvenSeqOpt avgt 10 146.446 5.252 ms/op
sumOfSquaresPar avgt 10 1573.581 174.305 ms/op
sumOfSquaresParOpt avgt 10 95.553 5.127 ms/op
sumOfSquaresSeq avgt 10 303.867 3.440 ms/op
sumOfSquaresSeqOpt avgt 10 93.865 2.834 ms/op
sumPar avgt 10 1365.706 10.097 ms/op
sumParOpt avgt 10 14.183 1.132 ms/op
sumSeq avgt 10 208.100 41.235 ms/op
sumSeqOpt avgt 10 15.224 1.212 ms/op
After (view removed)
Benchmark Mode Samples Mean Mean error Units
cartBaseline avgt 10 8.697 0.378 ms/op
cartPar avgt 10 5229.899 2286.031 ms/op
cartParOpt avgt 10 501.628 71.329 ms/op
cartSeq avgt 10 863.433 23.421 ms/op
cartSeqOpt avgt 10 535.136 5.651 ms/op
sumBaseline avgt 10 13.952 0.263 ms/op
sumOfSquaresBaseline avgt 10 14.601 0.522 ms/op
sumOfSquaresEvenBaseline avgt 10 22.221 0.222 ms/op
sumOfSquaresEvenPar avgt 10 3834.552 91.021 ms/op
sumOfSquaresEvenParOpt avgt 10 150.647 21.694 ms/op
sumOfSquaresEvenSeq avgt 10 581.302 7.940 ms/op
sumOfSquaresEvenSeqOpt avgt 10 201.446 7.169 ms/op
sumOfSquaresParOpt avgt 10 97.367 6.944 ms/op
sumOfSquaresSeq avgt 10 534.709 34.031 ms/op
sumOfSquaresSeqOpt avgt 10 92.712 1.651 ms/op
sumPar avgt 10 1425.958 78.963 ms/op
sumParOpt avgt 10 13.312 0.346 ms/op
sumSeq avgt 10 191.503 3.153 ms/op
sumSeqOpt avgt 10 14.253 1.018 ms/op
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment