Created
January 16, 2015 14:40
-
-
Save plokhotnyuk/0b470f482152e2b7315d to your computer and use it in GitHub Desktop.
Comparison of versions of the Minimalist Actor in common env. with batch set to 1 for original (https://gist.github.com/viktorklang/2362563) and upgraded (https://github.com/plokhotnyuk/actors/blob/e0e417cecc0388bdf6e851765cfc7ba463b479a1/src/test/scala/com/github/gist/viktorklang/Actor.scala)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Executor service type: akka-forkjoin-pool | |
Enqueueing: | |
40,000,000 ops | |
1,224,743,717 ns | |
32,659,894 ops/s | |
25.5 % of CPU usage | |
24 bytes per instance | |
Dequeueing: | |
40,000,000 ops | |
6,494,984,298 ns | |
6,158,598 ops/s | |
97.9 % of CPU usage | |
Initiation: | |
1,000,000 ops | |
286,694,094 ns | |
286 ns/op | |
95.2 % of CPU usage | |
152 bytes per instance | |
Single-producer sending: | |
15,000,000 ops | |
2,842,341,488 ns | |
5,277,339 ops/s | |
98.7 % of CPU usage | |
Multi-producer sending: | |
15,000,000 ops | |
3,294,374,892 ns | |
4,553,215 ops/s | |
98.1 % of CPU usage | |
Max throughput: | |
30,000,000 ops | |
1,863,407,511 ns | |
16,099,537 ops/s | |
97.7 % of CPU usage | |
Ping latency: | |
3,000,000 ops | |
736,409,880 ns | |
245 ns/op | |
93.7 % of CPU usage | |
Ping throughput 10K: | |
6,000,000 ops | |
341,619,774 ns | |
17,563,386 ops/s | |
91.3 % of CPU usageEmpty test suite. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Executor service type: akka-forkjoin-pool | |
Enqueueing: | |
40,000,000 ops | |
663,763,565 ns | |
60,262,421 ops/s | |
24.7 % of CPU usage | |
24 bytes per instance | |
Dequeueing: | |
40,000,000 ops | |
5,152,650,507 ns | |
7,762,994 ops/s | |
97.9 % of CPU usage | |
Initiation: | |
1,000,000 ops | |
233,998,062 ns | |
233 ns/op | |
81.7 % of CPU usage | |
40 bytes per instance | |
Single-producer sending: | |
15,000,000 ops | |
2,067,934,106 ns | |
7,253,616 ops/s | |
96.6 % of CPU usage | |
Multi-producer sending: | |
15,000,000 ops | |
2,051,130,549 ns | |
7,313,040 ops/s | |
93.0 % of CPU usage | |
Max throughput: | |
30,000,000 ops | |
1,072,916,819 ns | |
27,961,161 ops/s | |
96.7 % of CPU usage | |
Ping latency: | |
3,000,000 ops | |
421,452,061 ns | |
140 ns/op | |
87.0 % of CPU usage | |
Ping throughput 10K: | |
6,000,000 ops | |
238,938,991 ns | |
25,111,012 ops/s | |
89.8 % of CPU usageEmpty test suite. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment