From 14094f7b8b2e5f58f924976ef71e8fac3f8cfaef Mon Sep 17 00:00:00 2001 From: Benchmark Bot Date: Tue, 19 Sep 2023 06:44:01 +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 3106c1e6..bae2b27a 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.39096399511, - "stddev": 0.2507140094679051, - "median": 11.33015094956, - "user": 84.10149496, - "system": 0.5160043299999999, - "min": 10.992161490560001, - "max": 12.14705098356, + "mean": 11.368003236860002, + "stddev": 0.3224412822900955, + "median": 11.28611924146, + "user": 84.27590989999999, + "system": 0.52854244, + "min": 11.04924261246, + "max": 12.28315011846, "times": [ - 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 + 11.04924261246, + 12.164582731460001, + 11.42606048046, + 11.14701773246, + 12.28315011846, + 11.114457617460001, + 11.21295353046, + 11.31917603846, + 11.41331715546, + 11.14322856146, + 11.132846394460001, + 11.239183329460001, + 11.177805089460001, + 11.314058325460001, + 11.34120538546, + 11.17777176246, + 11.25818015746, + 11.416931810460001, + 11.491710340460001, + 11.537185563460001 ], "exit_codes": [ 0, @@ -56,34 +56,34 @@ }, { "command": "node fixed-poolifier.mjs", - "mean": 11.454697311060002, - "stddev": 0.3606029017514374, - "median": 11.40046055106, - "user": 84.15007685999998, - "system": 0.4902895799999999, - "min": 11.09666552156, - "max": 12.79375020256, + "mean": 11.356596080909998, + "stddev": 0.18773643921848024, + "median": 11.29456609946, + "user": 84.12756545, + "system": 0.5123968400000001, + "min": 11.15489913046, + "max": 11.89709897946, "times": [ - 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 + 11.28842508446, + 11.45222851346, + 11.23460998646, + 11.15489913046, + 11.22347996146, + 11.30347705046, + 11.42483632146, + 11.24280094246, + 11.26645936946, + 11.28948877846, + 11.289564564460001, + 11.31750867146, + 11.29956763446, + 11.273619724460001, + 11.331826318460001, + 11.20444931846, + 11.33355762146, + 11.89709897946, + 11.79759357146, + 11.50643007546 ], "exit_codes": [ 0, @@ -110,34 +110,34 @@ }, { "command": "node dynamic-piscina.mjs", - "mean": 13.967628133309997, - "stddev": 0.23949287514759854, - "median": 13.89517949506, - "user": 83.94008631, - "system": 0.8856032800000001, - "min": 13.75729377256, - "max": 14.84392083156, + "mean": 13.96954857906, + "stddev": 0.15294149540722818, + "median": 13.924949551460001, + "user": 83.91577705, + "system": 0.8764507899999998, + "min": 13.796995480460001, + "max": 14.36604056546, "times": [ - 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 + 13.88530186746, + 14.219938563460001, + 13.924741648460001, + 13.94637099246, + 13.97710498146, + 13.879033702460001, + 13.86036472646, + 13.92515745446, + 13.815125913460001, + 14.13655149346, + 14.03763722146, + 14.36604056546, + 13.796995480460001, + 13.96719749546, + 13.880604315460001, + 13.92629100946, + 14.22537706446, + 13.87854894646, + 13.827854786460001, + 13.91473335246 ], "exit_codes": [ 0, @@ -164,34 +164,34 @@ }, { "command": "node fixed-piscina.mjs", - "mean": 13.947534027310002, - "stddev": 0.14100650652691796, - "median": 13.93459136456, - "user": 84.03596490999999, - "system": 0.86713358, - "min": 13.77391784556, - "max": 14.23952760856, + "mean": 13.903733555459999, + "stddev": 0.19168634439996315, + "median": 13.83464575196, + "user": 84.07448690000003, + "system": 0.8601311899999999, + "min": 13.748144764460001, + "max": 14.412393211460001, "times": [ - 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 + 13.846976446460001, + 13.92685395646, + 13.82268203546, + 14.37333245446, + 14.023949228460001, + 13.86672670646, + 14.14773441546, + 13.80653369046, + 13.80385636646, + 13.760039881460001, + 13.86446245346, + 13.80081846146, + 13.84660946846, + 13.76837037346, + 13.799337988460001, + 13.79013751946, + 13.85873795846, + 13.748144764460001, + 13.806973728460001, + 14.412393211460001 ], "exit_codes": [ 0, @@ -218,34 +218,34 @@ }, { "command": "node dynamic-tinypool.mjs", - "mean": 13.987745249210002, - "stddev": 0.1668423954616273, - "median": 13.92642727706, - "user": 84.21740101, - "system": 1.7059799299999998, - "min": 13.85718868756, - "max": 14.57317675956, + "mean": 13.994092572859998, + "stddev": 0.20241934655459232, + "median": 13.936304883960002, + "user": 84.12881345, + "system": 1.7039561399999996, + "min": 13.883758291460001, + "max": 14.821950666460001, "times": [ - 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 + 13.966210033460001, + 13.937544755460001, + 14.07474184746, + 13.91990565046, + 13.93506501246, + 13.92920750146, + 13.90353253146, + 13.912267811460001, + 14.01460675146, + 13.91280667846, + 13.88862534946, + 13.89433673946, + 14.821950666460001, + 13.94416041346, + 13.883758291460001, + 14.06253733846, + 13.957398195460001, + 13.926607261460001, + 14.022635471460001, + 13.97395315646 ], "exit_codes": [ 0, @@ -272,34 +272,34 @@ }, { "command": "node fixed-tinypool.mjs", - "mean": 14.02135208436, - "stddev": 0.20747741025615646, - "median": 13.96817931756, - "user": 84.13567291, - "system": 1.7187335299999997, - "min": 13.87138471956, - "max": 14.850832696560001, + "mean": 13.999351037260002, + "stddev": 0.20898225289155412, + "median": 13.951080949960001, + "user": 84.10157699999999, + "system": 1.7198870900000003, + "min": 13.87473413046, + "max": 14.86472296146, "times": [ - 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 + 13.92619766746, + 14.004044158460001, + 13.977218289460001, + 13.92701979746, + 13.95967980746, + 14.86472296146, + 13.943539534460001, + 14.04416872046, + 13.91758779146, + 14.01792684846, + 14.03383932046, + 13.95862236546, + 13.87473413046, + 13.899152218460001, + 13.924626830460001, + 13.929207616460001, + 13.91000959246, + 14.000713840460001, + 13.963721559460001, + 13.910287694460001 ], "exit_codes": [ 0, @@ -326,34 +326,34 @@ }, { "command": "node dynamic-workerpool.mjs", - "mean": 14.579275737659998, - "stddev": 0.1508950620907872, - "median": 14.52361860756, - "user": 86.64092400999999, - "system": 1.2638196299999997, - "min": 14.427098047560001, - "max": 15.091432964560001, + "mean": 14.588445512860002, + "stddev": 0.19168072714895476, + "median": 14.53729377896, + "user": 86.5068517, + "system": 1.2670577399999998, + "min": 14.43934690246, + "max": 15.358537570460001, "times": [ - 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 + 14.632960243460001, + 14.53857524846, + 14.55388903246, + 14.64864224846, + 14.603743489460001, + 14.48915307146, + 14.51865441146, + 14.52444953446, + 14.43934690246, + 14.55075847446, + 14.53601230946, + 14.50447696546, + 14.505208338460001, + 15.358537570460001, + 14.62779469746, + 14.491762085460001, + 14.52024548046, + 14.46665854746, + 14.592621020460001, + 14.665420585460001 ], "exit_codes": [ 0, @@ -380,34 +380,34 @@ }, { "command": "node fixed-workerpool.mjs", - "mean": 14.58927977851, - "stddev": 0.17647161640971268, - "median": 14.52570354956, - "user": 86.64521796, - "system": 1.2780047299999997, - "min": 14.48973136556, - "max": 15.24115806256, + "mean": 14.575268915859997, + "stddev": 0.157386518859761, + "median": 14.53422736396, + "user": 86.6216756, + "system": 1.2613628399999999, + "min": 14.45781974346, + "max": 15.14411060246, "times": [ - 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 + 14.47930699446, + 14.469473586460001, + 14.53775113446, + 14.49907766546, + 14.45781974346, + 15.14411060246, + 14.572162781460001, + 14.661065003460001, + 14.49757073646, + 14.777656522460001, + 14.47240096946, + 14.54680219946, + 14.71018802446, + 14.479297410460001, + 14.53070359346, + 14.54065151746, + 14.56539466946, + 14.51594835546, + 14.53845836546, + 14.50953844146 ], "exit_codes": [ 0, @@ -434,34 +434,34 @@ }, { "command": "node dynamic-worker-nodes.js", - "mean": 13.951158852560003, - "stddev": 0.2058522839443246, - "median": 13.87647117356, - "user": 84.51921171, - "system": 1.00179748, - "min": 13.769433169560001, - "max": 14.50660106456, + "mean": 13.93086813111, + "stddev": 0.24167954780072037, + "median": 13.848770205960001, + "user": 84.61519815000001, + "system": 0.98589509, + "min": 13.73192640046, + "max": 14.64004538746, "times": [ - 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 + 13.89194610046, + 13.89525897046, + 13.81873272546, + 13.87213934046, + 13.89884820946, + 13.73192640046, + 13.773378922460001, + 13.838520561460001, + 13.83863851746, + 13.837644412460001, + 13.85890189446, + 13.803619000460001, + 14.64004538746, + 14.572191032460001, + 14.07205063646, + 13.83711465446, + 13.86961044146, + 13.82750398546, + 13.78724552846, + 13.95204590046 ], "exit_codes": [ 0, @@ -488,34 +488,34 @@ }, { "command": "node fixed-worker-nodes.js", - "mean": 13.98804316051, - "stddev": 0.3055112942891721, - "median": 13.89713134606, - "user": 84.89486595999999, - "system": 0.9969855299999999, - "min": 13.77515069256, - "max": 15.03617628456, + "mean": 13.926463509909999, + "stddev": 0.26203859269854224, + "median": 13.84687467396, + "user": 84.69039760000003, + "system": 0.9691233399999998, + "min": 13.78574899946, + "max": 14.784729072460001, "times": [ - 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 + 13.858949349460001, + 13.78755033646, + 13.794909005460001, + 14.784729072460001, + 13.78574899946, + 13.82141487646, + 14.56115570146, + 13.90339855346, + 13.84178459846, + 13.846459169460001, + 13.87625398746, + 13.83346375446, + 13.861855352460001, + 13.84729017846, + 13.78954595746, + 13.859877196460001, + 13.786126023460001, + 13.96167930146, + 13.91559371346, + 13.81148507046 ], "exit_codes": [ 0, @@ -542,34 +542,34 @@ }, { "command": "node dynamic-node-worker-threads-pool.mjs", - "mean": 21.589358092059996, - "stddev": 0.33710207404903597, - "median": 21.47304040556, - "user": 131.05532971000002, - "system": 2.97765318, - "min": 21.17677630056, - "max": 22.29688328056, + "mean": 21.882727357010005, + "stddev": 0.5148907323621369, + "median": 21.67901115296, + "user": 131.3080822, + "system": 3.0308641900000004, + "min": 21.43062456946, + "max": 23.34619387346, "times": [ - 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 + 21.63584919446, + 21.49081686346, + 21.43062456946, + 21.792388830460002, + 21.60069429146, + 21.54642903846, + 21.56137180846, + 21.632441214460002, + 21.44907496546, + 22.05355998546, + 21.95569277246, + 21.88970592246, + 21.53484584646, + 21.65270147946, + 21.70532082646, + 21.90852867746, + 22.69483023446, + 21.88003241346, + 22.89344433246, + 23.34619387346 ], "exit_codes": [ 0, @@ -596,34 +596,34 @@ }, { "command": "node static-node-worker-threads-pool.mjs", - "mean": 14.307832388209999, - "stddev": 0.3285973375402726, - "median": 14.179303750559999, - "user": 85.40816851, - "system": 1.11946813, - "min": 14.05227103456, - "max": 15.10797753956, + "mean": 14.197313918559999, + "stddev": 0.1954890822889771, + "median": 14.13963860946, + "user": 85.1199326, + "system": 1.0779084399999999, + "min": 14.042602542460001, + "max": 14.95075411446, "times": [ - 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 + 14.183544750460001, + 14.35670690146, + 14.19807060446, + 14.139761014460001, + 14.137261824460001, + 14.18414643146, + 14.09040660846, + 14.17802594446, + 14.11049813046, + 14.091801072460001, + 14.13050344946, + 14.088102863460001, + 14.26503981546, + 14.15032364646, + 14.95075411446, + 14.139516204460001, + 14.33696355246, + 14.10318519746, + 14.069063702460001, + 14.042602542460001 ], "exit_codes": [ 0, @@ -650,34 +650,34 @@ }, { "command": "node fixed-nanothreads.mjs", - "mean": 13.241399209209998, - "stddev": 0.27217911366407616, - "median": 13.138224996560002, - "user": 82.42079815999998, - "system": 0.86065818, - "min": 13.07087743856, - "max": 14.20647392156, + "mean": 13.205401262510003, + "stddev": 0.20236927854585932, + "median": 13.15385387046, + "user": 82.34329815, + "system": 0.8771399399999998, + "min": 13.09653258346, + "max": 14.04509258246, "times": [ - 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 + 13.18196150846, + 13.09653258346, + 13.12901346846, + 13.18233877246, + 13.12023282846, + 13.13495294346, + 13.138255327460001, + 14.04509258246, + 13.16192620046, + 13.24462110546, + 13.23408346946, + 13.11477016046, + 13.14578154046, + 13.200833491460001, + 13.18434012146, + 13.17096864146, + 13.23773254246, + 13.13751371346, + 13.14367006046, + 13.10340418846 ], "exit_codes": [ 0, diff --git a/benchmarks/versus-external-pools/BENCH-100000.md b/benchmarks/versus-external-pools/BENCH-100000.md index 1425a562..2eaac8c1 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.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 | +| `node dynamic-poolifier.mjs` | 11.368 ± 0.322 | 11.049 | 12.283 | 1.00 ± 0.03 | +| `node fixed-poolifier.mjs` | 11.357 ± 0.188 | 11.155 | 11.897 | 1.00 | +| `node dynamic-piscina.mjs` | 13.970 ± 0.153 | 13.797 | 14.366 | 1.23 ± 0.02 | +| `node fixed-piscina.mjs` | 13.904 ± 0.192 | 13.748 | 14.412 | 1.22 ± 0.03 | +| `node dynamic-tinypool.mjs` | 13.994 ± 0.202 | 13.884 | 14.822 | 1.23 ± 0.03 | +| `node fixed-tinypool.mjs` | 13.999 ± 0.209 | 13.875 | 14.865 | 1.23 ± 0.03 | +| `node dynamic-workerpool.mjs` | 14.588 ± 0.192 | 14.439 | 15.359 | 1.28 ± 0.03 | +| `node fixed-workerpool.mjs` | 14.575 ± 0.157 | 14.458 | 15.144 | 1.28 ± 0.03 | +| `node dynamic-worker-nodes.js` | 13.931 ± 0.242 | 13.732 | 14.640 | 1.23 ± 0.03 | +| `node fixed-worker-nodes.js` | 13.926 ± 0.262 | 13.786 | 14.785 | 1.23 ± 0.03 | +| `node dynamic-node-worker-threads-pool.mjs` | 21.883 ± 0.515 | 21.431 | 23.346 | 1.93 ± 0.06 | +| `node static-node-worker-threads-pool.mjs` | 14.197 ± 0.195 | 14.043 | 14.951 | 1.25 ± 0.03 | +| `node fixed-nanothreads.mjs` | 13.205 ± 0.202 | 13.097 | 14.045 | 1.16 ± 0.03 | -- 2.34.1