From 0c9d939f4285b73f755c110c52492faa055aa69c Mon Sep 17 00:00:00 2001 From: github-action-benchmark Date: Mon, 22 Jan 2024 16:58:25 +0000 Subject: [PATCH] add Benchmark (jmh) benchmark result for 9c43ed00e2adb6eb0d059737b16ad333c45acd82 --- docs/bench/data.js | 272 ++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 271 insertions(+), 1 deletion(-) diff --git a/docs/bench/data.js b/docs/bench/data.js index e9934db..02d97f9 100644 --- a/docs/bench/data.js +++ b/docs/bench/data.js @@ -1,5 +1,5 @@ window.BENCHMARK_DATA = { - "lastUpdate": 1704817875753, + "lastUpdate": 1705942705921, "repoUrl": "https://github.com/softwaremill/jox", "entries": { "Benchmark": [ @@ -2192,6 +2192,276 @@ window.BENCHMARK_DATA = { "extra": "iterations: 5\nforks: 1\nthreads: 1" } ] + }, + { + "commit": { + "author": { + "email": "adam@warski.org", + "name": "Adam Warski", + "username": "adamw" + }, + "committer": { + "email": "noreply@github.com", + "name": "GitHub", + "username": "web-flow" + }, + "distinct": true, + "id": "9c43ed00e2adb6eb0d059737b16ad333c45acd82", + "message": "Separate Sink, Source & CloseableChannel interfaces (#32)", + "timestamp": "2024-01-22T17:41:50+01:00", + "tree_id": "76030baf101dee3143835d38be31b58d330a2c7e", + "url": "https://github.com/softwaremill/jox/commit/9c43ed00e2adb6eb0d059737b16ad333c45acd82" + }, + "date": 1705942705906, + "tool": "jmh", + "benches": [ + { + "name": "com.softwaremill.jox.BufferedBenchmark.arrayBlockingQueue ( {\"capacity\":\"1\"} )", + "value": 1074.4888314, + "unit": "ns/op", + "extra": "iterations: 5\nforks: 1\nthreads: 1" + }, + { + "name": "com.softwaremill.jox.BufferedBenchmark.arrayBlockingQueue ( {\"capacity\":\"10\"} )", + "value": 226.92259171999999, + "unit": "ns/op", + "extra": "iterations: 5\nforks: 1\nthreads: 1" + }, + { + "name": "com.softwaremill.jox.BufferedBenchmark.arrayBlockingQueue ( {\"capacity\":\"100\"} )", + "value": 114.75403267333334, + "unit": "ns/op", + "extra": "iterations: 5\nforks: 1\nthreads: 1" + }, + { + "name": "com.softwaremill.jox.BufferedBenchmark.channel ( {\"capacity\":\"1\"} )", + "value": 207.9576298, + "unit": "ns/op", + "extra": "iterations: 5\nforks: 1\nthreads: 1" + }, + { + "name": "com.softwaremill.jox.BufferedBenchmark.channel ( {\"capacity\":\"10\"} )", + "value": 194.61196628000002, + "unit": "ns/op", + "extra": "iterations: 5\nforks: 1\nthreads: 1" + }, + { + "name": "com.softwaremill.jox.BufferedBenchmark.channel ( {\"capacity\":\"100\"} )", + "value": 145.0211319714286, + "unit": "ns/op", + "extra": "iterations: 5\nforks: 1\nthreads: 1" + }, + { + "name": "com.softwaremill.jox.ChainedBenchmark.channelChain ( {\"capacity\":\"0\",\"chainLength\":\"100\"} )", + "value": 1009.6290988200001, + "unit": "ns/op", + "extra": "iterations: 5\nforks: 1\nthreads: 1" + }, + { + "name": "com.softwaremill.jox.ChainedBenchmark.channelChain ( {\"capacity\":\"0\",\"chainLength\":\"1000\"} )", + "value": 1027.66302218, + "unit": "ns/op", + "extra": "iterations: 5\nforks: 1\nthreads: 1" + }, + { + "name": "com.softwaremill.jox.ChainedBenchmark.channelChain ( {\"capacity\":\"0\",\"chainLength\":\"10000\"} )", + "value": 1021.99670476, + "unit": "ns/op", + "extra": "iterations: 5\nforks: 1\nthreads: 1" + }, + { + "name": "com.softwaremill.jox.ChainedBenchmark.channelChain ( {\"capacity\":\"100\",\"chainLength\":\"100\"} )", + "value": 30.134591965000006, + "unit": "ns/op", + "extra": "iterations: 5\nforks: 1\nthreads: 1" + }, + { + "name": "com.softwaremill.jox.ChainedBenchmark.channelChain ( {\"capacity\":\"100\",\"chainLength\":\"1000\"} )", + "value": 29.4060459, + "unit": "ns/op", + "extra": "iterations: 5\nforks: 1\nthreads: 1" + }, + { + "name": "com.softwaremill.jox.ChainedBenchmark.channelChain ( {\"capacity\":\"100\",\"chainLength\":\"10000\"} )", + "value": 31.98408668, + "unit": "ns/op", + "extra": "iterations: 5\nforks: 1\nthreads: 1" + }, + { + "name": "com.softwaremill.jox.ChainedBenchmark.queueChain ( {\"capacity\":\"0\",\"chainLength\":\"100\"} )", + "value": 135.35496745999998, + "unit": "ns/op", + "extra": "iterations: 5\nforks: 1\nthreads: 1" + }, + { + "name": "com.softwaremill.jox.ChainedBenchmark.queueChain ( {\"capacity\":\"0\",\"chainLength\":\"1000\"} )", + "value": 129.7534345, + "unit": "ns/op", + "extra": "iterations: 5\nforks: 1\nthreads: 1" + }, + { + "name": "com.softwaremill.jox.ChainedBenchmark.queueChain ( {\"capacity\":\"0\",\"chainLength\":\"10000\"} )", + "value": 111.54979054, + "unit": "ns/op", + "extra": "iterations: 5\nforks: 1\nthreads: 1" + }, + { + "name": "com.softwaremill.jox.ChainedBenchmark.queueChain ( {\"capacity\":\"100\",\"chainLength\":\"100\"} )", + "value": 10.99041721711111, + "unit": "ns/op", + "extra": "iterations: 5\nforks: 1\nthreads: 1" + }, + { + "name": "com.softwaremill.jox.ChainedBenchmark.queueChain ( {\"capacity\":\"100\",\"chainLength\":\"1000\"} )", + "value": 10.925127942, + "unit": "ns/op", + "extra": "iterations: 5\nforks: 1\nthreads: 1" + }, + { + "name": "com.softwaremill.jox.ChainedBenchmark.queueChain ( {\"capacity\":\"100\",\"chainLength\":\"10000\"} )", + "value": 9.791679892727274, + "unit": "ns/op", + "extra": "iterations: 5\nforks: 1\nthreads: 1" + }, + { + "name": "com.softwaremill.jox.RendezvousBenchmark.channel", + "value": 182.99176993333333, + "unit": "ns/op", + "extra": "iterations: 5\nforks: 1\nthreads: 1" + }, + { + "name": "com.softwaremill.jox.RendezvousBenchmark.exchanger", + "value": 86.0563335653846, + "unit": "ns/op", + "extra": "iterations: 5\nforks: 1\nthreads: 1" + }, + { + "name": "com.softwaremill.jox.RendezvousBenchmark.synchronousQueue", + "value": 609.4425792999999, + "unit": "ns/op", + "extra": "iterations: 5\nforks: 1\nthreads: 1" + }, + { + "name": "com.softwaremill.jox.SelectBenchmark.selectWithSingleClause", + "value": 224.42533944000002, + "unit": "ns/op", + "extra": "iterations: 5\nforks: 1\nthreads: 1" + }, + { + "name": "com.softwaremill.jox.SelectBenchmark.selectWithTwoClauses", + "value": 213.08334424, + "unit": "ns/op", + "extra": "iterations: 5\nforks: 1\nthreads: 1" + }, + { + "name": "com.softwaremill.jox.BufferedKotlinBenchmark.channel_defaultDispatcher ( {\"capacity\":\"1\"} )", + "value": 121.30267013333335, + "unit": "ns/op", + "extra": "iterations: 5\nforks: 1\nthreads: 1" + }, + { + "name": "com.softwaremill.jox.BufferedKotlinBenchmark.channel_defaultDispatcher ( {\"capacity\":\"10\"} )", + "value": 54.44842157894736, + "unit": "ns/op", + "extra": "iterations: 5\nforks: 1\nthreads: 1" + }, + { + "name": "com.softwaremill.jox.BufferedKotlinBenchmark.channel_defaultDispatcher ( {\"capacity\":\"100\"} )", + "value": 31.811482524999995, + "unit": "ns/op", + "extra": "iterations: 5\nforks: 1\nthreads: 1" + }, + { + "name": "com.softwaremill.jox.ChainedKotlinBenchmark.channelChain_defaultDispatcher ( {\"capacity\":\"0\",\"chainLength\":\"100\"} )", + "value": 71.65152355000001, + "unit": "ns/op", + "extra": "iterations: 5\nforks: 1\nthreads: 1" + }, + { + "name": "com.softwaremill.jox.ChainedKotlinBenchmark.channelChain_defaultDispatcher ( {\"capacity\":\"0\",\"chainLength\":\"1000\"} )", + "value": 58.344650509999994, + "unit": "ns/op", + "extra": "iterations: 5\nforks: 1\nthreads: 1" + }, + { + "name": "com.softwaremill.jox.ChainedKotlinBenchmark.channelChain_defaultDispatcher ( {\"capacity\":\"0\",\"chainLength\":\"10000\"} )", + "value": 62.085045109999996, + "unit": "ns/op", + "extra": "iterations: 5\nforks: 1\nthreads: 1" + }, + { + "name": "com.softwaremill.jox.ChainedKotlinBenchmark.channelChain_defaultDispatcher ( {\"capacity\":\"100\",\"chainLength\":\"100\"} )", + "value": 14.108516949999999, + "unit": "ns/op", + "extra": "iterations: 5\nforks: 1\nthreads: 1" + }, + { + "name": "com.softwaremill.jox.ChainedKotlinBenchmark.channelChain_defaultDispatcher ( {\"capacity\":\"100\",\"chainLength\":\"1000\"} )", + "value": 13.372980425, + "unit": "ns/op", + "extra": "iterations: 5\nforks: 1\nthreads: 1" + }, + { + "name": "com.softwaremill.jox.ChainedKotlinBenchmark.channelChain_defaultDispatcher ( {\"capacity\":\"100\",\"chainLength\":\"10000\"} )", + "value": 14.897755468571429, + "unit": "ns/op", + "extra": "iterations: 5\nforks: 1\nthreads: 1" + }, + { + "name": "com.softwaremill.jox.ChainedKotlinBenchmark.channelChain_eventLoop ( {\"capacity\":\"0\",\"chainLength\":\"100\"} )", + "value": 104.22652114, + "unit": "ns/op", + "extra": "iterations: 5\nforks: 1\nthreads: 1" + }, + { + "name": "com.softwaremill.jox.ChainedKotlinBenchmark.channelChain_eventLoop ( {\"capacity\":\"0\",\"chainLength\":\"1000\"} )", + "value": 141.804463, + "unit": "ns/op", + "extra": "iterations: 5\nforks: 1\nthreads: 1" + }, + { + "name": "com.softwaremill.jox.ChainedKotlinBenchmark.channelChain_eventLoop ( {\"capacity\":\"0\",\"chainLength\":\"10000\"} )", + "value": 94.25690236, + "unit": "ns/op", + "extra": "iterations: 5\nforks: 1\nthreads: 1" + }, + { + "name": "com.softwaremill.jox.ChainedKotlinBenchmark.channelChain_eventLoop ( {\"capacity\":\"100\",\"chainLength\":\"100\"} )", + "value": 30.004262244999996, + "unit": "ns/op", + "extra": "iterations: 5\nforks: 1\nthreads: 1" + }, + { + "name": "com.softwaremill.jox.ChainedKotlinBenchmark.channelChain_eventLoop ( {\"capacity\":\"100\",\"chainLength\":\"1000\"} )", + "value": 31.961313435, + "unit": "ns/op", + "extra": "iterations: 5\nforks: 1\nthreads: 1" + }, + { + "name": "com.softwaremill.jox.ChainedKotlinBenchmark.channelChain_eventLoop ( {\"capacity\":\"100\",\"chainLength\":\"10000\"} )", + "value": 31.524698215, + "unit": "ns/op", + "extra": "iterations: 5\nforks: 1\nthreads: 1" + }, + { + "name": "com.softwaremill.jox.RendezvousKotlinBenchmark.channel_defaultDispatcher", + "value": 152.37528242857144, + "unit": "ns/op", + "extra": "iterations: 5\nforks: 1\nthreads: 1" + }, + { + "name": "com.softwaremill.jox.SelectKotlinBenchmark.selectWithSingleClause_defaultDispatcher", + "value": 258.90579264999997, + "unit": "ns/op", + "extra": "iterations: 5\nforks: 1\nthreads: 1" + }, + { + "name": "com.softwaremill.jox.SelectKotlinBenchmark.selectWithTwoClauses_defaultDispatcher", + "value": 321.6062986, + "unit": "ns/op", + "extra": "iterations: 5\nforks: 1\nthreads: 1" + } + ] } ] }