From: Benchmark Bot Date: Fri, 22 Sep 2023 04:44:28 +0000 (+0200) Subject: docs: update benchmark versus external pools results X-Git-Tag: v2.7.2~16 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=08e601ef458ff77ee33188da1a5f3be35bd808f6;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 822fad15..f529ffee 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.517075011299998, - "stddev": 0.17365873318929576, - "median": 11.4746349622, - "user": 84.22775219, - "system": 0.5493918200000001, - "min": 11.3077805027, - "max": 11.8902412827, + "mean": 11.55075054077, + "stddev": 0.20784293767846143, + "median": 11.54467570412, + "user": 84.0660399, + "system": 0.5622882199999999, + "min": 11.208749281620001, + "max": 12.25473233162, "times": [ - 11.4204066237, - 11.488122579699999, - 11.4032407277, - 11.3077805027, - 11.681435475699999, - 11.875620096699999, - 11.319024922699999, - 11.4649120207, - 11.6685804637, - 11.7090688537, - 11.3845411787, - 11.3584847427, - 11.4485860807, - 11.3730970867, - 11.5478303937, - 11.4843579037, - 11.8902412827, - 11.4943996397, - 11.3717475497, - 11.6500221007 + 11.49684047062, + 11.56312437962, + 11.208749281620001, + 11.67328100762, + 12.25473233162, + 11.54428540062, + 11.46021319862, + 11.44752011262, + 11.59018277462, + 11.628013105620001, + 11.44637723462, + 11.649140772620001, + 11.60700196362, + 11.28643609162, + 11.581596236620001, + 11.545066007620001, + 11.69568724462, + 11.49889742162, + 11.49206031562, + 11.34580546362 ], "exit_codes": [ 0, @@ -56,34 +56,34 @@ }, { "command": "node fixed-poolifier.mjs", - "mean": 11.624643033900002, - "stddev": 0.3469975408801143, - "median": 11.5152519502, - "user": 84.93002959, - "system": 0.5601894699999999, - "min": 11.3104290727, - "max": 12.7207541557, + "mean": 11.613179987920002, + "stddev": 0.26505522925356295, + "median": 11.55083026362, + "user": 84.7942242, + "system": 0.55555797, + "min": 11.29344093662, + "max": 12.12779164362, "times": [ - 11.9846601917, - 11.453910598699999, - 11.427169894699999, - 11.5100918507, - 11.805498069699999, - 11.384015463699999, - 11.381273264699999, - 11.4353585247, - 11.5832594927, - 11.5236275137, - 12.7207541557, - 11.520412049699999, - 11.3858191477, - 11.575685541699999, - 11.6969323357, - 11.6435049167, - 11.3104290727, - 11.3783631657, - 12.2771274877, - 11.494967939699999 + 12.00907242062, + 11.36196327262, + 11.53659212462, + 11.59175335362, + 11.63676922962, + 11.51177642162, + 11.56506840262, + 11.375838938620001, + 12.06459027962, + 11.67329544262, + 11.430171919620001, + 12.00614824362, + 11.44961893662, + 11.32179300862, + 11.29344093662, + 11.64870515262, + 11.31450366462, + 12.12779164362, + 11.85632421162, + 11.48838215462 ], "exit_codes": [ 0, @@ -110,34 +110,34 @@ }, { "command": "node dynamic-piscina.mjs", - "mean": 13.939101133249997, - "stddev": 0.17646420104122412, - "median": 13.8906058832, - "user": 83.98623664000002, - "system": 0.83025732, - "min": 13.7922229547, - "max": 14.5933785867, + "mean": 13.973407722470004, + "stddev": 0.12606064145604856, + "median": 13.96243489162, + "user": 83.8592749, + "system": 0.8513755699999999, + "min": 13.818597114620001, + "max": 14.19692715462, "times": [ - 13.9680642087, - 13.8338785047, - 14.0234359057, - 13.8775363047, - 13.8881145817, - 14.070889698699999, - 13.8090275937, - 13.9348517097, - 13.8421640987, - 13.7958518697, - 13.8163081367, - 14.5933785867, - 13.8606882177, - 13.845226345699999, - 13.9619896147, - 14.0611455287, - 13.8930971847, - 13.9115531517, - 14.002598467699999, - 13.7922229547 + 14.06185216562, + 13.92105195962, + 14.06125208562, + 13.818597114620001, + 13.847389768620001, + 14.04154631562, + 13.83880104562, + 13.83042812062, + 14.19692715462, + 13.835554932620001, + 14.07950664062, + 14.19050766862, + 13.843402922620001, + 13.889904660620001, + 14.00672743562, + 14.10822115462, + 13.91654367762, + 14.10098146662, + 14.00381782362, + 13.875140335620001 ], "exit_codes": [ 0, @@ -164,34 +164,34 @@ }, { "command": "node fixed-piscina.mjs", - "mean": 13.995816192500001, - "stddev": 0.1644748734258061, - "median": 13.9193995067, - "user": 84.15829484000001, - "system": 0.8392032199999999, - "min": 13.824415346699999, - "max": 14.4707315307, + "mean": 14.053764739920002, + "stddev": 0.23959786134968566, + "median": 13.95764937112, + "user": 84.02636405, + "system": 0.87365207, + "min": 13.85794257062, + "max": 14.72543876362, "times": [ - 13.903527063699999, - 14.077233933699999, - 13.8851314107, - 14.1072110667, - 14.224034546699999, - 13.8554057827, - 13.9002750497, - 13.8489254537, - 14.1026002667, - 13.976158436699999, - 13.824415346699999, - 14.119213628699999, - 13.828065494699999, - 13.8996984157, - 14.1540565857, - 13.891788523699999, - 13.935271949699999, - 14.0259600017, - 13.8866193617, - 14.4707315307 + 14.038924638620001, + 14.05329965862, + 13.93005735762, + 14.523645955620001, + 14.31483429462, + 13.96267422562, + 14.00971030162, + 13.88331723162, + 13.879136070620001, + 13.92886326862, + 13.947792811620001, + 14.06202611762, + 13.923721671620001, + 13.85794257062, + 14.36705413962, + 13.86885786562, + 13.86680788262, + 13.97856545562, + 13.95262451662, + 14.72543876362 ], "exit_codes": [ 0, @@ -218,34 +218,34 @@ }, { "command": "node dynamic-tinypool.mjs", - "mean": 14.090964626049999, - "stddev": 0.20090470730826157, - "median": 14.0314188307, - "user": 84.19936174, - "system": 1.70140432, - "min": 13.910071950699999, - "max": 14.8516540877, + "mean": 14.192497767819997, + "stddev": 0.19898661212872024, + "median": 14.11589190162, + "user": 84.1778193, + "system": 1.7365379699999999, + "min": 13.94773604262, + "max": 14.80781905662, "times": [ - 14.0280445017, - 13.910071950699999, - 14.0152350087, - 13.9986178647, - 14.0347931597, - 13.9544138647, - 13.985207919699999, - 14.1831754427, - 13.9729564437, - 14.0725064147, - 14.212651810699999, - 13.9754025077, - 14.8516540877, - 13.957963267699999, - 13.9920370027, - 14.130509653699999, - 14.2395567257, - 14.0930658357, - 14.1358990157, - 14.075530042699999 + 14.20720532062, + 14.04648268462, + 14.104579256620001, + 14.04690160262, + 14.01935088262, + 14.058559025620001, + 13.94773604262, + 14.094982635620001, + 14.24299566062, + 14.06452185362, + 14.322297324620001, + 14.12720454662, + 14.80781905662, + 14.46353298062, + 14.22939591562, + 14.28063325362, + 14.37698363062, + 14.08703260862, + 14.02650351062, + 14.29523756362 ], "exit_codes": [ 0, @@ -272,34 +272,34 @@ }, { "command": "node fixed-tinypool.mjs", - "mean": 14.099658991049997, - "stddev": 0.18515549675774118, - "median": 14.039694771699999, - "user": 84.21823679000002, - "system": 1.7255008200000002, - "min": 13.9449027557, - "max": 14.7816315177, + "mean": 14.09691643987, + "stddev": 0.1504750906527409, + "median": 14.04235217862, + "user": 84.05017995, + "system": 1.7184885700000003, + "min": 13.94850102362, + "max": 14.62660283162, "times": [ - 14.0343368117, - 14.074642513699999, - 13.9449027557, - 14.190145725699999, - 13.966181174699999, - 14.7816315177, - 14.009755172699998, - 13.985529588699999, - 14.0160527697, - 14.1455350707, - 13.984570849699999, - 14.158615549699999, - 14.113914312699999, - 14.1879094707, - 14.012237770699999, - 14.289282798699999, - 13.9707977167, - 14.097883721699999, - 14.045052731699998, - 13.984201797699999 + 14.04177983062, + 14.08265744262, + 14.04292452662, + 14.04115693162, + 14.62660283162, + 14.20428710862, + 14.03022654662, + 14.10612761262, + 13.97973396762, + 14.15177939462, + 14.11761993362, + 14.024605341620001, + 14.161442815620001, + 14.02377354362, + 13.989944769620001, + 14.16264722262, + 13.98007053662, + 13.94850102362, + 14.253614819620001, + 13.96883259762 ], "exit_codes": [ 0, @@ -326,34 +326,34 @@ }, { "command": "node dynamic-workerpool.mjs", - "mean": 14.67594446165, - "stddev": 0.14382506399220507, - "median": 14.629151263199999, - "user": 86.54721194, - "system": 1.25223517, - "min": 14.5304072957, - "max": 15.1687742607, + "mean": 14.67497597497, + "stddev": 0.1370350339095064, + "median": 14.65934658912, + "user": 86.53396505, + "system": 1.2622574700000002, + "min": 14.52780176562, + "max": 15.14487437562, "times": [ - 14.578824922699999, - 14.655441887699999, - 14.5971402557, - 14.6083283187, - 14.7725134017, - 14.628248398699998, - 14.5956574067, - 14.5568489397, - 14.746782701699999, - 14.5906152347, - 14.5304072957, - 14.7719754947, - 14.6300541277, - 15.1687742607, - 14.8030276777, - 14.5923379947, - 14.696538285699999, - 14.7904841397, - 14.652369243699999, - 14.5525192447 + 14.66725246662, + 14.799724129620001, + 14.68276268462, + 14.65987088462, + 14.72250008262, + 14.52780176562, + 14.64081424762, + 14.553551029620001, + 14.54776240462, + 14.558504302620001, + 14.77122116262, + 14.59935780662, + 15.14487437562, + 14.750654324620001, + 14.591429702620001, + 14.56554472262, + 14.60317633562, + 14.72992723562, + 14.65882229362, + 14.72396754162 ], "exit_codes": [ 0, @@ -380,34 +380,34 @@ }, { "command": "node fixed-workerpool.mjs", - "mean": 14.795293610200002, - "stddev": 0.3248177406553838, - "median": 14.6741203842, - "user": 87.16398848999998, - "system": 1.29379087, - "min": 14.540513043699999, - "max": 15.5959834007, + "mean": 14.69457236522, + "stddev": 0.1232975199525343, + "median": 14.66410519462, + "user": 86.51533105000001, + "system": 1.2781065699999998, + "min": 14.550273241620001, + "max": 15.00217120962, "times": [ - 14.791509979699999, - 14.5635565887, - 14.6558059987, - 14.7826515757, - 14.540513043699999, - 15.5015678167, - 14.8564733407, - 15.5959834007, - 15.427572848699999, - 14.7920485857, - 14.6140659417, - 14.5488275457, - 14.769742765699998, - 14.543619524699999, - 14.634029157699999, - 14.6924347697, - 14.5891852627, - 14.6461610907, - 14.8169461117, - 14.543176854699999 + 14.76833047162, + 14.62487165762, + 14.550273241620001, + 14.760369668620001, + 14.78581828762, + 14.856696578620001, + 14.76110289762, + 14.64749807662, + 14.59037134662, + 14.86512815562, + 14.72713868462, + 14.58603997362, + 15.00217120962, + 14.61677551462, + 14.57624728462, + 14.75706327362, + 14.57927932762, + 14.58032688562, + 14.68071231262, + 14.57523245562 ], "exit_codes": [ 0, @@ -434,34 +434,34 @@ }, { "command": "node dynamic-worker-nodes.js", - "mean": 14.006306671450005, - "stddev": 0.22375075076755777, - "median": 13.9132314997, - "user": 84.46346359000002, - "system": 0.9531217199999998, - "min": 13.8358206147, - "max": 14.7758125887, + "mean": 14.048048310819999, + "stddev": 0.14723886254177104, + "median": 14.025298082119999, + "user": 84.35732225, + "system": 0.9675568199999999, + "min": 13.838983238620001, + "max": 14.40751339162, "times": [ - 14.0140711787, - 13.8885032287, - 13.845342451699999, - 13.8872573217, - 13.8750077827, - 13.955803228699999, - 13.927269167699999, - 13.903233176699999, - 14.1937128357, - 13.852013960699999, - 13.8847839117, - 14.265074023699999, - 13.8733625697, - 14.7758125887, - 14.0549250987, - 14.0605450527, - 13.8762655957, - 14.234099817699999, - 13.8358206147, - 13.9232298227 + 13.98548984062, + 14.08970463962, + 13.87836158462, + 13.99712773862, + 14.07679108862, + 13.939836404620001, + 13.838983238620001, + 13.85229790262, + 14.064703445620001, + 14.200368300620001, + 13.898175762620001, + 14.02633352062, + 14.40751339162, + 14.190043108620001, + 14.207460342620001, + 14.02383271262, + 14.18817273162, + 14.02426264362, + 14.173625984620001, + 13.89788183362 ], "exit_codes": [ 0, @@ -488,34 +488,34 @@ }, { "command": "node fixed-worker-nodes.js", - "mean": 14.105925618299997, - "stddev": 0.3225190539007709, - "median": 14.0065403742, - "user": 85.10756244000001, - "system": 0.9718339699999999, - "min": 13.8650086397, - "max": 15.1278958707, + "mean": 13.996590398470001, + "stddev": 0.16909745188188294, + "median": 13.994809645620002, + "user": 84.36044275, + "system": 0.9485802700000001, + "min": 13.761760496620001, + "max": 14.53081241762, "times": [ - 13.905225956699999, - 14.3831105737, - 13.891159326699999, - 14.0216875597, - 15.1278958707, - 14.1603699937, - 14.2723834107, - 14.1393096687, - 14.0052006137, - 14.7418588287, - 14.1093754447, - 13.8675168517, - 13.8650086397, - 14.007880134699999, - 13.883618108699999, - 13.8829475107, - 13.9057535087, - 13.939706831699999, - 13.9640272187, - 14.044476313699999 + 13.86936892962, + 13.90594915762, + 14.13784491862, + 13.826044532620001, + 13.98525799662, + 14.53081241762, + 14.04641502362, + 14.07292816162, + 13.99386185962, + 13.80695795762, + 14.095169697620001, + 13.995757431620001, + 13.89231966062, + 14.131793033620001, + 13.908948240620001, + 14.07733845862, + 14.01897876262, + 14.047289388620001, + 13.827011843620001, + 13.761760496620001 ], "exit_codes": [ 0, @@ -542,34 +542,34 @@ }, { "command": "node dynamic-node-worker-threads-pool.mjs", - "mean": 21.89325076655, - "stddev": 0.39962221140800397, - "median": 21.8019442232, - "user": 131.21565293999998, - "system": 3.01175297, - "min": 21.398443804699998, - "max": 23.0283389337, + "mean": 21.97662583142, + "stddev": 0.6672546633141192, + "median": 21.82985098262, + "user": 131.04691445000003, + "system": 3.0887052199999996, + "min": 21.28345642562, + "max": 24.28272923262, "times": [ - 21.6024599277, - 21.900909524699998, - 21.8478243527, - 21.8216323847, - 21.398443804699998, - 21.6193536097, - 21.6454569317, - 21.5479520317, - 21.6915914197, - 22.771307293699998, - 21.7866303047, - 21.7350442507, - 21.9184848837, - 21.7932954917, - 21.6473305147, - 22.0662678337, - 23.0283389337, - 22.337793197699998, - 21.8105929547, - 21.8943056847 + 21.50610942462, + 21.804103540619998, + 21.536169493619997, + 21.87821395962, + 21.595659144619997, + 21.36212944262, + 21.28345642562, + 21.88421341662, + 21.73865415062, + 22.431645293619997, + 21.41537478462, + 21.85559842462, + 21.99412199862, + 21.74829523262, + 21.54830455862, + 22.52473501362, + 22.48596393662, + 22.190858179619998, + 22.46618097462, + 24.28272923262 ], "exit_codes": [ 0, @@ -596,34 +596,34 @@ }, { "command": "node static-node-worker-threads-pool.mjs", - "mean": 14.317677611499999, - "stddev": 0.18925853188650438, - "median": 14.2634858352, - "user": 85.10410269000002, - "system": 1.08961282, - "min": 14.1394555597, - "max": 14.935598042699999, + "mean": 14.306202341619999, + "stddev": 0.2632666059144555, + "median": 14.21780076962, + "user": 85.15384659999998, + "system": 1.07572542, + "min": 14.08138596362, + "max": 15.22225964962, "times": [ - 14.361963102699999, - 14.213083789699999, - 14.6058109807, - 14.189869458699999, - 14.176760717699999, - 14.386826167699999, - 14.269773384699999, - 14.1394555597, - 14.3488881377, - 14.1944064837, - 14.1902484667, - 14.3800710097, - 14.2012408987, - 14.935598042699999, - 14.4294507337, - 14.148143999699998, - 14.2571982857, - 14.424389136699999, - 14.1710380667, - 14.3293358067 + 14.16626518162, + 14.14619240662, + 14.36406147262, + 14.289970632620001, + 14.14798653062, + 15.22225964962, + 14.167416942620001, + 14.11097538862, + 14.29138366262, + 14.16712937262, + 14.19873346362, + 14.32046836662, + 14.69497677562, + 14.39514647662, + 14.54020019162, + 14.23686807562, + 14.08138596362, + 14.12801243562, + 14.19700797862, + 14.25760586462 ], "exit_codes": [ 0, @@ -650,34 +650,34 @@ }, { "command": "node fixed-nanothreads.mjs", - "mean": 13.28965104545, - "stddev": 0.21676366324606136, - "median": 13.238329154199999, - "user": 82.32959034000001, - "system": 0.8696058699999998, - "min": 13.110526265699999, - "max": 14.128961326699999, + "mean": 13.275570773070001, + "stddev": 0.17261045049305512, + "median": 13.20598138862, + "user": 82.18376609999999, + "system": 0.8734752699999998, + "min": 13.09431488162, + "max": 13.69663597462, "times": [ - 13.117120175699998, - 13.3725139407, - 13.221517152699999, - 13.2461420947, - 13.3658431887, - 13.1392042027, - 14.128961326699999, - 13.2287555127, - 13.2183025337, - 13.2637920957, - 13.164756217699999, - 13.4297204567, - 13.2435406627, - 13.110526265699999, - 13.384056398699999, - 13.2331176457, - 13.216048445699998, - 13.307228925699999, - 13.154997462699999, - 13.2468762037 + 13.12369985862, + 13.43738152862, + 13.23992474462, + 13.09431488162, + 13.40385113962, + 13.69663597462, + 13.58119932362, + 13.17113666662, + 13.26585302162, + 13.17042117862, + 13.09451195862, + 13.485352284620001, + 13.20894043762, + 13.19463970562, + 13.43447609162, + 13.158138580620001, + 13.13018234862, + 13.28430560562, + 13.20302233962, + 13.13342779062 ], "exit_codes": [ 0, diff --git a/benchmarks/versus-external-pools/BENCH-100000.md b/benchmarks/versus-external-pools/BENCH-100000.md index 21126e78..4aadc325 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.517 ± 0.174 | 11.308 | 11.890 | 1.00 | -| `node fixed-poolifier.mjs` | 11.625 ± 0.347 | 11.310 | 12.721 | 1.01 ± 0.03 | -| `node dynamic-piscina.mjs` | 13.939 ± 0.176 | 13.792 | 14.593 | 1.21 ± 0.02 | -| `node fixed-piscina.mjs` | 13.996 ± 0.164 | 13.824 | 14.471 | 1.22 ± 0.02 | -| `node dynamic-tinypool.mjs` | 14.091 ± 0.201 | 13.910 | 14.852 | 1.22 ± 0.03 | -| `node fixed-tinypool.mjs` | 14.100 ± 0.185 | 13.945 | 14.782 | 1.22 ± 0.02 | -| `node dynamic-workerpool.mjs` | 14.676 ± 0.144 | 14.530 | 15.169 | 1.27 ± 0.02 | -| `node fixed-workerpool.mjs` | 14.795 ± 0.325 | 14.541 | 15.596 | 1.28 ± 0.03 | -| `node dynamic-worker-nodes.js` | 14.006 ± 0.224 | 13.836 | 14.776 | 1.22 ± 0.03 | -| `node fixed-worker-nodes.js` | 14.106 ± 0.323 | 13.865 | 15.128 | 1.22 ± 0.03 | -| `node dynamic-node-worker-threads-pool.mjs` | 21.893 ± 0.400 | 21.398 | 23.028 | 1.90 ± 0.05 | -| `node static-node-worker-threads-pool.mjs` | 14.318 ± 0.189 | 14.139 | 14.936 | 1.24 ± 0.02 | -| `node fixed-nanothreads.mjs` | 13.290 ± 0.217 | 13.111 | 14.129 | 1.15 ± 0.03 | +| `node dynamic-poolifier.mjs` | 11.551 ± 0.208 | 11.209 | 12.255 | 1.00 | +| `node fixed-poolifier.mjs` | 11.613 ± 0.265 | 11.293 | 12.128 | 1.01 ± 0.03 | +| `node dynamic-piscina.mjs` | 13.973 ± 0.126 | 13.819 | 14.197 | 1.21 ± 0.02 | +| `node fixed-piscina.mjs` | 14.054 ± 0.240 | 13.858 | 14.725 | 1.22 ± 0.03 | +| `node dynamic-tinypool.mjs` | 14.192 ± 0.199 | 13.948 | 14.808 | 1.23 ± 0.03 | +| `node fixed-tinypool.mjs` | 14.097 ± 0.150 | 13.949 | 14.627 | 1.22 ± 0.03 | +| `node dynamic-workerpool.mjs` | 14.675 ± 0.137 | 14.528 | 15.145 | 1.27 ± 0.03 | +| `node fixed-workerpool.mjs` | 14.695 ± 0.123 | 14.550 | 15.002 | 1.27 ± 0.03 | +| `node dynamic-worker-nodes.js` | 14.048 ± 0.147 | 13.839 | 14.408 | 1.22 ± 0.03 | +| `node fixed-worker-nodes.js` | 13.997 ± 0.169 | 13.762 | 14.531 | 1.21 ± 0.03 | +| `node dynamic-node-worker-threads-pool.mjs` | 21.977 ± 0.667 | 21.283 | 24.283 | 1.90 ± 0.07 | +| `node static-node-worker-threads-pool.mjs` | 14.306 ± 0.263 | 14.081 | 15.222 | 1.24 ± 0.03 | +| `node fixed-nanothreads.mjs` | 13.276 ± 0.173 | 13.094 | 13.697 | 1.15 ± 0.03 |