From: Benchmark Bot Date: Mon, 18 Sep 2023 19:53:57 +0000 (+0200) Subject: docs: update benchmark versus external pools results X-Git-Tag: v2.7.0~4^2 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=bc099e128fc7107e721c663d26c67a3ceb9f570f;p=poolifier.git docs: update benchmark versus external pools results --- diff --git a/benchmarks/versus-external-pools/BENCH-100000.json b/benchmarks/versus-external-pools/BENCH-100000.json index 0addc39f..6b36c35f 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.38775277876, - "stddev": 0.21814144254436024, - "median": 11.322953913460001, - "user": 84.1076975, - "system": 0.5040721699999999, - "min": 11.09516876446, - "max": 11.968054307460001, + "mean": 11.460686491090003, + "stddev": 0.25081970175174806, + "median": 11.46798398764, + "user": 83.98807101, + "system": 0.5325650499999999, + "min": 11.07185692914, + "max": 12.084592454140001, "times": [ - 11.30993804246, - 11.12423357746, - 11.09516876446, - 11.243529182460001, - 11.335969784460001, - 11.62250313446, - 11.30749717546, - 11.28648984846, - 11.25674298346, - 11.283455490460002, - 11.23508097346, - 11.44634368446, - 11.515924098460001, - 11.968054307460001, - 11.415602276460001, - 11.83597362146, - 11.33651149946, - 11.46193862446, - 11.44847444546, - 11.225624060460001 + 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 ], "exit_codes": [ 0, @@ -56,34 +56,34 @@ }, { "command": "node fixed-poolifier.mjs", - "mean": 11.46230425816, - "stddev": 0.3478555765048522, - "median": 11.343040398460001, - "user": 84.27904735, - "system": 0.46538152000000005, - "min": 11.176994353460001, - "max": 12.49158253046, + "mean": 11.542970538490001, + "stddev": 0.34367513099545477, + "median": 11.455383519640002, + "user": 84.24208270999999, + "system": 0.5048741999999999, + "min": 11.11264735714, + "max": 12.43351513114, "times": [ - 12.25638341246, - 11.440140667460001, - 11.64586965546, - 11.61672521546, - 11.384420156460001, - 11.26919080146, - 11.225281991460001, - 11.18516631446, - 11.21587308846, - 11.299301128460002, - 11.60739339046, - 11.25156701146, - 11.441573252460001, - 11.45096601446, - 11.176994353460001, - 11.526435495460001, - 11.19863245546, - 11.30166064046, - 12.49158253046, - 11.260927587460001 + 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 ], "exit_codes": [ 0, @@ -110,34 +110,34 @@ }, { "command": "node dynamic-piscina.mjs", - "mean": 13.937160038160002, - "stddev": 0.229091928711562, - "median": 13.882523518460001, - "user": 84.04203304999999, - "system": 0.8436164199999998, - "min": 13.718860815460001, - "max": 14.66832118446, + "mean": 14.00370990509, + "stddev": 0.195190646587577, + "median": 13.95897025564, + "user": 84.30038051, + "system": 0.8942395499999998, + "min": 13.74530090314, + "max": 14.404787197140001, "times": [ - 14.03558020446, - 14.16590890346, - 13.99332147246, - 14.08325131246, - 13.870321262460001, - 13.734451419460001, - 13.728452562460001, - 13.74543546846, - 13.718860815460001, - 13.80617790846, - 13.94562747846, - 14.66832118446, - 14.22665535246, - 13.81393658746, - 13.894725774460001, - 13.77916151246, - 13.903918667460001, - 13.788681807460001, - 14.054059612460001, - 13.78635145646 + 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 ], "exit_codes": [ 0, @@ -164,34 +164,34 @@ }, { "command": "node fixed-piscina.mjs", - "mean": 13.992389136160003, - "stddev": 0.21553593896680856, - "median": 13.924619035460001, - "user": 84.08106079999997, - "system": 0.8509846700000001, - "min": 13.81159969746, - "max": 14.774044333460001, + "mean": 13.971157231290002, + "stddev": 0.18748653009873717, + "median": 13.954581861640001, + "user": 84.05523740999999, + "system": 0.897861, + "min": 13.749618012140001, + "max": 14.60467247114, "times": [ - 14.086994330460001, - 13.90729217046, - 13.86176053346, - 13.88929074546, - 14.774044333460001, - 13.844506500460001, - 14.05363500246, - 14.009661020460001, - 13.81159969746, - 13.870511247460001, - 14.223842275460001, - 13.94194590046, - 13.83992894346, - 13.883734865460001, - 13.86473938946, - 14.04273950646, - 14.11619627246, - 13.82254833046, - 14.00192251046, - 14.00088914746 + 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 ], "exit_codes": [ 0, @@ -218,34 +218,34 @@ }, { "command": "node dynamic-tinypool.mjs", - "mean": 14.096936285309999, - "stddev": 0.19900778421420295, - "median": 14.02609740946, - "user": 84.20009844999998, - "system": 1.7178851199999996, - "min": 13.93505015046, - "max": 14.81120361146, + "mean": 14.078402252840002, + "stddev": 0.17964768548679533, + "median": 14.035605996640001, + "user": 84.20895296, + "system": 1.7079841500000001, + "min": 13.87159967414, + "max": 14.415486299140001, "times": [ - 14.208924987460001, - 14.09905080046, - 14.20386783746, - 14.24480254746, - 13.93505015046, - 14.01671994746, - 14.230109652460001, - 13.93849528246, - 13.98242186046, - 14.05876891446, - 13.94230319246, - 13.96491007046, - 14.81120361146, - 14.18733046946, - 13.97353044546, - 14.03547487146, - 13.958262447460001, - 14.014351195460002, - 14.137249416460001, - 13.99589800546 + 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 ], "exit_codes": [ 0, @@ -272,34 +272,34 @@ }, { "command": "node fixed-tinypool.mjs", - "mean": 14.114958578909997, - "stddev": 0.2949376571329516, - "median": 14.01824693846, - "user": 84.24157754999999, - "system": 1.71350162, - "min": 13.90632764046, - "max": 15.263442341460001, + "mean": 14.04153995254, + "stddev": 0.21579330760949478, + "median": 13.977037514640001, + "user": 84.21406685999999, + "system": 1.7156961, + "min": 13.85588257614, + "max": 14.77938356414, "times": [ - 13.952656002460001, - 14.255859390460001, - 13.98329107846, - 14.096960776460001, - 13.93821709246, - 15.263442341460001, - 14.01646927446, - 13.99174837846, - 14.23345116446, - 14.05715108046, - 14.020024602460001, - 14.300898976460001, - 14.06711578046, - 13.94912018646, - 14.107705603460001, - 13.90632764046, - 13.94934941446, - 14.24450483046, - 13.974803324460002, - 13.990074639460001 + 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 ], "exit_codes": [ 0, @@ -326,34 +326,34 @@ }, { "command": "node dynamic-workerpool.mjs", - "mean": 14.681753711659999, - "stddev": 0.2400606262903193, - "median": 14.604875168460001, - "user": 86.6164715, - "system": 1.2728079700000001, - "min": 14.52986027546, - "max": 15.55808115446, + "mean": 14.668654660189997, + "stddev": 0.1751780961079337, + "median": 14.62452225564, + "user": 86.67234151, + "system": 1.32287635, + "min": 14.478081427140001, + "max": 15.07487723414, "times": [ - 14.559261749460001, - 14.588939016460001, - 14.607337818460001, - 14.60859866646, - 14.63245854246, - 14.582767051460001, - 14.55138562546, - 14.552110585460001, - 14.88595821646, - 14.536488308460001, - 14.639910783460001, - 14.52986027546, - 14.602412518460001, - 15.55808115446, - 14.63071204146, - 15.026919060460001, - 14.738571309460001, - 14.56531893746, - 14.56359945146, - 14.67438312046 + 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 ], "exit_codes": [ 0, @@ -380,34 +380,34 @@ }, { "command": "node fixed-workerpool.mjs", - "mean": 14.680175613009997, - "stddev": 0.2356851209518685, - "median": 14.61465628696, - "user": 86.6167816, - "system": 1.2898563200000002, - "min": 14.516381733460001, - "max": 15.59665105046, + "mean": 14.69618620404, + "stddev": 0.19135706242263026, + "median": 14.63742826764, + "user": 86.63727986, + "system": 1.31793365, + "min": 14.49212330914, + "max": 15.232266306140001, "times": [ - 14.55862540246, - 14.52901964346, - 14.86898440446, - 14.562203056460001, - 14.516381733460001, - 15.59665105046, - 14.57120791146, - 14.53163276846, - 14.69710360646, - 14.77770262546, - 14.60904563146, - 14.62086720946, - 14.65774416946, - 14.73020348446, - 14.62026694246, - 14.576965838460001, - 14.768841118460001, - 14.66791479846, - 14.56480301246, - 14.57734785246 + 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 ], "exit_codes": [ 0, @@ -434,34 +434,34 @@ }, { "command": "node dynamic-worker-nodes.js", - "mean": 14.030061484109998, - "stddev": 0.22263174711116565, - "median": 13.92871746446, - "user": 84.60114124999998, - "system": 0.9989583699999999, - "min": 13.85789385046, - "max": 14.74120114546, + "mean": 13.93325881829, + "stddev": 0.17110973279191732, + "median": 13.90770618014, + "user": 84.50858151000001, + "system": 0.9973983999999998, + "min": 13.756689403140001, + "max": 14.565890296140001, "times": [ - 14.000125007460001, - 14.22527179146, - 14.41283871046, - 13.927715796460001, - 14.021138309460001, - 14.079100440460001, - 13.887039986460001, - 13.904711069460001, - 13.85789385046, - 13.92971913246, - 13.86522954746, - 13.86882945846, - 13.889849552460001, - 14.74120114546, - 13.90929465346, - 14.05654528146, - 14.13602967846, - 13.86591991046, - 13.879716911460001, - 14.14305944846 + 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 ], "exit_codes": [ 0, @@ -488,34 +488,34 @@ }, { "command": "node fixed-worker-nodes.js", - "mean": 14.090368531909998, - "stddev": 0.3076576317266353, - "median": 13.99215154446, - "user": 84.98271014999999, - "system": 1.00467197, - "min": 13.84355794846, - "max": 15.00155079846, + "mean": 13.95950815399, + "stddev": 0.183579434360206, + "median": 13.91979540564, + "user": 84.55706836, + "system": 0.9847505999999999, + "min": 13.79147062814, + "max": 14.546362315140001, "times": [ - 14.015959611460001, - 13.92001556646, - 14.84334286246, - 14.04234853046, - 14.265114777460001, - 13.87333557846, - 15.00155079846, - 13.864613525460001, - 13.94095905446, - 14.040781716460002, - 13.90499536746, - 14.15359413446, - 14.055995645460001, - 14.070721567460001, - 14.212150927460002, - 13.968343477460001, - 13.84355794846, - 13.88516634246, - 13.942383145460001, - 13.96244006046 + 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 ], "exit_codes": [ 0, @@ -542,34 +542,34 @@ }, { "command": "node dynamic-node-worker-threads-pool.mjs", - "mean": 21.68484885611, - "stddev": 0.22261295623182029, - "median": 21.67147202596, - "user": 131.04754154999998, - "system": 3.03152762, - "min": 21.400928596460002, - "max": 22.34736087146, + "mean": 21.705377271690004, + "stddev": 0.2812675075823154, + "median": 21.63110223964, + "user": 131.74272690999996, + "system": 2.9979596999999996, + "min": 21.38744876514, + "max": 22.52470514014, "times": [ - 21.56024177046, - 21.48610095446, - 21.68407591546, - 21.62062261946, - 22.082017771460002, - 21.67961387246, - 21.42356214146, - 21.69828741146, - 21.48083360646, - 22.34736087146, - 21.52667393746, - 21.400928596460002, - 21.83596035446, - 21.68981503746, - 21.72574589646, - 21.82951303046, - 21.61963545746, - 21.66333017946, - 21.57262877446, - 21.77002892346 + 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 ], "exit_codes": [ 0, @@ -596,34 +596,34 @@ }, { "command": "node static-node-worker-threads-pool.mjs", - "mean": 14.270170613260001, - "stddev": 0.1579166816744183, - "median": 14.235921261960002, - "user": 85.1878685, - "system": 1.09225012, - "min": 14.11782969246, - "max": 14.774521551460001, + "mean": 14.23932392959, + "stddev": 0.22039778369683194, + "median": 14.17214841014, + "user": 85.21785320999996, + "system": 1.09816055, + "min": 14.04185371914, + "max": 15.02877590314, "times": [ - 14.16006951846, - 14.15875204746, - 14.40730001746, - 14.16968189146, - 14.16330470446, - 14.137275713460001, - 14.33877469846, - 14.236694597460001, - 14.157617314460001, - 14.127407380460001, - 14.46303352946, - 14.317866849460001, - 14.11782969246, - 14.774521551460001, - 14.29280415746, - 14.13835122046, - 14.23514792646, - 14.31303554946, - 14.310772611460001, - 14.38317129346 + 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 ], "exit_codes": [ 0, @@ -650,34 +650,34 @@ }, { "command": "node fixed-nanothreads.mjs", - "mean": 13.269334259860003, - "stddev": 0.16067441763181775, - "median": 13.20688639446, - "user": 82.4979613, - "system": 0.8987518699999999, - "min": 13.14650321146, - "max": 13.817360158460001, + "mean": 13.332148464840003, + "stddev": 0.2677936691595618, + "median": 13.22471509514, + "user": 82.76726615999999, + "system": 0.9324920999999999, + "min": 13.08697098314, + "max": 14.10655408014, "times": [ - 13.30601118146, - 13.16215502446, - 13.200675398460001, - 13.33151432746, - 13.14650321146, - 13.16177767846, - 13.817360158460001, - 13.55353890946, - 13.17802685046, - 13.21301545146, - 13.271532180460001, - 13.15114981546, - 13.17773262146, - 13.20075733746, - 13.287240161460002, - 13.235149122460001, - 13.34948417246, - 13.17759174246, - 13.189423852460001, - 13.27604599946 + 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 ], "exit_codes": [ 0, diff --git a/benchmarks/versus-external-pools/BENCH-100000.md b/benchmarks/versus-external-pools/BENCH-100000.md index a3176fec..8cc05329 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.388 ± 0.218 | 11.095 | 11.968 | 1.00 | -| `node fixed-poolifier.mjs` | 11.462 ± 0.348 | 11.177 | 12.492 | 1.01 ± 0.04 | -| `node dynamic-piscina.mjs` | 13.937 ± 0.229 | 13.719 | 14.668 | 1.22 ± 0.03 | -| `node fixed-piscina.mjs` | 13.992 ± 0.216 | 13.812 | 14.774 | 1.23 ± 0.03 | -| `node dynamic-tinypool.mjs` | 14.097 ± 0.199 | 13.935 | 14.811 | 1.24 ± 0.03 | -| `node fixed-tinypool.mjs` | 14.115 ± 0.295 | 13.906 | 15.263 | 1.24 ± 0.04 | -| `node dynamic-workerpool.mjs` | 14.682 ± 0.240 | 14.530 | 15.558 | 1.29 ± 0.03 | -| `node fixed-workerpool.mjs` | 14.680 ± 0.236 | 14.516 | 15.597 | 1.29 ± 0.03 | -| `node dynamic-worker-nodes.js` | 14.030 ± 0.223 | 13.858 | 14.741 | 1.23 ± 0.03 | -| `node fixed-worker-nodes.js` | 14.090 ± 0.308 | 13.844 | 15.002 | 1.24 ± 0.04 | -| `node dynamic-node-worker-threads-pool.mjs` | 21.685 ± 0.223 | 21.401 | 22.347 | 1.90 ± 0.04 | -| `node static-node-worker-threads-pool.mjs` | 14.270 ± 0.158 | 14.118 | 14.775 | 1.25 ± 0.03 | -| `node fixed-nanothreads.mjs` | 13.269 ± 0.161 | 13.147 | 13.817 | 1.17 ± 0.03 | +| `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 |