Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update auto merge on patch or minor #441

Merged
merged 2 commits into from
Feb 25, 2025

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 25, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
knip (source) 5.44.5 -> 5.45.0 age adoption passing confidence
pnpm (source) 10.4.1 -> 10.5.0 age adoption passing confidence

Release Notes

webpro-nl/knip (knip)

v5.45.0

Compare Source

  • What are we without badges? (8175043)
  • feat(plugin-eslint): support eslint.config.ts files (#​956) (474dca3) - thanks @​cylewaitforit!
  • Improve cross-workspace config file handling (4717edf)
  • Fix up playwright(-ct) args/bin (b49b753)
  • Improve cross-workspace config & binary handling (7ea7c34)
  • Add tests for cross-workspace inputs coverage (100129a)
  • Add note re. config cascade eslint v8 (resolves #​957) (ee2c94d)
  • Add support for eslint v9 config files + settings (f55dc1b)
pnpm/pnpm (pnpm)

v10.5.0

Compare Source

Minor Changes
  • Allow to set the "pnpm" settings from package.json via the pnpm-workspace.yaml file #​9121.

  • Added support for automatically syncing files of injected workspace packages after pnpm run #​9081. Use the sync-injected-deps-after-scripts setting to specify which scripts build the workspace package. This tells pnpm when syncing is needed. The setting should be defined in a .npmrc file at the root of the workspace. Example:

    sync-injected-deps-after-scripts[]=compile
  • The packages field in pnpm-workspace.yaml became optional.

Patch Changes
  • pnpm link with no parameters should work as if --global is specified #​9151.
  • Allow scope registry CLI option without --config. prefix such as --@​scope:registry=https://scope.example.com/npm #​9089.
  • pnpm link <path> should calculate relative path from the root of the workspace directory #​9132.
  • Fix a bug causing catalog snapshots to be removed from the pnpm-lock.yaml file when using --fix-lockfile and --filter. #​8639
  • Fix a bug causing catalog protocol dependencies to not re-resolve on a filtered install #​8638.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link
Contributor

Benchmarks results:

[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''294.48 ± 1.18%''271.00 ± 10.00''3631060 ± 0.01%''3690037 ± 131318'     │ 3395777 │
│ 1       │ 'inversify6''1003.7 ± 2.41%''922.00 ± 20.00''1063749 ± 0.02%''1084599 ± 23028'      │ 996270  │
│ 2       │ 'NestJS''299.33 ± 1.17%''280.00 ± 9.00''3537201 ± 0.01%''3571429 ± 118608'     │ 3340829 │
│ 3       │ 'tsyringe''320.93 ± 0.92%''291.00 ± 9.00''3313073 ± 0.01%''3436426 ± 103093'     │ 3115901 │
└─────────┴────────────────────┴──────────────────┴──────────────────┴────────────────────────┴────────────────────────┴─────────┘
inversifyCurrent vs inversify6 Speedup: 3.413x
inversifyCurrent vs NestJS Speedup: 1.027x
inversifyCurrent vs tsyringe Speedup: 1.096x

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''649.48 ± 0.54%''611.00 ± 10.00''1621026 ± 0.01%''1636661 ± 27232'      │ 1539685 │
│ 1       │ 'inversify6''5367.2 ± 0.39%''5089.0 ± 81.00''192464 ± 0.04%''196502 ± 3138'        │ 186319  │
│ 2       │ 'NestJS''9147.0 ± 1.59%''7875.0 ± 181.00''123694 ± 0.07%''126984 ± 2987'        │ 109326  │
│ 3       │ 'tsyringe''479.48 ± 0.41%''450.00 ± 9.00''2197155 ± 0.01%''2222222 ± 45351'      │ 2085579 │
└─────────┴────────────────────┴──────────────────┴───────────────────┴────────────────────────┴────────────────────────┴─────────┘
inversifyCurrent vs inversify6 Speedup: 8.422x
inversifyCurrent vs NestJS Speedup: 13.105x
inversifyCurrent vs tsyringe Speedup: 0.738x

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''315.45 ± 2.05%''281.00 ± 10.00''3495648 ± 0.01%''3558719 ± 131318'     │ 3170044 │
│ 1       │ 'inversify6''1058.4 ± 1.05%''962.00 ± 20.00''1014459 ± 0.02%''1039501 ± 21171'      │ 944788  │
│ 2       │ 'NestJS''337.10 ± 1.15%''301.00 ± 9.00''3226280 ± 0.01%''3322259 ± 96453'      │ 2966492 │
│ 3       │ 'tsyringe''348.37 ± 4.41%''301.00 ± 10.00''3220435 ± 0.01%''3322259 ± 106825'     │ 2870532 │
└─────────┴────────────────────┴──────────────────┴──────────────────┴────────────────────────┴────────────────────────┴─────────┘
inversifyCurrent vs inversify6 Speedup: 3.446x
inversifyCurrent vs NestJS Speedup: 1.083x
inversifyCurrent vs tsyringe Speedup: 1.085x

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''375744 ± 1.18%''354545 ± 3766.50''2751 ± 0.44%''2821 ± 30'            │ 2662    │
│ 1       │ 'inversify6''5427420 ± 1.18%''5199215 ± 187742.00''185 ± 1.15%''192 ± 7'              │ 185     │
│ 2       │ 'NestJS''59920 ± 1.61%''52819 ± 722.00''18449 ± 0.17%''18933 ± 259'          │ 16689   │
│ 3       │ 'tsyringe''249879 ± 0.87%''235406 ± 1417.50''4128 ± 0.35%''4248 ± 26'            │ 4002    │
└─────────┴────────────────────┴───────────────────┴───────────────────────┴────────────────────────┴────────────────────────┴─────────┘
inversifyCurrent vs inversify6 Speedup: 14.835x
inversifyCurrent vs NestJS Speedup: 0.149x
inversifyCurrent vs tsyringe Speedup: 0.666x
[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''263.33 ± 0.99%''251.00 ± 10.00''3919536 ± 0.01%''3984064 ± 152646'     │ 3797455 │
│ 1       │ 'inversify6''957.26 ± 4.03%''872.00 ± 11.00''1122945 ± 0.02%''1146789 ± 14651'      │ 1044645 │
│ 2       │ 'NestJS''312.74 ± 0.46%''291.00 ± 1.00''3371239 ± 0.01%''3436426 ± 11850'      │ 3197852 │
│ 3       │ 'tsyringe''317.40 ± 1.21%''281.00 ± 9.00''3456823 ± 0.01%''3558719 ± 110443'     │ 3150570 │
└─────────┴────────────────────┴──────────────────┴──────────────────┴────────────────────────┴────────────────────────┴─────────┘
inversifyCurrent vs inversify6 Speedup: 3.490x
inversifyCurrent vs NestJS Speedup: 1.163x
inversifyCurrent vs tsyringe Speedup: 1.134x

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''493.95 ± 0.31%''471.00 ± 10.00''2098654 ± 0.01%''2123142 ± 46055'      │ 2024484 │
│ 1       │ 'inversify6''5057.2 ± 4.45%''4629.0 ± 69.00''213243 ± 0.03%''216029 ± 3173'        │ 197738  │
│ 2       │ 'NestJS''9158.0 ± 1.74%''7904.0 ± 170.00''123310 ± 0.07%''126518 ± 2764'        │ 109195  │
│ 3       │ 'tsyringe''508.83 ± 0.67%''471.00 ± 10.00''2098775 ± 0.01%''2123142 ± 46055'      │ 1965291 │
└─────────┴────────────────────┴──────────────────┴───────────────────┴────────────────────────┴────────────────────────┴─────────┘
inversifyCurrent vs inversify6 Speedup: 9.842x
inversifyCurrent vs NestJS Speedup: 17.019x
inversifyCurrent vs tsyringe Speedup: 1.000x

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''287.30 ± 2.21%''271.00 ± 9.00''3597774 ± 0.01%''3690037 ± 118608'     │ 3480639 │
│ 1       │ 'inversify6''992.03 ± 1.84%''911.00 ± 11.00''1085144 ± 0.01%''1097695 ± 13096'      │ 1008031 │
│ 2       │ 'NestJS''354.56 ± 2.98%''311.00 ± 9.00''3133908 ± 0.01%''3215434 ± 90434'      │ 2820405 │
│ 3       │ 'tsyringe''321.59 ± 2.84%''291.00 ± 9.00''3350760 ± 0.01%''3436426 ± 103093'     │ 3109585 │
└─────────┴────────────────────┴──────────────────┴──────────────────┴────────────────────────┴────────────────────────┴─────────┘
inversifyCurrent vs inversify6 Speedup: 3.315x
inversifyCurrent vs NestJS Speedup: 1.148x
inversifyCurrent vs tsyringe Speedup: 1.074x

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''239116 ± 0.82%''226194 ± 2374.00''4296 ± 0.32%''4421 ± 47'            │ 4183    │
│ 1       │ 'inversify6''5041776 ± 1.56%''5037432 ± 389580.00''200 ± 1.36%''199 ± 16'             │ 199     │
│ 2       │ 'NestJS''60174 ± 1.33%''54212 ± 781.00''18017 ± 0.16%''18446 ± 266'          │ 16619   │
│ 3       │ 'tsyringe''248010 ± 0.78%''234219 ± 1893.00''4146 ± 0.35%''4270 ± 35'            │ 4033    │
└─────────┴────────────────────┴───────────────────┴───────────────────────┴────────────────────────┴────────────────────────┴─────────┘
inversifyCurrent vs inversify6 Speedup: 21.435x
inversifyCurrent vs NestJS Speedup: 0.238x
inversifyCurrent vs tsyringe Speedup: 1.036x

@renovate renovate bot changed the title chore: update dependency knip to v5.45.0 chore: update auto merge on patch or minor Feb 25, 2025
@renovate renovate bot force-pushed the renovate/auto-merge-on-patch-or-minor branch from 0a46ac2 to 3442a0f Compare February 25, 2025 16:05
Copy link
Contributor

Benchmarks results:

[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''296.47 ± 1.09%''271.00 ± 9.00''3590758 ± 0.01%''3690037 ± 118608'     │ 3373057 │
│ 1       │ 'inversify6''1048.5 ± 1.64%''962.00 ± 20.00''1014073 ± 0.02%''1039501 ± 21171'      │ 953727  │
│ 2       │ 'NestJS''292.65 ± 0.43%''271.00 ± 9.00''3595822 ± 0.01%''3690037 ± 118608'     │ 3417037 │
│ 3       │ 'tsyringe''319.50 ± 2.23%''281.00 ± 9.00''3443446 ± 0.01%''3558719 ± 110443'     │ 3129865 │
└─────────┴────────────────────┴──────────────────┴──────────────────┴────────────────────────┴────────────────────────┴─────────┘
inversifyCurrent vs inversify6 Speedup: 3.541x
inversifyCurrent vs NestJS Speedup: 0.999x
inversifyCurrent vs tsyringe Speedup: 1.043x

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''631.17 ± 0.54%''591.00 ± 10.00''1667321 ± 0.01%''1692047 ± 28154'      │ 1584365 │
│ 1       │ 'inversify6''5286.1 ± 3.36%''4920.0 ± 62.00''199964 ± 0.03%''203252 ± 2594'        │ 189174  │
│ 2       │ 'NestJS''9051.8 ± 1.36%''7785.0 ± 169.00''124366 ± 0.08%''128452 ± 2729'        │ 110476  │
│ 3       │ 'tsyringe''496.17 ± 0.66%''451.00 ± 10.00''2167192 ± 0.02%''2217295 ± 50279'      │ 2015436 │
└─────────┴────────────────────┴──────────────────┴───────────────────┴────────────────────────┴────────────────────────┴─────────┘
inversifyCurrent vs inversify6 Speedup: 8.338x
inversifyCurrent vs NestJS Speedup: 13.407x
inversifyCurrent vs tsyringe Speedup: 0.769x

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''326.37 ± 1.83%''301.00 ± 10.00''3277537 ± 0.01%''3322259 ± 106825'     │ 3064027 │
│ 1       │ 'inversify6''1108.7 ± 3.48%''1002.0 ± 11.00''975443 ± 0.02%''998004 ± 11078'       │ 901950  │
│ 2       │ 'NestJS''332.50 ± 3.23%''310.00 ± 9.00''3217108 ± 0.01%''3225806 ± 96453'      │ 3007478 │
│ 3       │ 'tsyringe''348.53 ± 4.45%''310.00 ± 9.00''3202211 ± 0.01%''3225806 ± 96453'      │ 2869207 │
└─────────┴────────────────────┴──────────────────┴──────────────────┴────────────────────────┴────────────────────────┴─────────┘
inversifyCurrent vs inversify6 Speedup: 3.360x
inversifyCurrent vs NestJS Speedup: 1.019x
inversifyCurrent vs tsyringe Speedup: 1.024x

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''350080 ± 0.72%''338890 ± 4537.00''2896 ± 0.31%''2951 ± 40'            │ 2857    │
│ 1       │ 'inversify6''5233013 ± 1.11%''5163777 ± 290700.00''192 ± 1.07%''194 ± 11'             │ 192     │
│ 2       │ 'NestJS''60171 ± 1.26%''53740 ± 751.00''18020 ± 0.18%''18608 ± 261'          │ 16620   │
│ 3       │ 'tsyringe''243134 ± 0.60%''230539 ± 1393.00''4197 ± 0.32%''4338 ± 26'            │ 4113    │
└─────────┴────────────────────┴───────────────────┴───────────────────────┴────────────────────────┴────────────────────────┴─────────┘
inversifyCurrent vs inversify6 Speedup: 15.067x
inversifyCurrent vs NestJS Speedup: 0.161x
inversifyCurrent vs tsyringe Speedup: 0.690x
[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''253.67 ± 1.09%''241.00 ± 9.00''4071230 ± 0.01%''4149378 ± 149378'     │ 3942208 │
│ 1       │ 'inversify6''926.55 ± 4.28%''832.00 ± 10.00''1180511 ± 0.01%''1201923 ± 14622'      │ 1079272 │
│ 2       │ 'NestJS''293.03 ± 0.38%''271.00 ± 1.00''3592381 ± 0.01%''3690037 ± 13667'      │ 3412565 │
│ 3       │ 'tsyringe''299.75 ± 1.68%''271.00 ± 10.00''3636366 ± 0.01%''3690037 ± 131318'     │ 3336080 │
└─────────┴────────────────────┴──────────────────┴──────────────────┴────────────────────────┴────────────────────────┴─────────┘
inversifyCurrent vs inversify6 Speedup: 3.449x
inversifyCurrent vs NestJS Speedup: 1.133x
inversifyCurrent vs tsyringe Speedup: 1.120x

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''506.86 ± 0.44%''481.00 ± 10.00''2062500 ± 0.01%''2079002 ± 44140'      │ 1972941 │
│ 1       │ 'inversify6''5057.4 ± 4.33%''4659.0 ± 70.00''211474 ± 0.04%''214638 ± 3177'        │ 197731  │
│ 2       │ 'NestJS''9174.1 ± 1.66%''7934.0 ± 161.00''122730 ± 0.07%''126040 ± 2594'        │ 109003  │
│ 3       │ 'tsyringe''473.54 ± 0.56%''440.00 ± 11.00''2250797 ± 0.01%''2272727 ± 55432'      │ 2111765 │
└─────────┴────────────────────┴──────────────────┴───────────────────┴────────────────────────┴────────────────────────┴─────────┘
inversifyCurrent vs inversify6 Speedup: 9.753x
inversifyCurrent vs NestJS Speedup: 16.805x
inversifyCurrent vs tsyringe Speedup: 0.916x

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''266.50 ± 1.69%''251.00 ± 1.00''3865874 ± 0.01%''3984064 ± 15936'      │ 3752315 │
│ 1       │ 'inversify6''924.99 ± 3.44%''841.00 ± 11.00''1176729 ± 0.01%''1189061 ± 15352'      │ 1081090 │
│ 2       │ 'NestJS''334.50 ± 1.43%''301.00 ± 9.00''3245467 ± 0.01%''3322259 ± 96453'      │ 2989512 │
│ 3       │ 'tsyringe''322.10 ± 2.89%''291.00 ± 10.00''3382904 ± 0.01%''3436426 ± 114167'     │ 3104673 │
└─────────┴────────────────────┴──────────────────┴──────────────────┴────────────────────────┴────────────────────────┴─────────┘
inversifyCurrent vs inversify6 Speedup: 3.285x
inversifyCurrent vs NestJS Speedup: 1.191x
inversifyCurrent vs tsyringe Speedup: 1.143x

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''241794 ± 0.82%''226842 ± 1764.00''4255 ± 0.34%''4408 ± 35'            │ 4136    │
│ 1       │ 'inversify6''4855228 ± 1.20%''5002053 ± 418219.50''207 ± 1.17%''200 ± 17'             │ 206     │
│ 2       │ 'NestJS''60795 ± 1.44%''53910 ± 711.00''18016 ± 0.18%''18549 ± 245'          │ 16449   │
│ 3       │ 'tsyringe''242531 ± 0.73%''230218 ± 1723.00''4227 ± 0.32%''4344 ± 33'            │ 4124    │
└─────────┴────────────────────┴───────────────────┴───────────────────────┴────────────────────────┴────────────────────────┴─────────┘
inversifyCurrent vs inversify6 Speedup: 20.506x
inversifyCurrent vs NestJS Speedup: 0.236x
inversifyCurrent vs tsyringe Speedup: 1.007x

Copy link
Contributor Author

renovate bot commented Feb 25, 2025

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

Copy link
Contributor

Benchmarks results:

[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''295.07 ± 1.23%''271.00 ± 10.00''3621728 ± 0.01%''3690037 ± 131318'     │ 3389058 │
│ 1       │ 'inversify6''1034.9 ± 2.25%''942.00 ± 20.00''1033682 ± 0.02%''1061571 ± 22070'      │ 966313  │
│ 2       │ 'NestJS''305.90 ± 0.44%''290.00 ± 9.00''3436142 ± 0.01%''3448276 ± 110443'     │ 3269033 │
│ 3       │ 'tsyringe''318.57 ± 1.42%''290.00 ± 9.00''3414458 ± 0.01%''3448276 ± 110443'     │ 3139050 │
└─────────┴────────────────────┴──────────────────┴──────────────────┴────────────────────────┴────────────────────────┴─────────┘
inversifyCurrent vs inversify6 Speedup: 3.504x
inversifyCurrent vs NestJS Speedup: 1.054x
inversifyCurrent vs tsyringe Speedup: 1.061x

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''629.60 ± 0.59%''591.00 ± 10.00''1677417 ± 0.01%''1692047 ± 28154'      │ 1588305 │
│ 1       │ 'inversify6''5564.3 ± 3.40%''4989.0 ± 91.00''193966 ± 0.06%''200441 ± 3682'        │ 179716  │
│ 2       │ 'NestJS''9399.9 ± 1.64%''7955.0 ± 181.00''121914 ± 0.08%''125707 ± 2910'        │ 106384  │
│ 3       │ 'tsyringe''465.30 ± 0.60%''431.00 ± 10.00''2295399 ± 0.01%''2320186 ± 55111'      │ 2149146 │
└─────────┴────────────────────┴──────────────────┴───────────────────┴────────────────────────┴────────────────────────┴─────────┘
inversifyCurrent vs inversify6 Speedup: 8.648x
inversifyCurrent vs NestJS Speedup: 13.759x
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''320.24 ± 2.16%''290.00 ± 9.00''3410646 ± 0.01%''3448276 ± 110443'     │ 3122630 │
│ 1       │ 'inversify6''1130.7 ± 1.13%''1012.0 ± 20.00''964487 ± 0.02%''988142 ± 19922'       │ 884373  │
│ 2       │ 'NestJS''341.51 ± 3.45%''310.00 ± 9.00''3183331 ± 0.01%''3225806 ± 96453'      │ 2928203 │
│ 3       │ 'tsyringe''341.87 ± 4.20%''301.00 ± 9.00''3279220 ± 0.01%''3322259 ± 96453'      │ 2925131 │
└─────────┴────────────────────┴──────────────────┴──────────────────┴────────────────────────┴────────────────────────┴─────────┘
inversifyCurrent vs inversify6 Speedup: 3.536x
inversifyCurrent vs NestJS Speedup: 1.071x
inversifyCurrent vs tsyringe Speedup: 1.040x

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''347875 ± 1.26%''335028 ± 4188.00''2931 ± 0.33%''2985 ± 38'            │ 2875    │
│ 1       │ 'inversify6''5089203 ± 1.08%''5027158 ± 296506.00''198 ± 1.02%''199 ± 12'             │ 197     │
│ 2       │ 'NestJS''61154 ± 1.45%''54742 ± 672.00''17843 ± 0.16%''18268 ± 226'          │ 16353   │
│ 3       │ 'tsyringe''238177 ± 0.76%''226173 ± 2333.00''4309 ± 0.32%''4421 ± 46'            │ 4199    │
└─────────┴────────────────────┴───────────────────┴───────────────────────┴────────────────────────┴────────────────────────┴─────────┘
inversifyCurrent vs inversify6 Speedup: 14.834x
inversifyCurrent vs NestJS Speedup: 0.164x
inversifyCurrent vs tsyringe Speedup: 0.680x
[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''249.35 ± 1.07%''231.00 ± 9.00''4159598 ± 0.01%''4329004 ± 162338'     │ 4010364 │
│ 1       │ 'inversify6''890.70 ± 2.75%''821.00 ± 19.00''1196557 ± 0.02%''1218027 ± 28856'      │ 1122713 │
│ 2       │ 'NestJS''300.11 ± 0.49%''281.00 ± 9.00''3519237 ± 0.01%''3558719 ± 110443'     │ 3332100 │
│ 3       │ 'tsyringe''310.49 ± 1.51%''280.00 ± 9.00''3524779 ± 0.01%''3571429 ± 118608'     │ 3220758 │
└─────────┴────────────────────┴──────────────────┴──────────────────┴────────────────────────┴────────────────────────┴─────────┘
inversifyCurrent vs inversify6 Speedup: 3.476x
inversifyCurrent vs NestJS Speedup: 1.182x
inversifyCurrent vs tsyringe Speedup: 1.180x

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''519.05 ± 0.70%''481.00 ± 10.00''2047176 ± 0.01%''2079002 ± 42342'      │ 1926598 │
│ 1       │ 'inversify6''5004.9 ± 3.20%''4589.0 ± 89.00''214006 ± 0.04%''217912 ± 4146'        │ 199806  │
│ 2       │ 'NestJS''9474.6 ± 1.73%''8065.0 ± 190.00''120629 ± 0.07%''123993 ± 2992'        │ 105545  │
│ 3       │ 'tsyringe''485.52 ± 0.69%''450.00 ± 9.00''2203304 ± 0.01%''2222222 ± 45351'      │ 2059653 │
└─────────┴────────────────────┴──────────────────┴───────────────────┴────────────────────────┴────────────────────────┴─────────┘
inversifyCurrent vs inversify6 Speedup: 9.566x
inversifyCurrent vs NestJS Speedup: 16.971x
inversifyCurrent vs tsyringe Speedup: 0.929x

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.79 ± 1.76%''270.00 ± 10.00''3701190 ± 0.01%''3703704 ± 142450'     │ 3586958 │
│ 1       │ 'inversify6''965.63 ± 3.72%''851.00 ± 19.00''1160076 ± 0.01%''1175088 ± 26835'      │ 1035594 │
│ 2       │ 'NestJS''342.60 ± 2.75%''311.00 ± 9.00''3134594 ± 0.01%''3215434 ± 90434'      │ 2918859 │
│ 3       │ 'tsyringe''339.28 ± 4.22%''300.00 ± 9.00''3333550 ± 0.01%''3333333 ± 103093'     │ 2947392 │
└─────────┴────────────────────┴──────────────────┴──────────────────┴────────────────────────┴────────────────────────┴─────────┘
inversifyCurrent vs inversify6 Speedup: 3.190x
inversifyCurrent vs NestJS Speedup: 1.181x
inversifyCurrent vs tsyringe Speedup: 1.110x

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''247227 ± 1.06%''229901 ± 2294.00''4210 ± 0.37%''4350 ± 43'            │ 4045    │
│ 1       │ 'inversify6''4807810 ± 1.30%''4915077 ± 489798.00''210 ± 1.27%''203 ± 20'             │ 209     │
│ 2       │ 'NestJS''63019 ± 1.72%''55384 ± 802.00''17601 ± 0.17%''18056 ± 262'          │ 15869   │
│ 3       │ 'tsyringe''243535 ± 0.92%''229781 ± 1845.00''4237 ± 0.33%''4352 ± 35'            │ 4107    │
└─────────┴────────────────────┴───────────────────┴───────────────────────┴────────────────────────┴────────────────────────┴─────────┘
inversifyCurrent vs inversify6 Speedup: 20.064x
inversifyCurrent vs NestJS Speedup: 0.239x
inversifyCurrent vs tsyringe Speedup: 0.994x

@notaphplover notaphplover merged commit 619e1a0 into main Feb 25, 2025
8 checks passed
@notaphplover notaphplover deleted the renovate/auto-merge-on-patch-or-minor branch February 25, 2025 22:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant