From 6ccc3469b8311eee68803e00a8d3029b1ff7b074 Mon Sep 17 00:00:00 2001 From: Benchmark Bot Date: Tue, 19 Sep 2023 01:26:07 +0200 Subject: [PATCH] docs: update benchmark versus external pools results --- .../versus-external-pools/BENCH-100000.json | 702 +++++++++--------- .../versus-external-pools/BENCH-100000.md | 26 +- 2 files changed, 364 insertions(+), 364 deletions(-) diff --git a/benchmarks/versus-external-pools/BENCH-100000.json b/benchmarks/versus-external-pools/BENCH-100000.json index 6b36c35f..3106c1e6 100644 --- a/benchmarks/versus-external-pools/BENCH-100000.json +++ b/benchmarks/versus-external-pools/BENCH-100000.json @@ -2,34 +2,34 @@ "results": [ { "command": "node dynamic-poolifier.mjs", - "mean": 11.460686491090003, - "stddev": 0.25081970175174806, - "median": 11.46798398764, - "user": 83.98807101, - "system": 0.5325650499999999, - "min": 11.07185692914, - "max": 12.084592454140001, + "mean": 11.39096399511, + "stddev": 0.2507140094679051, + "median": 11.33015094956, + "user": 84.10149496, + "system": 0.5160043299999999, + "min": 10.992161490560001, + "max": 12.14705098356, "times": [ - 11.55452916214, - 11.20068952614, - 11.37649475814, - 11.07185692914, - 11.60220923814, - 12.084592454140001, - 11.29371622114, - 11.62904898514, - 11.30166552414, - 11.446099674140001, - 11.489868301140001, - 11.52266748014, - 11.81011461814, - 11.203381245140001, - 11.16964814914, - 11.286836902140001, - 11.655318195140001, - 11.22740957914, - 11.60969656514, - 11.67788631414 + 11.22477672356, + 11.38108288856, + 10.992161490560001, + 11.37868160556, + 11.55645932356, + 11.17442672256, + 11.31159776356, + 11.281204091560001, + 11.34870413556, + 11.25701216256, + 11.21393125456, + 11.707280670560001, + 11.21960482156, + 11.216828191560001, + 11.603927734560001, + 12.14705098356, + 11.382954318560001, + 11.265601481560001, + 11.55367884756, + 11.60231469056 ], "exit_codes": [ 0, @@ -56,34 +56,34 @@ }, { "command": "node fixed-poolifier.mjs", - "mean": 11.542970538490001, - "stddev": 0.34367513099545477, - "median": 11.455383519640002, - "user": 84.24208270999999, - "system": 0.5048741999999999, - "min": 11.11264735714, - "max": 12.43351513114, + "mean": 11.454697311060002, + "stddev": 0.3606029017514374, + "median": 11.40046055106, + "user": 84.15007685999998, + "system": 0.4902895799999999, + "min": 11.09666552156, + "max": 12.79375020256, "times": [ - 12.24296193314, - 11.55019628614, - 11.268731587140001, - 11.48250923314, - 11.680712899140001, - 12.43351513114, - 11.78594244714, - 11.220906218140001, - 11.74624564914, - 11.80400478414, - 11.40014431114, - 11.59587397914, - 11.228737222140001, - 11.11264735714, - 11.428257806140001, - 11.22435232314, - 11.264055218140001, - 11.32840691214, - 11.380536257140001, - 11.68067321514 + 11.54493104256, + 11.29143010356, + 11.38978276656, + 11.239998186560001, + 11.61936550056, + 11.09666552156, + 11.41113833556, + 11.53284114356, + 11.17205310256, + 11.288372110560001, + 12.79375020256, + 11.31601917356, + 11.205862467560001, + 11.48435911556, + 11.50610404056, + 11.42625346556, + 11.18810032056, + 11.65796694156, + 11.215920200560001, + 11.71303247956 ], "exit_codes": [ 0, @@ -110,34 +110,34 @@ }, { "command": "node dynamic-piscina.mjs", - "mean": 14.00370990509, - "stddev": 0.195190646587577, - "median": 13.95897025564, - "user": 84.30038051, - "system": 0.8942395499999998, - "min": 13.74530090314, - "max": 14.404787197140001, + "mean": 13.967628133309997, + "stddev": 0.23949287514759854, + "median": 13.89517949506, + "user": 83.94008631, + "system": 0.8856032800000001, + "min": 13.75729377256, + "max": 14.84392083156, "times": [ - 14.20669045814, - 14.116467723140001, - 14.28127674814, - 13.74530090314, - 13.97036887314, - 13.83224729014, - 13.82272773214, - 13.890525632140001, - 13.82884830214, - 13.753288383140001, - 13.98871156214, - 14.404787197140001, - 14.03733164614, - 13.93805071214, - 13.87920565614, - 14.399814069140001, - 14.09713422714, - 13.947571638140001, - 14.00739293814, - 13.92645641014 + 14.015312786560001, + 13.845394884560001, + 13.79962715556, + 13.79065610756, + 14.84392083156, + 14.21344025056, + 13.81810306056, + 14.138187503560001, + 13.82072350156, + 13.96779639256, + 13.88534348356, + 14.04557227756, + 13.960829589560001, + 13.94599091956, + 13.75729377256, + 14.04986079556, + 13.83285808256, + 13.901041002560001, + 13.88931798756, + 13.831292280560001 ], "exit_codes": [ 0, @@ -164,34 +164,34 @@ }, { "command": "node fixed-piscina.mjs", - "mean": 13.971157231290002, - "stddev": 0.18748653009873717, - "median": 13.954581861640001, - "user": 84.05523740999999, - "system": 0.897861, - "min": 13.749618012140001, - "max": 14.60467247114, + "mean": 13.947534027310002, + "stddev": 0.14100650652691796, + "median": 13.93459136456, + "user": 84.03596490999999, + "system": 0.86713358, + "min": 13.77391784556, + "max": 14.23952760856, "times": [ - 13.93401751114, - 14.153403305140001, - 13.99563867314, - 14.016568730140001, - 14.60467247114, - 14.04295730414, - 13.98590516114, - 13.836994992140001, - 14.16283542514, - 13.95397992414, - 13.95518379914, - 13.83943599014, - 13.76735754114, - 13.87862771914, - 13.81254605814, - 13.88567580814, - 13.840183258140001, - 13.99070596514, - 13.749618012140001, - 14.01683697714 + 14.08623340756, + 13.83326897156, + 13.78561713056, + 14.043872568560001, + 13.94913832256, + 13.85035199256, + 13.81908766656, + 13.853396142560001, + 13.79103872656, + 13.90262960656, + 13.99404342156, + 13.92004440656, + 13.97821741656, + 14.21156241756, + 14.09549645856, + 14.23952760856, + 14.05576395356, + 13.77391784556, + 13.789009999560001, + 13.978462482560001 ], "exit_codes": [ 0, @@ -218,34 +218,34 @@ }, { "command": "node dynamic-tinypool.mjs", - "mean": 14.078402252840002, - "stddev": 0.17964768548679533, - "median": 14.035605996640001, - "user": 84.20895296, - "system": 1.7079841500000001, - "min": 13.87159967414, - "max": 14.415486299140001, + "mean": 13.987745249210002, + "stddev": 0.1668423954616273, + "median": 13.92642727706, + "user": 84.21740101, + "system": 1.7059799299999998, + "min": 13.85718868756, + "max": 14.57317675956, "times": [ - 14.06757659014, - 14.15184551414, - 13.87159967414, - 13.98933836414, - 14.33406050414, - 13.95275701814, - 13.976909001140001, - 14.415486299140001, - 13.880121953140002, - 14.02409919914, - 14.052152449140001, - 14.28146063314, - 14.07133063214, - 14.394466858140001, - 14.34510712514, - 13.99131320014, - 14.04711279414, - 13.91149482214, - 13.90806625914, - 13.90174616614 + 13.915288567560001, + 13.919797154560001, + 14.12578122556, + 13.990182603560001, + 13.85718868756, + 14.57317675956, + 14.250946907560001, + 13.89485503356, + 13.94620632156, + 13.89386717256, + 13.91052797356, + 13.955937955560001, + 13.858925581560001, + 13.92898971456, + 13.97009728856, + 14.07112644256, + 13.904656922560001, + 13.921602484560001, + 13.92386483956, + 13.941885347560001 ], "exit_codes": [ 0, @@ -272,34 +272,34 @@ }, { "command": "node fixed-tinypool.mjs", - "mean": 14.04153995254, - "stddev": 0.21579330760949478, - "median": 13.977037514640001, - "user": 84.21406685999999, - "system": 1.7156961, - "min": 13.85588257614, - "max": 14.77938356414, + "mean": 14.02135208436, + "stddev": 0.20747741025615646, + "median": 13.96817931756, + "user": 84.13567291, + "system": 1.7187335299999997, + "min": 13.87138471956, + "max": 14.850832696560001, "times": [ - 13.94437420514, - 14.09820678514, - 13.98808723914, - 14.128383172140001, - 13.981159983140001, - 14.77938356414, - 14.42934816214, - 14.06893937014, - 13.91567962214, - 14.14407409214, - 13.88692507714, - 13.960267247140001, - 13.96310109214, - 13.918613199140001, - 13.92105688814, - 13.994065623140001, - 13.85588257614, - 13.97291504614, - 14.002948978140001, - 13.87738712814 + 14.10616454456, + 13.93606910456, + 14.00708294656, + 14.15509319156, + 13.99741060256, + 13.92708534256, + 13.96931510456, + 13.93617893056, + 13.89639870056, + 13.91834319356, + 14.05066330056, + 13.902075205560001, + 13.87138471956, + 13.96704353056, + 14.850832696560001, + 13.985693255560001, + 13.951637446560001, + 14.02582306356, + 13.95083767656, + 14.021909130560001 ], "exit_codes": [ 0, @@ -326,34 +326,34 @@ }, { "command": "node dynamic-workerpool.mjs", - "mean": 14.668654660189997, - "stddev": 0.1751780961079337, - "median": 14.62452225564, - "user": 86.67234151, - "system": 1.32287635, - "min": 14.478081427140001, - "max": 15.07487723414, + "mean": 14.579275737659998, + "stddev": 0.1508950620907872, + "median": 14.52361860756, + "user": 86.64092400999999, + "system": 1.2638196299999997, + "min": 14.427098047560001, + "max": 15.091432964560001, "times": [ - 14.51326478514, - 14.56531670514, - 14.54245101214, - 14.75296939014, - 14.586181163140001, - 14.51622098014, - 14.74627245614, - 14.63799034114, - 14.71788947814, - 14.51277760214, - 14.89880980214, - 14.66927356114, - 14.478081427140001, - 15.07487723414, - 15.05429255614, - 14.70443201614, - 14.611054170140001, - 14.506627959140001, - 14.52770836914, - 14.756602195140001 + 14.733018792560001, + 14.70899634156, + 14.427098047560001, + 14.48543594356, + 14.46462805756, + 14.47626459556, + 15.091432964560001, + 14.71730307556, + 14.66004542956, + 14.57704315956, + 14.53293611056, + 14.514301104560001, + 14.556417341560001, + 14.502730812560001, + 14.47021560156, + 14.51350076556, + 14.50355083156, + 14.47030837056, + 14.56071121556, + 14.61957619156 ], "exit_codes": [ 0, @@ -380,34 +380,34 @@ }, { "command": "node fixed-workerpool.mjs", - "mean": 14.69618620404, - "stddev": 0.19135706242263026, - "median": 14.63742826764, - "user": 86.63727986, - "system": 1.31793365, - "min": 14.49212330914, - "max": 15.232266306140001, + "mean": 14.58927977851, + "stddev": 0.17647161640971268, + "median": 14.52570354956, + "user": 86.64521796, + "system": 1.2780047299999997, + "min": 14.48973136556, + "max": 15.24115806256, "times": [ - 14.52713430014, - 14.50322603414, - 14.59309495814, - 14.61152691314, - 14.91647165114, - 15.03828066314, - 14.859238020140001, - 14.608337629140001, - 14.600816917140001, - 14.67777615114, - 14.520808994140001, - 14.66485827914, - 14.68288046414, - 15.232266306140001, - 14.58063681614, - 14.58868176914, - 14.808317886140001, - 14.663329622140001, - 14.49212330914, - 14.75391739714 + 14.80852469356, + 14.553961943560001, + 14.546102449560001, + 14.498424549560001, + 14.48973136556, + 14.51862745356, + 14.503817596560001, + 14.51926819956, + 14.52571910956, + 14.54056467556, + 14.494782667560001, + 14.48986357956, + 14.514889741560001, + 14.52568798956, + 15.24115806256, + 14.50526880256, + 14.54702457656, + 14.770965030560001, + 14.55390349056, + 14.637309592560001 ], "exit_codes": [ 0, @@ -434,34 +434,34 @@ }, { "command": "node dynamic-worker-nodes.js", - "mean": 13.93325881829, - "stddev": 0.17110973279191732, - "median": 13.90770618014, - "user": 84.50858151000001, - "system": 0.9973983999999998, - "min": 13.756689403140001, - "max": 14.565890296140001, + "mean": 13.951158852560003, + "stddev": 0.2058522839443246, + "median": 13.87647117356, + "user": 84.51921171, + "system": 1.00179748, + "min": 13.769433169560001, + "max": 14.50660106456, "times": [ - 13.76258436514, - 13.91964969714, - 13.81807830014, - 13.796148933140001, - 14.01181693614, - 13.756689403140001, - 13.88394899614, - 13.974626134140001, - 13.93325984614, - 13.77719238214, - 13.87137652514, - 13.898306617140001, - 13.88566891214, - 13.99181976314, - 14.565890296140001, - 13.91710574314, - 13.98857317314, - 14.01608785914, - 14.00929042714, - 13.887062056140001 + 13.888615445560001, + 13.769433169560001, + 13.82169270056, + 13.87376040556, + 13.87918194156, + 13.86117236256, + 13.901908091560001, + 14.50660106456, + 13.949419649560001, + 14.10946128256, + 13.82684026856, + 14.18309862556, + 13.77611468656, + 13.80324225456, + 13.775174961560001, + 13.84872489656, + 13.888386307560001, + 14.22664630256, + 13.815534428560001, + 14.318168205560001 ], "exit_codes": [ 0, @@ -488,34 +488,34 @@ }, { "command": "node fixed-worker-nodes.js", - "mean": 13.95950815399, - "stddev": 0.183579434360206, - "median": 13.91979540564, - "user": 84.55706836, - "system": 0.9847505999999999, - "min": 13.79147062814, - "max": 14.546362315140001, + "mean": 13.98804316051, + "stddev": 0.3055112942891721, + "median": 13.89713134606, + "user": 84.89486595999999, + "system": 0.9969855299999999, + "min": 13.77515069256, + "max": 15.03617628456, "times": [ - 13.823420951140001, - 13.79173552314, - 13.91348043414, - 14.02465314814, - 13.79147062814, - 14.037277344140001, - 14.546362315140001, - 14.27675133514, - 14.01099025914, - 13.92604248814, - 13.92025053214, - 13.82288859314, - 14.025223096140001, - 13.820528449140001, - 13.80452440414, - 13.99714390614, - 13.84236475414, - 13.84957940614, - 13.91934027914, - 14.046135233140001 + 14.102025899560001, + 14.115793895560001, + 13.892698086560001, + 13.90950704856, + 13.85048315056, + 13.89831485256, + 13.96924465656, + 13.776777926560001, + 13.832890924560001, + 13.817599986560001, + 13.82213900756, + 13.99855676656, + 13.84405732556, + 13.898449920560001, + 13.77515069256, + 14.58822787756, + 13.92374828456, + 15.03617628456, + 13.89594783956, + 13.813072783560001 ], "exit_codes": [ 0, @@ -542,34 +542,34 @@ }, { "command": "node dynamic-node-worker-threads-pool.mjs", - "mean": 21.705377271690004, - "stddev": 0.2812675075823154, - "median": 21.63110223964, - "user": 131.74272690999996, - "system": 2.9979596999999996, - "min": 21.38744876514, - "max": 22.52470514014, + "mean": 21.589358092059996, + "stddev": 0.33710207404903597, + "median": 21.47304040556, + "user": 131.05532971000002, + "system": 2.97765318, + "min": 21.17677630056, + "max": 22.29688328056, "times": [ - 21.49414467714, - 21.85316109914, - 21.79484852214, - 21.82833255214, - 22.04228054814, - 21.63284923614, - 22.21709481114, - 21.483233276140002, - 21.60014258914, - 21.67911763914, - 22.52470514014, - 21.67462560214, - 21.38744876514, - 21.62935524314, - 21.50709395314, - 21.41015074614, - 21.58297582114, - 21.52866373014, - 21.56877281314, - 21.66854866914 + 21.29678146856, + 21.33297321056, + 21.476598411559998, + 21.27147187056, + 21.17677630056, + 22.278692661559997, + 22.160110541559998, + 21.48630148656, + 21.65031061356, + 21.386078684559997, + 21.60193983956, + 21.44868729956, + 21.85731671656, + 21.23844660356, + 21.46948239956, + 21.41669520256, + 22.29688328056, + 21.661655440559997, + 21.419547168559998, + 21.86041264056 ], "exit_codes": [ 0, @@ -596,34 +596,34 @@ }, { "command": "node static-node-worker-threads-pool.mjs", - "mean": 14.23932392959, - "stddev": 0.22039778369683194, - "median": 14.17214841014, - "user": 85.21785320999996, - "system": 1.09816055, - "min": 14.04185371914, - "max": 15.02877590314, + "mean": 14.307832388209999, + "stddev": 0.3285973375402726, + "median": 14.179303750559999, + "user": 85.40816851, + "system": 1.11946813, + "min": 14.05227103456, + "max": 15.10797753956, "times": [ - 14.17219981514, - 14.253486225140001, - 14.448786677140001, - 14.04185371914, - 14.15740933314, - 14.06448705214, - 14.162173732140001, - 14.12588907814, - 14.17754607414, - 14.311268016140001, - 14.19004887414, - 14.271448644140001, - 14.08899601214, - 14.09469537814, - 15.02877590314, - 14.47405968914, - 14.322468158140001, - 14.172097005140001, - 14.08044754214, - 14.14834166314 + 14.30104084956, + 14.54814028756, + 14.28476126856, + 14.29227234256, + 15.00532349256, + 14.05227103456, + 14.09053164156, + 14.93460879456, + 14.20754972356, + 15.10797753956, + 14.19729763756, + 14.10231132256, + 14.110226284560001, + 14.16130986356, + 14.102247291560001, + 14.07068962256, + 14.126047789560001, + 14.06858099556, + 14.30248170856, + 14.090978273560001 ], "exit_codes": [ 0, @@ -650,34 +650,34 @@ }, { "command": "node fixed-nanothreads.mjs", - "mean": 13.332148464840003, - "stddev": 0.2677936691595618, - "median": 13.22471509514, - "user": 82.76726615999999, - "system": 0.9324920999999999, - "min": 13.08697098314, - "max": 14.10655408014, + "mean": 13.241399209209998, + "stddev": 0.27217911366407616, + "median": 13.138224996560002, + "user": 82.42079815999998, + "system": 0.86065818, + "min": 13.07087743856, + "max": 14.20647392156, "times": [ - 13.31935902414, - 13.11847410414, - 13.13990334214, - 13.592224528140001, - 13.203522449140001, - 13.24275983014, - 13.43396316514, - 14.10655408014, - 13.18432447714, - 13.15556534914, - 13.21837687614, - 13.36015711714, - 13.877545876140001, - 13.58400535614, - 13.22732779014, - 13.23933728814, - 13.13100729714, - 13.199487963140001, - 13.08697098314, - 13.22210240014 + 14.20647392156, + 13.12352163756, + 13.20712820456, + 13.149009490560001, + 13.133528762560001, + 13.10588132756, + 13.159918342560001, + 13.11468017256, + 13.18914599656, + 13.114861362560001, + 13.07087743856, + 13.12380557356, + 13.14292123056, + 13.26390055856, + 13.11730204056, + 13.09064734556, + 13.69850178656, + 13.49070701056, + 13.10612158156, + 13.21905039956 ], "exit_codes": [ 0, diff --git a/benchmarks/versus-external-pools/BENCH-100000.md b/benchmarks/versus-external-pools/BENCH-100000.md index 8cc05329..1425a562 100644 --- a/benchmarks/versus-external-pools/BENCH-100000.md +++ b/benchmarks/versus-external-pools/BENCH-100000.md @@ -1,15 +1,15 @@ | Command | Mean [s] | Min [s] | Max [s] | Relative | |:---|---:|---:|---:|---:| -| `node dynamic-poolifier.mjs` | 11.461 ± 0.251 | 11.072 | 12.085 | 1.00 | -| `node fixed-poolifier.mjs` | 11.543 ± 0.344 | 11.113 | 12.434 | 1.01 ± 0.04 | -| `node dynamic-piscina.mjs` | 14.004 ± 0.195 | 13.745 | 14.405 | 1.22 ± 0.03 | -| `node fixed-piscina.mjs` | 13.971 ± 0.187 | 13.750 | 14.605 | 1.22 ± 0.03 | -| `node dynamic-tinypool.mjs` | 14.078 ± 0.180 | 13.872 | 14.415 | 1.23 ± 0.03 | -| `node fixed-tinypool.mjs` | 14.042 ± 0.216 | 13.856 | 14.779 | 1.23 ± 0.03 | -| `node dynamic-workerpool.mjs` | 14.669 ± 0.175 | 14.478 | 15.075 | 1.28 ± 0.03 | -| `node fixed-workerpool.mjs` | 14.696 ± 0.191 | 14.492 | 15.232 | 1.28 ± 0.03 | -| `node dynamic-worker-nodes.js` | 13.933 ± 0.171 | 13.757 | 14.566 | 1.22 ± 0.03 | -| `node fixed-worker-nodes.js` | 13.960 ± 0.184 | 13.791 | 14.546 | 1.22 ± 0.03 | -| `node dynamic-node-worker-threads-pool.mjs` | 21.705 ± 0.281 | 21.387 | 22.525 | 1.89 ± 0.05 | -| `node static-node-worker-threads-pool.mjs` | 14.239 ± 0.220 | 14.042 | 15.029 | 1.24 ± 0.03 | -| `node fixed-nanothreads.mjs` | 13.332 ± 0.268 | 13.087 | 14.107 | 1.16 ± 0.03 | +| `node dynamic-poolifier.mjs` | 11.391 ± 0.251 | 10.992 | 12.147 | 1.00 | +| `node fixed-poolifier.mjs` | 11.455 ± 0.361 | 11.097 | 12.794 | 1.01 ± 0.04 | +| `node dynamic-piscina.mjs` | 13.968 ± 0.239 | 13.757 | 14.844 | 1.23 ± 0.03 | +| `node fixed-piscina.mjs` | 13.948 ± 0.141 | 13.774 | 14.240 | 1.22 ± 0.03 | +| `node dynamic-tinypool.mjs` | 13.988 ± 0.167 | 13.857 | 14.573 | 1.23 ± 0.03 | +| `node fixed-tinypool.mjs` | 14.021 ± 0.207 | 13.871 | 14.851 | 1.23 ± 0.03 | +| `node dynamic-workerpool.mjs` | 14.579 ± 0.151 | 14.427 | 15.091 | 1.28 ± 0.03 | +| `node fixed-workerpool.mjs` | 14.589 ± 0.176 | 14.490 | 15.241 | 1.28 ± 0.03 | +| `node dynamic-worker-nodes.js` | 13.951 ± 0.206 | 13.769 | 14.507 | 1.22 ± 0.03 | +| `node fixed-worker-nodes.js` | 13.988 ± 0.306 | 13.775 | 15.036 | 1.23 ± 0.04 | +| `node dynamic-node-worker-threads-pool.mjs` | 21.589 ± 0.337 | 21.177 | 22.297 | 1.90 ± 0.05 | +| `node static-node-worker-threads-pool.mjs` | 14.308 ± 0.329 | 14.052 | 15.108 | 1.26 ± 0.04 | +| `node fixed-nanothreads.mjs` | 13.241 ± 0.272 | 13.071 | 14.206 | 1.16 ± 0.04 | -- 2.34.1