Merged
Conversation
Contributor
Benchmarks results:> root@ benchmarks:container:cjs /home/runner/work/monorepo/monorepo
> pnpm run --filter "@inversifyjs/container-benchmarks" benchmarks:run:cjs
> @inversifyjs/container-benchmarks@ benchmarks:run:cjs /home/runner/work/monorepo/monorepo/packages/container/tools/container-benchmarks
> ./bin/run-cjs.cjs
[CJS] Running benchmarks...
Get service in singleton scope
┌─────────┬────────────────────┬──────────────────┬──────────────────┬────────────────────────┬────────────────────────┬─────────┐
│ (index) │ Task name │ Latency avg (ns) │ Latency med (ns) │ Throughput avg (ops/s) │ Throughput med (ops/s) │ Samples │
├─────────┼────────────────────┼──────────────────┼──────────────────┼────────────────────────┼────────────────────────┼─────────┤
│ 0 │ 'inversifyCurrent' │ '302.92 ± 1.15%' │ '280.00 ± 10.00' │ '3531332 ± 0.01%' │ '3571429 ± 123153' │ 3301182 │
│ 1 │ 'inversify6' │ '1013.3 ± 1.74%' │ '962.00 ± 20.00' │ '1019360 ± 0.02%' │ '1039501 ± 22070' │ 986906 │
│ 2 │ 'NestJS' │ '289.40 ± 0.24%' │ '280.00 ± 9.00' │ '3535458 ± 0.01%' │ '3571429 ± 118608' │ 3455382 │
│ 3 │ 'tsyringe' │ '333.60 ± 1.89%' │ '301.00 ± 10.00' │ '3262332 ± 0.01%' │ '3322259 ± 106825' │ 2997596 │
└─────────┴────────────────────┴──────────────────┴──────────────────┴────────────────────────┴────────────────────────┴─────────┘
inversifyCurrent vs inversify6 Speedup: 3.464x
inversifyCurrent vs NestJS Speedup: 0.999x
inversifyCurrent vs tsyringe Speedup: 1.082x
Get service in transient scope
┌─────────┬────────────────────┬──────────────────┬───────────────────┬────────────────────────┬────────────────────────┬─────────┐
│ (index) │ Task name │ Latency avg (ns) │ Latency med (ns) │ Throughput avg (ops/s) │ Throughput med (ops/s) │ Samples │
├─────────┼────────────────────┼──────────────────┼───────────────────┼────────────────────────┼────────────────────────┼─────────┤
│ 0 │ 'inversifyCurrent' │ '678.17 ± 0.55%' │ '631.00 ± 10.00' │ '1558617 ± 0.01%' │ '1584786 ± 25520' │ 1474567 │
│ 1 │ 'inversify6' │ '5118.9 ± 2.71%' │ '4869.0 ± 69.00' │ '202520 ± 0.03%' │ '205381 ± 2911' │ 195355 │
│ 2 │ 'NestJS' │ '9241.8 ± 1.36%' │ '8015.0 ± 170.00' │ '121170 ± 0.07%' │ '124766 ± 2704' │ 108205 │
│ 3 │ 'tsyringe' │ '477.97 ± 0.41%' │ '461.00 ± 10.00' │ '2131758 ± 0.01%' │ '2169197 ± 48098' │ 2092167 │
└─────────┴────────────────────┴──────────────────┴───────────────────┴────────────────────────┴────────────────────────┴─────────┘
inversifyCurrent vs inversify6 Speedup: 7.696x
inversifyCurrent vs NestJS Speedup: 12.863x
inversifyCurrent vs tsyringe Speedup: 0.731x
Get complex service in singleton scope
┌─────────┬────────────────────┬──────────────────┬──────────────────┬────────────────────────┬────────────────────────┬─────────┐
│ (index) │ Task name │ Latency avg (ns) │ Latency med (ns) │ Throughput avg (ops/s) │ Throughput med (ops/s) │ Samples │
├─────────┼────────────────────┼──────────────────┼──────────────────┼────────────────────────┼────────────────────────┼─────────┤
│ 0 │ 'inversifyCurrent' │ '317.14 ± 1.89%' │ '291.00 ± 10.00' │ '3375220 ± 0.01%' │ '3436426 ± 114167' │ 3153436 │
│ 1 │ 'inversify6' │ '1016.0 ± 0.69%' │ '982.00 ± 20.00' │ '1003100 ± 0.01%' │ '1018330 ± 21171' │ 984240 │
│ 2 │ 'NestJS' │ '322.26 ± 1.11%' │ '310.00 ± 9.00' │ '3184502 ± 0.01%' │ '3225806 ± 96453' │ 3103066 │
│ 3 │ 'tsyringe' │ '347.79 ± 0.98%' │ '311.00 ± 10.00' │ '3127200 ± 0.01%' │ '3215434 ± 100169' │ 2875309 │
└─────────┴────────────────────┴──────────────────┴──────────────────┴────────────────────────┴────────────────────────┴─────────┘
inversifyCurrent vs inversify6 Speedup: 3.365x
inversifyCurrent vs NestJS Speedup: 1.060x
inversifyCurrent vs tsyringe Speedup: 1.079x
Get complex service in transient scope
┌─────────┬────────────────────┬───────────────────┬────────────────────┬────────────────────────┬────────────────────────┬─────────┐
│ (index) │ Task name │ Latency avg (ns) │ Latency med (ns) │ Throughput avg (ops/s) │ Throughput med (ops/s) │ Samples │
├─────────┼────────────────────┼───────────────────┼────────────────────┼────────────────────────┼────────────────────────┼─────────┤
│ 0 │ 'inversifyCurrent' │ '359757 ± 0.62%' │ '348419 ± 3336.0' │ '2812 ± 0.29%' │ '2870 ± 28' │ 2780 │
│ 1 │ 'inversify6' │ '5122023 ± 0.91%' │ '5020410 ± 209925' │ '196 ± 0.88%' │ '199 ± 8' │ 196 │
│ 2 │ 'NestJS' │ '59129 ± 1.19%' │ '53609 ± 632.00' │ '18196 ± 0.16%' │ '18654 ± 221' │ 16913 │
│ 3 │ 'tsyringe' │ '248748 ± 0.58%' │ '237662 ± 1243.0' │ '4094 ± 0.30%' │ '4208 ± 22' │ 4021 │
└─────────┴────────────────────┴───────────────────┴────────────────────┴────────────────────────┴────────────────────────┴─────────┘
inversifyCurrent vs inversify6 Speedup: 14.348x
inversifyCurrent vs NestJS Speedup: 0.155x
inversifyCurrent vs tsyringe Speedup: 0.687x> root@ benchmarks:container:esm /home/runner/work/monorepo/monorepo
> pnpm run --filter "@inversifyjs/container-benchmarks" benchmarks:run:esm
> @inversifyjs/container-benchmarks@ benchmarks:run:esm /home/runner/work/monorepo/monorepo/packages/container/tools/container-benchmarks
> ./bin/run-esm.mjs
[ESM] Running benchmarks...
Get service in singleton scope
┌─────────┬────────────────────┬──────────────────┬──────────────────┬────────────────────────┬────────────────────────┬─────────┐
│ (index) │ Task name │ Latency avg (ns) │ Latency med (ns) │ Throughput avg (ops/s) │ Throughput med (ops/s) │ Samples │
├─────────┼────────────────────┼──────────────────┼──────────────────┼────────────────────────┼────────────────────────┼─────────┤
│ 0 │ 'inversifyCurrent' │ '261.10 ± 1.06%' │ '250.00 ± 9.00' │ '3948005 ± 0.01%' │ '4000000 ± 149378' │ 3829924 │
│ 1 │ 'inversify6' │ '909.99 ± 3.23%' │ '822.00 ± 11.00' │ '1192890 ± 0.01%' │ '1216545 ± 16501' │ 1098910 │
│ 2 │ 'NestJS' │ '290.57 ± 2.07%' │ '280.00 ± 9.00' │ '3553985 ± 0.01%' │ '3571429 ± 118608' │ 3441498 │
│ 3 │ 'tsyringe' │ '300.37 ± 0.66%' │ '280.00 ± 9.00' │ '3532694 ± 0.01%' │ '3571429 ± 118608' │ 3329181 │
└─────────┴────────────────────┴──────────────────┴──────────────────┴────────────────────────┴────────────────────────┴─────────┘
inversifyCurrent vs inversify6 Speedup: 3.310x
inversifyCurrent vs NestJS Speedup: 1.111x
inversifyCurrent vs tsyringe Speedup: 1.118x
Get service in transient scope
┌─────────┬────────────────────┬──────────────────┬───────────────────┬────────────────────────┬────────────────────────┬─────────┐
│ (index) │ Task name │ Latency avg (ns) │ Latency med (ns) │ Throughput avg (ops/s) │ Throughput med (ops/s) │ Samples │
├─────────┼────────────────────┼──────────────────┼───────────────────┼────────────────────────┼────────────────────────┼─────────┤
│ 0 │ 'inversifyCurrent' │ '513.12 ± 0.45%' │ '481.00 ± 10.00' │ '2047077 ± 0.01%' │ '2079002 ± 42342' │ 1948848 │
│ 1 │ 'inversify6' │ '4872.2 ± 3.60%' │ '4509.0 ± 51.00' │ '218887 ± 0.03%' │ '221779 ± 2537' │ 205245 │
│ 2 │ 'NestJS' │ '8947.2 ± 1.54%' │ '7795.0 ± 161.00' │ '125548 ± 0.06%' │ '128287 ± 2706' │ 111767 │
│ 3 │ 'tsyringe' │ '442.12 ± 0.41%' │ '431.00 ± 10.00' │ '2297676 ± 0.01%' │ '2320186 ± 52612' │ 2261846 │
└─────────┴────────────────────┴──────────────────┴───────────────────┴────────────────────────┴────────────────────────┴─────────┘
inversifyCurrent vs inversify6 Speedup: 9.352x
inversifyCurrent vs NestJS Speedup: 16.305x
inversifyCurrent vs tsyringe Speedup: 0.891x
Get complex service in singleton scope
┌─────────┬────────────────────┬──────────────────┬──────────────────┬────────────────────────┬────────────────────────┬─────────┐
│ (index) │ Task name │ Latency avg (ns) │ Latency med (ns) │ Throughput avg (ops/s) │ Throughput med (ops/s) │ Samples │
├─────────┼────────────────────┼──────────────────┼──────────────────┼────────────────────────┼────────────────────────┼─────────┤
│ 0 │ 'inversifyCurrent' │ '278.06 ± 1.67%' │ '261.00 ± 9.00' │ '3701697 ± 0.01%' │ '3831418 ± 127714' │ 3596391 │
│ 1 │ 'inversify6' │ '959.37 ± 2.88%' │ '861.00 ± 11.00' │ '1149093 ± 0.01%' │ '1161440 ± 14651' │ 1042350 │
│ 2 │ 'NestJS' │ '326.45 ± 0.09%' │ '311.00 ± 1.00' │ '3134534 ± 0.01%' │ '3215434 ± 10372' │ 3063228 │
│ 3 │ 'tsyringe' │ '338.98 ± 3.73%' │ '301.00 ± 9.00' │ '3267558 ± 0.01%' │ '3322259 ± 96453' │ 2950052 │
└─────────┴────────────────────┴──────────────────┴──────────────────┴────────────────────────┴────────────────────────┴─────────┘
inversifyCurrent vs inversify6 Speedup: 3.221x
inversifyCurrent vs NestJS Speedup: 1.181x
inversifyCurrent vs tsyringe Speedup: 1.133x
Get complex service in transient scope
┌─────────┬────────────────────┬───────────────────┬────────────────────┬────────────────────────┬────────────────────────┬─────────┐
│ (index) │ Task name │ Latency avg (ns) │ Latency med (ns) │ Throughput avg (ops/s) │ Throughput med (ops/s) │ Samples │
├─────────┼────────────────────┼───────────────────┼────────────────────┼────────────────────────┼────────────────────────┼─────────┤
│ 0 │ 'inversifyCurrent' │ '269272 ± 0.58%' │ '259623 ± 1973.0' │ '3769 ± 0.27%' │ '3852 ± 29' │ 3714 │
│ 1 │ 'inversify6' │ '4438448 ± 1.04%' │ '4511322 ± 367775' │ '227 ± 1.03%' │ '222 ± 19' │ 226 │
│ 2 │ 'NestJS' │ '58581 ± 1.25%' │ '53128 ± 681.00' │ '18405 ± 0.15%' │ '18822 ± 242' │ 17071 │
│ 3 │ 'tsyringe' │ '240414 ± 0.55%' │ '231892 ± 3016.0' │ '4228 ± 0.28%' │ '4312 ± 57' │ 4160 │
└─────────┴────────────────────┴───────────────────┴────────────────────┴────────────────────────┴────────────────────────┴─────────┘
inversifyCurrent vs inversify6 Speedup: 16.626x
inversifyCurrent vs NestJS Speedup: 0.205x
inversifyCurrent vs tsyringe Speedup: 0.891x |
…t/update-container-with-unbind-sync
Contributor
Benchmarks results:> root@ benchmarks:container:cjs /home/runner/work/monorepo/monorepo
> pnpm run --filter "@inversifyjs/container-benchmarks" benchmarks:run:cjs
> @inversifyjs/container-benchmarks@ benchmarks:run:cjs /home/runner/work/monorepo/monorepo/packages/container/tools/container-benchmarks
> ./bin/run-cjs.cjs
[CJS] Running benchmarks...
Get service in singleton scope
┌─────────┬────────────────────┬──────────────────┬──────────────────┬────────────────────────┬────────────────────────┬─────────┐
│ (index) │ Task name │ Latency avg (ns) │ Latency med (ns) │ Throughput avg (ops/s) │ Throughput med (ops/s) │ Samples │
├─────────┼────────────────────┼──────────────────┼──────────────────┼────────────────────────┼────────────────────────┼─────────┤
│ 0 │ 'inversifyCurrent' │ '299.09 ± 1.17%' │ '280.00 ± 9.00' │ '3560381 ± 0.01%' │ '3571429 ± 118608' │ 3343464 │
│ 1 │ 'inversify6' │ '975.29 ± 3.26%' │ '922.00 ± 10.00' │ '1066602 ± 0.01%' │ '1084599 ± 11893' │ 1025335 │
│ 2 │ 'NestJS' │ '288.86 ± 0.21%' │ '280.00 ± 9.00' │ '3537036 ± 0.01%' │ '3571429 ± 118608' │ 3461887 │
│ 3 │ 'tsyringe' │ '307.48 ± 2.11%' │ '281.00 ± 9.00' │ '3484938 ± 0.01%' │ '3558719 ± 110443' │ 3252293 │
└─────────┴────────────────────┴──────────────────┴──────────────────┴────────────────────────┴────────────────────────┴─────────┘
inversifyCurrent vs inversify6 Speedup: 3.338x
inversifyCurrent vs NestJS Speedup: 1.007x
inversifyCurrent vs tsyringe Speedup: 1.022x
Get service in transient scope
┌─────────┬────────────────────┬──────────────────┬───────────────────┬────────────────────────┬────────────────────────┬─────────┐
│ (index) │ Task name │ Latency avg (ns) │ Latency med (ns) │ Throughput avg (ops/s) │ Throughput med (ops/s) │ Samples │
├─────────┼────────────────────┼──────────────────┼───────────────────┼────────────────────────┼────────────────────────┼─────────┤
│ 0 │ 'inversifyCurrent' │ '648.24 ± 0.56%' │ '601.00 ± 10.00' │ '1631060 ± 0.01%' │ '1663894 ± 27232' │ 1542638 │
│ 1 │ 'inversify6' │ '5199.3 ± 3.17%' │ '4849.0 ± 51.00' │ '203822 ± 0.03%' │ '206228 ± 2149' │ 192333 │
│ 2 │ 'NestJS' │ '9119.2 ± 1.38%' │ '7915.0 ± 151.00' │ '122793 ± 0.07%' │ '126342 ± 2457' │ 109659 │
│ 3 │ 'tsyringe' │ '497.59 ± 3.29%' │ '472.00 ± 9.00' │ '2084139 ± 0.01%' │ '2118644 ± 39642' │ 2009707 │
└─────────┴────────────────────┴──────────────────┴───────────────────┴────────────────────────┴────────────────────────┴─────────┘
inversifyCurrent vs inversify6 Speedup: 8.002x
inversifyCurrent vs NestJS Speedup: 13.283x
inversifyCurrent vs tsyringe Speedup: 0.783x
Get complex service in singleton scope
┌─────────┬────────────────────┬──────────────────┬──────────────────┬────────────────────────┬────────────────────────┬─────────┐
│ (index) │ Task name │ Latency avg (ns) │ Latency med (ns) │ Throughput avg (ops/s) │ Throughput med (ops/s) │ Samples │
├─────────┼────────────────────┼──────────────────┼──────────────────┼────────────────────────┼────────────────────────┼─────────┤
│ 0 │ 'inversifyCurrent' │ '314.99 ± 1.72%' │ '281.00 ± 9.00' │ '3444852 ± 0.01%' │ '3558719 ± 110443' │ 3174693 │
│ 1 │ 'inversify6' │ '1006.6 ± 0.83%' │ '972.00 ± 10.00' │ '1013372 ± 0.01%' │ '1028807 ± 10694' │ 993481 │
│ 2 │ 'NestJS' │ '327.77 ± 0.77%' │ '320.00 ± 9.00' │ '3121421 ± 0.01%' │ '3125000 ± 90434' │ 3050906 │
│ 3 │ 'tsyringe' │ '337.08 ± 3.09%' │ '310.00 ± 9.00' │ '3224431 ± 0.01%' │ '3225806 ± 96453' │ 2967356 │
└─────────┴────────────────────┴──────────────────┴──────────────────┴────────────────────────┴────────────────────────┴─────────┘
inversifyCurrent vs inversify6 Speedup: 3.399x
inversifyCurrent vs NestJS Speedup: 1.104x
inversifyCurrent vs tsyringe Speedup: 1.068x
Get complex service in transient scope
┌─────────┬────────────────────┬───────────────────┬────────────────────┬────────────────────────┬────────────────────────┬─────────┐
│ (index) │ Task name │ Latency avg (ns) │ Latency med (ns) │ Throughput avg (ops/s) │ Throughput med (ops/s) │ Samples │
├─────────┼────────────────────┼───────────────────┼────────────────────┼────────────────────────┼────────────────────────┼─────────┤
│ 0 │ 'inversifyCurrent' │ '353687 ± 0.50%' │ '344868 ± 4123.0' │ '2853 ± 0.27%' │ '2900 ± 35' │ 2828 │
│ 1 │ 'inversify6' │ '4714985 ± 0.89%' │ '4581993 ± 132817' │ '213 ± 0.83%' │ '218 ± 6' │ 213 │
│ 2 │ 'NestJS' │ '57936 ± 1.07%' │ '53079 ± 601.00' │ '18413 ± 0.15%' │ '18840 ± 214' │ 17261 │
│ 3 │ 'tsyringe' │ '243042 ± 0.48%' │ '233827 ± 2414.0' │ '4172 ± 0.28%' │ '4277 ± 44' │ 4115 │
└─────────┴────────────────────┴───────────────────┴────────────────────┴────────────────────────┴────────────────────────┴─────────┘
inversifyCurrent vs inversify6 Speedup: 13.397x
inversifyCurrent vs NestJS Speedup: 0.155x
inversifyCurrent vs tsyringe Speedup: 0.684x> root@ benchmarks:container:esm /home/runner/work/monorepo/monorepo
> pnpm run --filter "@inversifyjs/container-benchmarks" benchmarks:run:esm
> @inversifyjs/container-benchmarks@ benchmarks:run:esm /home/runner/work/monorepo/monorepo/packages/container/tools/container-benchmarks
> ./bin/run-esm.mjs
[ESM] Running benchmarks...
Get service in singleton scope
┌─────────┬────────────────────┬──────────────────┬──────────────────┬────────────────────────┬────────────────────────┬─────────┐
│ (index) │ Task name │ Latency avg (ns) │ Latency med (ns) │ Throughput avg (ops/s) │ Throughput med (ops/s) │ Samples │
├─────────┼────────────────────┼──────────────────┼──────────────────┼────────────────────────┼────────────────────────┼─────────┤
│ 0 │ 'inversifyCurrent' │ '254.66 ± 1.13%' │ '241.00 ± 9.00' │ '4046584 ± 0.01%' │ '4149378 ± 149378' │ 3926758 │
│ 1 │ 'inversify6' │ '926.14 ± 3.97%' │ '841.00 ± 11.00' │ '1178809 ± 0.01%' │ '1189061 ± 15352' │ 1079750 │
│ 2 │ 'NestJS' │ '300.16 ± 3.99%' │ '281.00 ± 9.00' │ '3501699 ± 0.01%' │ '3558719 ± 110443' │ 3331554 │
│ 3 │ 'tsyringe' │ '298.45 ± 0.56%' │ '280.00 ± 10.00' │ '3543932 ± 0.01%' │ '3571429 ± 123153' │ 3350602 │
└─────────┴────────────────────┴──────────────────┴──────────────────┴────────────────────────┴────────────────────────┴─────────┘
inversifyCurrent vs inversify6 Speedup: 3.433x
inversifyCurrent vs NestJS Speedup: 1.156x
inversifyCurrent vs tsyringe Speedup: 1.142x
Get service in transient scope
┌─────────┬────────────────────┬──────────────────┬───────────────────┬────────────────────────┬────────────────────────┬─────────┐
│ (index) │ Task name │ Latency avg (ns) │ Latency med (ns) │ Throughput avg (ops/s) │ Throughput med (ops/s) │ Samples │
├─────────┼────────────────────┼──────────────────┼───────────────────┼────────────────────────┼────────────────────────┼─────────┤
│ 0 │ 'inversifyCurrent' │ '507.27 ± 0.43%' │ '480.00 ± 9.00' │ '2070591 ± 0.01%' │ '2083333 ± 39809' │ 1971324 │
│ 1 │ 'inversify6' │ '4877.7 ± 4.41%' │ '4498.0 ± 49.00' │ '219764 ± 0.03%' │ '222321 ± 2444' │ 205016 │
│ 2 │ 'NestJS' │ '8875.5 ± 1.35%' │ '7764.0 ± 151.00' │ '125600 ± 0.07%' │ '128800 ± 2537' │ 112670 │
│ 3 │ 'tsyringe' │ '471.01 ± 0.30%' │ '461.00 ± 10.00' │ '2155646 ± 0.01%' │ '2169197 ± 48098' │ 2123078 │
└─────────┴────────────────────┴──────────────────┴───────────────────┴────────────────────────┴────────────────────────┴─────────┘
inversifyCurrent vs inversify6 Speedup: 9.422x
inversifyCurrent vs NestJS Speedup: 16.486x
inversifyCurrent vs tsyringe Speedup: 0.961x
Get complex service in singleton scope
┌─────────┬────────────────────┬──────────────────┬──────────────────┬────────────────────────┬────────────────────────┬─────────┐
│ (index) │ Task name │ Latency avg (ns) │ Latency med (ns) │ Throughput avg (ops/s) │ Throughput med (ops/s) │ Samples │
├─────────┼────────────────────┼──────────────────┼──────────────────┼────────────────────────┼────────────────────────┼─────────┤
│ 0 │ 'inversifyCurrent' │ '271.19 ± 1.64%' │ '260.00 ± 9.00' │ '3794103 ± 0.01%' │ '3846154 ± 137910' │ 3687494 │
│ 1 │ 'inversify6' │ '896.43 ± 0.67%' │ '841.00 ± 10.00' │ '1176414 ± 0.01%' │ '1189061 ± 14309' │ 1115539 │
│ 2 │ 'NestJS' │ '329.41 ± 2.67%' │ '311.00 ± 9.00' │ '3147818 ± 0.01%' │ '3215434 ± 90434' │ 3035726 │
│ 3 │ 'tsyringe' │ '333.41 ± 5.69%' │ '281.00 ± 10.00' │ '3453799 ± 0.01%' │ '3558719 ± 122293' │ 2999279 │
└─────────┴────────────────────┴──────────────────┴──────────────────┴────────────────────────┴────────────────────────┴─────────┘
inversifyCurrent vs inversify6 Speedup: 3.225x
inversifyCurrent vs NestJS Speedup: 1.205x
inversifyCurrent vs tsyringe Speedup: 1.099x
Get complex service in transient scope
┌─────────┬────────────────────┬───────────────────┬────────────────────┬────────────────────────┬────────────────────────┬─────────┐
│ (index) │ Task name │ Latency avg (ns) │ Latency med (ns) │ Throughput avg (ops/s) │ Throughput med (ops/s) │ Samples │
├─────────┼────────────────────┼───────────────────┼────────────────────┼────────────────────────┼────────────────────────┼─────────┤
│ 0 │ 'inversifyCurrent' │ '239945 ± 0.56%' │ '230931 ± 1623.5' │ '4233 ± 0.27%' │ '4330 ± 30' │ 4168 │
│ 1 │ 'inversify6' │ '4580876 ± 1.25%' │ '4732797 ± 424111' │ '220 ± 1.09%' │ '211 ± 21' │ 219 │
│ 2 │ 'NestJS' │ '59224 ± 1.09%' │ '53870 ± 690.00' │ '18071 ± 0.17%' │ '18563 ± 238' │ 16890 │
│ 3 │ 'tsyringe' │ '245346 ± 0.51%' │ '235810 ± 1062.0' │ '4135 ± 0.27%' │ '4241 ± 19' │ 4076 │
└─────────┴────────────────────┴───────────────────┴────────────────────┴────────────────────────┴────────────────────────┴─────────┘
inversifyCurrent vs inversify6 Speedup: 19.242x
inversifyCurrent vs NestJS Speedup: 0.234x
inversifyCurrent vs tsyringe Speedup: 1.024x |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changed
ContainerwithunbindSync.ContainerModuleLoadOptionswithunbindSync.Context
This PR addresses the feedback collected at inversify/InversifyJS#1765.