* cache the stash capacity config value
BEFORE
[info] Result "testCustom":
[info] 27.607 ±(99.9%) 7.924 us/op [Average]
[info] (min, avg, max) = (16.928, 27.607, 760217.600), stdev = 1369.808
[info] CI (99.9%): [19.682, 35.531] (assumes normal distribution)
[info] Samples, N = 323534
[info] mean = 27.607 ±(99.9%) 7.924 us/op
[info] min = 16.928 us/op
[info] p( 0.0000) = 16.928 us/op
[info] p(50.0000) = 21.824 us/op
[info] p(90.0000) = 31.680 us/op
[info] p(95.0000) = 38.592 us/op
[info] p(99.0000) = 57.920 us/op
[info] p(99.9000) = 102.144 us/op
[info] p(99.9900) = 371.471 us/op
[info] p(99.9990) = 85461.364 us/op
[info] p(99.9999) = 760217.600 us/op
[info] max = 760217.600 us/op
[info] Result "testDefault":
[info] 26.465 ±(99.9%) 15.980 us/op [Average]
[info] (min, avg, max) = (14.608, 26.465, 1461714.944), stdev = 2900.094
[info] CI (99.9%): [10.485, 42.444] (assumes normal distribution)
[info] Samples, N = 356626
[info] mean = 26.465 ±(99.9%) 15.980 us/op
[info] min = 14.608 us/op
[info] p( 0.0000) = 14.608 us/op
[info] p(50.0000) = 18.304 us/op
[info] p(90.0000) = 22.816 us/op
[info] p(95.0000) = 26.976 us/op
[info] p(99.0000) = 41.647 us/op
[info] p(99.9000) = 71.808 us/op
[info] p(99.9900) = 139.696 us/op
[info] p(99.9990) = 33048.112 us/op
[info] p(99.9999) = 1461714.944 us/op
[info] max = 1461714.944 us/op
[info] Benchmark Mode Cnt Score Error Units
[info] StashCreationBenchmark.testCustom sample 323534 27.607 ± 7.924 us/op
[info] StashCreationBenchmark.testDefault sample 356626 26.465 ± 15.980 us/op
AFTER:
[info] Result "testCustom":
[info] 22.710 ±(99.9%) 1.384 us/op [Average]
[info] (min, avg, max) = (15.168, 22.710, 110886.912), stdev = 233.744
[info] CI (99.9%): [21.326, 24.094] (assumes normal distribution)
[info] Samples, N = 308896
[info] mean = 22.710 ±(99.9%) 1.384 us/op
[info] min = 15.168 us/op
[info] p( 0.0000) = 15.168 us/op
[info] p(50.0000) = 19.776 us/op
[info] p(90.0000) = 28.608 us/op
[info] p(95.0000) = 33.344 us/op
[info] p(99.0000) = 49.216 us/op
[info] p(99.9000) = 90.253 us/op
[info] p(99.9900) = 594.334 us/op
[info] p(99.9990) = 8350.329 us/op
[info] p(99.9999) = 110886.912 us/op
[info] max = 110886.912 us/op
[info] Result "testDefault":
[info] 19.099 ±(99.9%) 0.424 us/op [Average]
[info] (min, avg, max) = (13.120, 19.099, 45940.736), stdev = 77.524
[info] CI (99.9%): [18.675, 19.523] (assumes normal distribution)
[info] Samples, N = 361741
[info] mean = 19.099 ±(99.9%) 0.424 us/op
[info] min = 13.120 us/op
[info] p( 0.0000) = 13.120 us/op
[info] p(50.0000) = 16.368 us/op
[info] p(90.0000) = 24.250 us/op
[info] p(95.0000) = 31.232 us/op
[info] p(99.0000) = 55.680 us/op
[info] p(99.9000) = 121.249 us/op
[info] p(99.9900) = 402.386 us/op
[info] p(99.9990) = 1767.264 us/op
[info] p(99.9999) = 45940.736 us/op
[info] max = 45940.736 us/op
[info]
[info]
[info] # Run complete. Total time: 00:02:01
[info]
[info] Benchmark Mode Cnt Score Error Units
[info] StashCreationBenchmark.testCustom sample 308896 22.710 ± 1.384 us/op
[info] StashCreationBenchmark.testDefault sample 361741 19.099 ± 0.424 us/op
|
||
|---|---|---|
| akka-actor | ||
| akka-actor-tests | ||
| akka-agent | ||
| akka-bench-jmh | ||
| akka-camel | ||
| akka-cluster | ||
| akka-cluster-metrics | ||
| akka-cluster-sharding | ||
| akka-cluster-tools | ||
| akka-contrib | ||
| akka-distributed-data | ||
| akka-docs | ||
| akka-kernel | ||
| akka-multi-node-testkit | ||
| akka-osgi | ||
| akka-persistence | ||
| akka-persistence-query | ||
| akka-persistence-tck | ||
| akka-protobuf | ||
| akka-remote | ||
| akka-remote-tests | ||
| akka-samples | ||
| akka-slf4j | ||
| akka-stream/src | ||
| akka-testkit | ||
| akka-typed | ||
| project | ||
| scripts | ||
| src/main/ls | ||
| .gitignore | ||
| .java-version | ||
| build.sbt | ||
| CONTRIBUTING.md | ||
| COPYING.protobuf | ||
| LICENSE | ||
| README.md | ||
Akka
We believe that writing correct concurrent & distributed, resilient and elastic applications is too hard. Most of the time it's because we are using the wrong tools and the wrong level of abstraction.
Akka is here to change that.
Using the Actor Model we raise the abstraction level and provide a better platform to build correct concurrent and scalable applications.
For resilience we adopt the "Let it crash" model which the telecom industry has used with great success to build applications that self-heal and systems that never stop.
Actors also provide the abstraction for transparent distribution and the basis for truly scalable and fault-tolerant applications.
Akka is Open Source and available under the Apache 2 License.
Learn more at akka.io. Join the akka-user mailing list. Follow @akkateam on twitter.