From: Benchmark Bot Date: Thu, 21 Sep 2023 04:44:22 +0000 (+0200) Subject: docs: update benchmark versus external pools results X-Git-Tag: v2.7.2~21 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=be7ac77efaa4c12f91a711020c8555f702d428d6;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 11516e1e..822fad15 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.780293908929998, - "stddev": 0.21686218608049407, - "median": 11.730158184979999, - "user": 84.65206246, - "system": 0.59333353, - "min": 11.51368874148, - "max": 12.20751107648, + "mean": 11.517075011299998, + "stddev": 0.17365873318929576, + "median": 11.4746349622, + "user": 84.22775219, + "system": 0.5493918200000001, + "min": 11.3077805027, + "max": 11.8902412827, "times": [ - 11.52159916448, - 11.771522551479999, - 11.852381982479999, - 12.20751107648, - 11.95769771048, - 11.91482982148, - 11.80237087248, - 11.55928417448, - 11.66373199948, - 11.688793818479999, - 11.888314338479999, - 11.603705803479999, - 11.958845244479999, - 11.628190627479999, - 12.078232398479999, - 11.51368874148, - 11.62759232348, - 11.61688173048, - 12.185330450479999, - 11.56537334848 + 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 ], "exit_codes": [ 0, @@ -56,34 +56,34 @@ }, { "command": "node fixed-poolifier.mjs", - "mean": 11.762235019979999, - "stddev": 0.18552295505887156, - "median": 11.71133716548, - "user": 85.24171061000001, - "system": 0.58674183, - "min": 11.552905664479999, - "max": 12.42358792848, + "mean": 11.624643033900002, + "stddev": 0.3469975408801143, + "median": 11.5152519502, + "user": 84.93002959, + "system": 0.5601894699999999, + "min": 11.3104290727, + "max": 12.7207541557, "times": [ - 11.776307742479998, - 11.67088054848, - 11.82716734948, - 11.70121307448, - 11.71669549448, - 11.82033781048, - 11.684611451479999, - 11.64548586648, - 11.69952074948, - 11.765257994479999, - 12.02282218748, - 11.58021756748, - 11.78797552048, - 11.67553308548, - 11.70597883648, - 11.552905664479999, - 12.42358792848, - 11.79376002848, - 11.64530421748, - 11.74913728148 + 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 ], "exit_codes": [ 0, @@ -110,34 +110,34 @@ }, { "command": "node dynamic-piscina.mjs", - "mean": 14.294697344229997, - "stddev": 0.20784331555263483, - "median": 14.263723249479998, - "user": 84.24317096000001, - "system": 0.9156122299999998, - "min": 14.141624924479999, - "max": 15.13499310848, + "mean": 13.939101133249997, + "stddev": 0.17646420104122412, + "median": 13.8906058832, + "user": 83.98623664000002, + "system": 0.83025732, + "min": 13.7922229547, + "max": 14.5933785867, "times": [ - 14.23236873448, - 14.42066281148, - 14.17911462048, - 14.141624924479999, - 14.15221913548, - 14.18332270348, - 14.308652325479999, - 14.282792853479998, - 14.28979815048, - 15.13499310848, - 14.271071723479999, - 14.25637477548, - 14.283679227479999, - 14.206005786479999, - 14.30485660248, - 14.229128379479999, - 14.21379334648, - 14.23205702548, - 14.28932530448, - 14.28210534548 + 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 ], "exit_codes": [ 0, @@ -164,34 +164,34 @@ }, { "command": "node fixed-piscina.mjs", - "mean": 14.31514993578, - "stddev": 0.19040366644728496, - "median": 14.26566749298, - "user": 84.41989335999997, - "system": 0.9479836299999999, - "min": 14.124638407479999, - "max": 14.893117091479999, + "mean": 13.995816192500001, + "stddev": 0.1644748734258061, + "median": 13.9193995067, + "user": 84.15829484000001, + "system": 0.8392032199999999, + "min": 13.824415346699999, + "max": 14.4707315307, "times": [ - 14.25595714348, - 14.317850028479999, - 14.71203458448, - 14.285116387479999, - 14.313181049479999, - 14.219788724479999, - 14.124638407479999, - 14.21311915548, - 14.186737384479999, - 14.510449163479999, - 14.29888544648, - 14.21677535848, - 14.195882313479999, - 14.175382233479999, - 14.323961536479999, - 14.398155121479999, - 14.208433933479999, - 14.893117091479999, - 14.27537784248, - 14.17815580948 + 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 ], "exit_codes": [ 0, @@ -218,34 +218,34 @@ }, { "command": "node dynamic-tinypool.mjs", - "mean": 14.368606385229999, - "stddev": 0.11290115441451891, - "median": 14.336848949979998, - "user": 84.40331936, - "system": 1.7959914300000002, - "min": 14.248423279479999, - "max": 14.80258900248, + "mean": 14.090964626049999, + "stddev": 0.20090470730826157, + "median": 14.0314188307, + "user": 84.19936174, + "system": 1.70140432, + "min": 13.910071950699999, + "max": 14.8516540877, "times": [ - 14.38172506348, - 14.30745208648, - 14.328241003479999, - 14.41860709048, - 14.37104078748, - 14.32653795848, - 14.40485813848, - 14.366025367479999, - 14.32849282848, - 14.42474948348, - 14.80258900248, - 14.418687284479999, - 14.248423279479999, - 14.33257067748, - 14.32590977148, - 14.313415251479999, - 14.341127222479999, - 14.349071281479999, - 14.26181967648, - 14.32078444948 + 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 ], "exit_codes": [ 0, @@ -272,34 +272,34 @@ }, { "command": "node fixed-tinypool.mjs", - "mean": 14.509332093729999, - "stddev": 0.32683992109697657, - "median": 14.379151651479999, - "user": 84.87570836, - "system": 1.7926730300000002, - "min": 14.29480539648, - "max": 15.62118899748, + "mean": 14.099658991049997, + "stddev": 0.18515549675774118, + "median": 14.039694771699999, + "user": 84.21823679000002, + "system": 1.7255008200000002, + "min": 13.9449027557, + "max": 14.7816315177, "times": [ - 14.36750465248, - 14.36874243448, - 15.169861853479999, - 14.374249193479999, - 14.417936231479999, - 14.358429444479999, - 15.62118899748, - 14.33012550048, - 14.44040929048, - 14.378436087479999, - 14.375515202479999, - 14.454237272479999, - 14.29480539648, - 14.33364268948, - 14.44103894748, - 14.37986721548, - 14.31300991348, - 14.56617749948, - 14.73517074248, - 14.46629330948 + 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 ], "exit_codes": [ 0, @@ -326,34 +326,34 @@ }, { "command": "node dynamic-workerpool.mjs", - "mean": 15.00910351713, - "stddev": 0.13577276955254206, - "median": 14.981492553479999, - "user": 86.98551161, - "system": 1.33036793, - "min": 14.87059122648, - "max": 15.478715317479999, + "mean": 14.67594446165, + "stddev": 0.14382506399220507, + "median": 14.629151263199999, + "user": 86.54721194, + "system": 1.25223517, + "min": 14.5304072957, + "max": 15.1687742607, "times": [ - 15.01780779248, - 15.01234634448, - 14.95408541148, - 14.97846006248, - 14.98426544348, - 14.94597018248, - 15.099639416479999, - 14.91231735948, - 14.87059122648, - 15.124783705479999, - 15.478715317479999, - 14.870647095479999, - 15.13391681848, - 15.05674021248, - 14.93605714448, - 14.97871966348, - 15.01783493048, - 14.88765743348, - 15.024599650479999, - 14.89691513148 + 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 ], "exit_codes": [ 0, @@ -380,34 +380,34 @@ }, { "command": "node fixed-workerpool.mjs", - "mean": 15.026452236129998, - "stddev": 0.2714048906354438, - "median": 14.94783413748, - "user": 87.18037581, - "system": 1.3363187299999995, - "min": 14.888467068479999, - "max": 16.11661201048, + "mean": 14.795293610200002, + "stddev": 0.3248177406553838, + "median": 14.6741203842, + "user": 87.16398848999998, + "system": 1.29379087, + "min": 14.540513043699999, + "max": 15.5959834007, "times": [ - 14.89933286148, - 15.09866095248, - 16.11661201048, - 14.939004215479999, - 14.958079310479999, - 14.89515227848, - 14.92177174548, - 14.97622184948, - 14.897886376479999, - 14.91276830348, - 14.98652978448, - 14.951293162479999, - 14.918400971479999, - 14.961804015479998, - 14.916709960479999, - 14.888467068479999, - 15.122695196479999, - 15.23919423248, - 14.94437511248, - 14.98408531448 + 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 ], "exit_codes": [ 0, @@ -434,34 +434,34 @@ }, { "command": "node dynamic-worker-nodes.js", - "mean": 14.353977938829999, - "stddev": 0.21823327735484502, - "median": 14.30566920948, - "user": 84.76398721000001, - "system": 1.0342875299999998, - "min": 14.13386044748, - "max": 15.21071836348, + "mean": 14.006306671450005, + "stddev": 0.22375075076755777, + "median": 13.9132314997, + "user": 84.46346359000002, + "system": 0.9531217199999998, + "min": 13.8358206147, + "max": 14.7758125887, "times": [ - 14.51912264248, - 14.44742337648, - 14.37707826548, - 14.30499574648, - 14.253174077479999, - 14.37068744448, - 14.21202267248, - 14.33121886248, - 14.337457538479999, - 15.21071836348, - 14.29954063848, - 14.26547483948, - 14.315674483479999, - 14.33709119648, - 14.243740104479999, - 14.30387533748, - 14.294090447479999, - 14.21596961948, - 14.30634267248, - 14.13386044748 + 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 ], "exit_codes": [ 0, @@ -488,34 +488,34 @@ }, { "command": "node fixed-worker-nodes.js", - "mean": 14.359057022329997, - "stddev": 0.25707495893603055, - "median": 14.25369526898, - "user": 84.80018851, - "system": 1.0406434299999996, - "min": 14.17086112548, - "max": 15.264816351479999, + "mean": 14.105925618299997, + "stddev": 0.3225190539007709, + "median": 14.0065403742, + "user": 85.10756244000001, + "system": 0.9718339699999999, + "min": 13.8650086397, + "max": 15.1278958707, "times": [ - 14.17086112548, - 14.611648366479999, - 14.576502979479999, - 14.18995057648, - 14.27606294348, - 14.221700562479999, - 14.24764726748, - 14.59909443048, - 14.216896970479999, - 14.35841068648, - 14.194487755479999, - 14.19361811148, - 14.49600514048, - 14.19550013348, - 14.24403584748, - 14.25974327048, - 14.22486592648, - 15.264816351479999, - 14.32088172848, - 14.31841027248 + 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 ], "exit_codes": [ 0, @@ -542,34 +542,34 @@ }, { "command": "node dynamic-node-worker-threads-pool.mjs", - "mean": 22.396050958629996, - "stddev": 0.5907845455300541, - "median": 22.19999428898, - "user": 132.14496541, - "system": 3.1739176799999997, - "min": 21.83332613248, - "max": 24.27612349148, + "mean": 21.89325076655, + "stddev": 0.39962221140800397, + "median": 21.8019442232, + "user": 131.21565293999998, + "system": 3.01175297, + "min": 21.398443804699998, + "max": 23.0283389337, "times": [ - 21.969393323480002, - 22.02332982648, - 22.008137311480002, - 21.97249037148, - 21.99429157248, - 22.02364498748, - 23.125169077480002, - 22.32722924048, - 22.37643434248, - 22.25891125848, - 22.14107731948, - 22.06001868848, - 23.03848381948, - 21.83332613248, - 22.95869836448, - 22.290805638480002, - 22.807987960480002, - 24.27612349148, - 22.46482418748, - 21.97064225848 + 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 ], "exit_codes": [ 0, @@ -596,34 +596,34 @@ }, { "command": "node static-node-worker-threads-pool.mjs", - "mean": 14.634325873030003, - "stddev": 0.2519489721043534, - "median": 14.53907584348, - "user": 85.84195056000002, - "system": 1.12737168, - "min": 14.422458231479999, - "max": 15.34554343548, + "mean": 14.317677611499999, + "stddev": 0.18925853188650438, + "median": 14.2634858352, + "user": 85.10410269000002, + "system": 1.08961282, + "min": 14.1394555597, + "max": 14.935598042699999, "times": [ - 14.422458231479999, - 14.72642582648, - 14.48123289548, - 14.55140159548, - 14.735600674479999, - 14.47482047148, - 14.45552661348, - 14.816013201479999, - 15.218921091479999, - 14.475179510479999, - 14.45396729248, - 14.46060032748, - 14.511721671479998, - 14.57414555648, - 14.603107226479999, - 14.496344900479999, - 14.534446765479998, - 14.80535525148, - 15.34554343548, - 14.54370492148 + 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 ], "exit_codes": [ 0, @@ -650,34 +650,34 @@ }, { "command": "node fixed-nanothreads.mjs", - "mean": 13.632807582879996, - "stddev": 0.2355323878543619, - "median": 13.555863648479999, - "user": 82.88931381000002, - "system": 0.93749108, - "min": 13.453315975479999, - "max": 14.371597485479999, + "mean": 13.28965104545, + "stddev": 0.21676366324606136, + "median": 13.238329154199999, + "user": 82.32959034000001, + "system": 0.8696058699999998, + "min": 13.110526265699999, + "max": 14.128961326699999, "times": [ - 14.371597485479999, - 13.628078430479999, - 13.51544737848, - 13.687215303479999, - 13.52132599448, - 13.453315975479999, - 13.68557077048, - 13.599011811479999, - 13.498984905479999, - 13.464098609479999, - 13.498001757479999, - 13.497973607479999, - 13.552938098479999, - 13.58156399248, - 13.611237062479999, - 13.48130661348, - 14.132362300479999, - 13.84758247948, - 13.469749882479999, - 13.55878919848 + 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 ], "exit_codes": [ 0, diff --git a/benchmarks/versus-external-pools/BENCH-100000.md b/benchmarks/versus-external-pools/BENCH-100000.md index 3bcc320c..21126e78 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.780 ± 0.217 | 11.514 | 12.208 | 1.00 ± 0.02 | -| `node fixed-poolifier.mjs` | 11.762 ± 0.186 | 11.553 | 12.424 | 1.00 | -| `node dynamic-piscina.mjs` | 14.295 ± 0.208 | 14.142 | 15.135 | 1.22 ± 0.03 | -| `node fixed-piscina.mjs` | 14.315 ± 0.190 | 14.125 | 14.893 | 1.22 ± 0.03 | -| `node dynamic-tinypool.mjs` | 14.369 ± 0.113 | 14.248 | 14.803 | 1.22 ± 0.02 | -| `node fixed-tinypool.mjs` | 14.509 ± 0.327 | 14.295 | 15.621 | 1.23 ± 0.03 | -| `node dynamic-workerpool.mjs` | 15.009 ± 0.136 | 14.871 | 15.479 | 1.28 ± 0.02 | -| `node fixed-workerpool.mjs` | 15.026 ± 0.271 | 14.888 | 16.117 | 1.28 ± 0.03 | -| `node dynamic-worker-nodes.js` | 14.354 ± 0.218 | 14.134 | 15.211 | 1.22 ± 0.03 | -| `node fixed-worker-nodes.js` | 14.359 ± 0.257 | 14.171 | 15.265 | 1.22 ± 0.03 | -| `node dynamic-node-worker-threads-pool.mjs` | 22.396 ± 0.591 | 21.833 | 24.276 | 1.90 ± 0.06 | -| `node static-node-worker-threads-pool.mjs` | 14.634 ± 0.252 | 14.422 | 15.346 | 1.24 ± 0.03 | -| `node fixed-nanothreads.mjs` | 13.633 ± 0.236 | 13.453 | 14.372 | 1.16 ± 0.03 | +| `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 |