From: Benchmark Bot Date: Wed, 20 Sep 2023 04:46:09 +0000 (+0200) Subject: docs: update benchmark versus external pools results X-Git-Tag: v2.7.1~11 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=16cac9dc59955acdbe97f1097aed3b3120991619;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 bae2b27a..11516e1e 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.368003236860002, - "stddev": 0.3224412822900955, - "median": 11.28611924146, - "user": 84.27590989999999, - "system": 0.52854244, - "min": 11.04924261246, - "max": 12.28315011846, + "mean": 11.780293908929998, + "stddev": 0.21686218608049407, + "median": 11.730158184979999, + "user": 84.65206246, + "system": 0.59333353, + "min": 11.51368874148, + "max": 12.20751107648, "times": [ - 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 + 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 ], "exit_codes": [ 0, @@ -56,34 +56,34 @@ }, { "command": "node fixed-poolifier.mjs", - "mean": 11.356596080909998, - "stddev": 0.18773643921848024, - "median": 11.29456609946, - "user": 84.12756545, - "system": 0.5123968400000001, - "min": 11.15489913046, - "max": 11.89709897946, + "mean": 11.762235019979999, + "stddev": 0.18552295505887156, + "median": 11.71133716548, + "user": 85.24171061000001, + "system": 0.58674183, + "min": 11.552905664479999, + "max": 12.42358792848, "times": [ - 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 + 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 ], "exit_codes": [ 0, @@ -110,34 +110,34 @@ }, { "command": "node dynamic-piscina.mjs", - "mean": 13.96954857906, - "stddev": 0.15294149540722818, - "median": 13.924949551460001, - "user": 83.91577705, - "system": 0.8764507899999998, - "min": 13.796995480460001, - "max": 14.36604056546, + "mean": 14.294697344229997, + "stddev": 0.20784331555263483, + "median": 14.263723249479998, + "user": 84.24317096000001, + "system": 0.9156122299999998, + "min": 14.141624924479999, + "max": 15.13499310848, "times": [ - 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 + 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 ], "exit_codes": [ 0, @@ -164,34 +164,34 @@ }, { "command": "node fixed-piscina.mjs", - "mean": 13.903733555459999, - "stddev": 0.19168634439996315, - "median": 13.83464575196, - "user": 84.07448690000003, - "system": 0.8601311899999999, - "min": 13.748144764460001, - "max": 14.412393211460001, + "mean": 14.31514993578, + "stddev": 0.19040366644728496, + "median": 14.26566749298, + "user": 84.41989335999997, + "system": 0.9479836299999999, + "min": 14.124638407479999, + "max": 14.893117091479999, "times": [ - 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 + 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 ], "exit_codes": [ 0, @@ -218,34 +218,34 @@ }, { "command": "node dynamic-tinypool.mjs", - "mean": 13.994092572859998, - "stddev": 0.20241934655459232, - "median": 13.936304883960002, - "user": 84.12881345, - "system": 1.7039561399999996, - "min": 13.883758291460001, - "max": 14.821950666460001, + "mean": 14.368606385229999, + "stddev": 0.11290115441451891, + "median": 14.336848949979998, + "user": 84.40331936, + "system": 1.7959914300000002, + "min": 14.248423279479999, + "max": 14.80258900248, "times": [ - 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 + 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 ], "exit_codes": [ 0, @@ -272,34 +272,34 @@ }, { "command": "node fixed-tinypool.mjs", - "mean": 13.999351037260002, - "stddev": 0.20898225289155412, - "median": 13.951080949960001, - "user": 84.10157699999999, - "system": 1.7198870900000003, - "min": 13.87473413046, - "max": 14.86472296146, + "mean": 14.509332093729999, + "stddev": 0.32683992109697657, + "median": 14.379151651479999, + "user": 84.87570836, + "system": 1.7926730300000002, + "min": 14.29480539648, + "max": 15.62118899748, "times": [ - 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 + 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 ], "exit_codes": [ 0, @@ -326,34 +326,34 @@ }, { "command": "node dynamic-workerpool.mjs", - "mean": 14.588445512860002, - "stddev": 0.19168072714895476, - "median": 14.53729377896, - "user": 86.5068517, - "system": 1.2670577399999998, - "min": 14.43934690246, - "max": 15.358537570460001, + "mean": 15.00910351713, + "stddev": 0.13577276955254206, + "median": 14.981492553479999, + "user": 86.98551161, + "system": 1.33036793, + "min": 14.87059122648, + "max": 15.478715317479999, "times": [ - 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 + 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 ], "exit_codes": [ 0, @@ -380,34 +380,34 @@ }, { "command": "node fixed-workerpool.mjs", - "mean": 14.575268915859997, - "stddev": 0.157386518859761, - "median": 14.53422736396, - "user": 86.6216756, - "system": 1.2613628399999999, - "min": 14.45781974346, - "max": 15.14411060246, + "mean": 15.026452236129998, + "stddev": 0.2714048906354438, + "median": 14.94783413748, + "user": 87.18037581, + "system": 1.3363187299999995, + "min": 14.888467068479999, + "max": 16.11661201048, "times": [ - 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 + 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 ], "exit_codes": [ 0, @@ -434,34 +434,34 @@ }, { "command": "node dynamic-worker-nodes.js", - "mean": 13.93086813111, - "stddev": 0.24167954780072037, - "median": 13.848770205960001, - "user": 84.61519815000001, - "system": 0.98589509, - "min": 13.73192640046, - "max": 14.64004538746, + "mean": 14.353977938829999, + "stddev": 0.21823327735484502, + "median": 14.30566920948, + "user": 84.76398721000001, + "system": 1.0342875299999998, + "min": 14.13386044748, + "max": 15.21071836348, "times": [ - 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 + 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 ], "exit_codes": [ 0, @@ -488,34 +488,34 @@ }, { "command": "node fixed-worker-nodes.js", - "mean": 13.926463509909999, - "stddev": 0.26203859269854224, - "median": 13.84687467396, - "user": 84.69039760000003, - "system": 0.9691233399999998, - "min": 13.78574899946, - "max": 14.784729072460001, + "mean": 14.359057022329997, + "stddev": 0.25707495893603055, + "median": 14.25369526898, + "user": 84.80018851, + "system": 1.0406434299999996, + "min": 14.17086112548, + "max": 15.264816351479999, "times": [ - 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 + 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 ], "exit_codes": [ 0, @@ -542,34 +542,34 @@ }, { "command": "node dynamic-node-worker-threads-pool.mjs", - "mean": 21.882727357010005, - "stddev": 0.5148907323621369, - "median": 21.67901115296, - "user": 131.3080822, - "system": 3.0308641900000004, - "min": 21.43062456946, - "max": 23.34619387346, + "mean": 22.396050958629996, + "stddev": 0.5907845455300541, + "median": 22.19999428898, + "user": 132.14496541, + "system": 3.1739176799999997, + "min": 21.83332613248, + "max": 24.27612349148, "times": [ - 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 + 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 ], "exit_codes": [ 0, @@ -596,34 +596,34 @@ }, { "command": "node static-node-worker-threads-pool.mjs", - "mean": 14.197313918559999, - "stddev": 0.1954890822889771, - "median": 14.13963860946, - "user": 85.1199326, - "system": 1.0779084399999999, - "min": 14.042602542460001, - "max": 14.95075411446, + "mean": 14.634325873030003, + "stddev": 0.2519489721043534, + "median": 14.53907584348, + "user": 85.84195056000002, + "system": 1.12737168, + "min": 14.422458231479999, + "max": 15.34554343548, "times": [ - 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 + 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 ], "exit_codes": [ 0, @@ -650,34 +650,34 @@ }, { "command": "node fixed-nanothreads.mjs", - "mean": 13.205401262510003, - "stddev": 0.20236927854585932, - "median": 13.15385387046, - "user": 82.34329815, - "system": 0.8771399399999998, - "min": 13.09653258346, - "max": 14.04509258246, + "mean": 13.632807582879996, + "stddev": 0.2355323878543619, + "median": 13.555863648479999, + "user": 82.88931381000002, + "system": 0.93749108, + "min": 13.453315975479999, + "max": 14.371597485479999, "times": [ - 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 + 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 ], "exit_codes": [ 0, diff --git a/benchmarks/versus-external-pools/BENCH-100000.md b/benchmarks/versus-external-pools/BENCH-100000.md index 2eaac8c1..3bcc320c 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.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 | +| `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 |