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

More benchmarks #43

Merged
merged 1 commit into from
Feb 9, 2024
Merged

More benchmarks #43

merged 1 commit into from
Feb 9, 2024

Conversation

adamw
Copy link
Member

@adamw adamw commented Feb 9, 2024

Closes #31

Copy link

github-actions bot commented Feb 9, 2024

Benchmark results
Java:
(capacity)  (chainLength)  (parallelism)  Mode  Cnt     Score     Error  Units
BufferedBenchmark.arrayBlockingQueue             1            N/A            N/A  avgt    5  1181.017 ± 563.426  ns/op
BufferedBenchmark.arrayBlockingQueue            10            N/A            N/A  avgt    5   182.689 ±  58.820  ns/op
BufferedBenchmark.arrayBlockingQueue           100            N/A            N/A  avgt    5   117.227 ±   5.016  ns/op
BufferedBenchmark.channel                        1            N/A            N/A  avgt    5   208.738 ±  25.142  ns/op
BufferedBenchmark.channel                       10            N/A            N/A  avgt    5   192.283 ±  42.503  ns/op
BufferedBenchmark.channel                      100            N/A            N/A  avgt    5   157.205 ±  41.789  ns/op
ChainedBenchmark.channelChain                    0          10000            N/A  avgt    5  1016.388 ±  12.001  ns/op
ChainedBenchmark.channelChain                  100          10000            N/A  avgt    5    31.262 ±   1.592  ns/op
ChainedBenchmark.queueChain                      0          10000            N/A  avgt    5   116.095 ±  44.358  ns/op
ChainedBenchmark.queueChain                    100          10000            N/A  avgt    5     9.443 ±   0.425  ns/op
ParallelBenchmark.parallelChannels               0            N/A          10000  avgt    5  1007.794 ±  17.096  ns/op
ParallelBenchmark.parallelChannels             100            N/A          10000  avgt    5    38.703 ±   5.037  ns/op
ParallelBenchmark.parallelQueues                 0            N/A          10000  avgt    5   127.501 ±  42.614  ns/op
ParallelBenchmark.parallelQueues               100            N/A          10000  avgt    5    12.978 ±   0.351  ns/op
RendezvousBenchmark.channel                    N/A            N/A            N/A  avgt    5   172.699 ±  38.941  ns/op
RendezvousBenchmark.exchanger                  N/A            N/A            N/A  avgt    5    91.326 ±  15.395  ns/op
RendezvousBenchmark.synchronousQueue           N/A            N/A            N/A  avgt    5   588.059 ± 129.786  ns/op
SelectBenchmark.selectWithSingleClause         N/A            N/A            N/A  avgt    5   238.606 ± 121.213  ns/op
SelectBenchmark.selectWithTwoClauses           N/A            N/A            N/A  avgt    5   196.720 ±  23.266  ns/op

Kotlin:
(capacity)  (chainLength)  (parallelism)  Mode  Cnt    Score     Error  Units
BufferedKotlinBenchmark.channel_defaultDispatcher                        1            N/A            N/A  avgt    5  109.364 ±   6.848  ns/op
BufferedKotlinBenchmark.channel_defaultDispatcher                       10            N/A            N/A  avgt    5   49.622 ±   1.733  ns/op
BufferedKotlinBenchmark.channel_defaultDispatcher                      100            N/A            N/A  avgt    5   33.523 ±   1.349  ns/op
ChainedKotlinBenchmark.channelChain_defaultDispatcher                    0          10000            N/A  avgt    5   59.941 ±   1.831  ns/op
ChainedKotlinBenchmark.channelChain_defaultDispatcher                  100          10000            N/A  avgt    5   15.603 ±   0.501  ns/op
ChainedKotlinBenchmark.channelChain_eventLoop                            0          10000            N/A  avgt    5   94.362 ±   2.357  ns/op
ChainedKotlinBenchmark.channelChain_eventLoop                          100          10000            N/A  avgt    5   31.214 ±   0.607  ns/op
ParallelKotlinBenchmark.parallelChannels_defaultDispatcher               0            N/A          10000  avgt    5   84.981 ±   8.845  ns/op
ParallelKotlinBenchmark.parallelChannels_defaultDispatcher             100            N/A          10000  avgt    5   16.244 ±   0.529  ns/op
RendezvousKotlinBenchmark.channel_defaultDispatcher                    N/A            N/A            N/A  avgt    5  137.575 ±   3.920  ns/op
SelectKotlinBenchmark.selectWithSingleClause_defaultDispatcher         N/A            N/A            N/A  avgt    5  262.929 ±   2.724  ns/op
SelectKotlinBenchmark.selectWithTwoClauses_defaultDispatcher           N/A            N/A            N/A  avgt    5  375.151 ± 117.087  ns/op

@adamw adamw merged commit a571370 into main Feb 9, 2024
4 checks passed
@adamw adamw deleted the better-bench-2 branch February 9, 2024 15:36
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.

Improve performance tests
1 participant