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

[Changesets] Bump package versions #473

Merged
merged 2 commits into from
Mar 7, 2025
Merged

Conversation

inversify-app[bot]
Copy link

@inversify-app inversify-app bot commented Mar 7, 2025

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@inversifyjs/[email protected]

Major Changes

  • 6de1cee: updated BasePlanParams.servicesBranch to be an array

Patch Changes

  • 7ef055a: Updated plan to no longer provide false positive circular dependencies

@inversifyjs/[email protected]

Patch Changes

  • 69f5344: Updated inversify peer dependency

@inversifyjs/[email protected]

Patch Changes

Copy link
Contributor

github-actions bot commented Mar 7, 2025

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.16 ± 0.47%''271.00 ± 9.00''3566215 ± 0.01%''3690037 ± 118608'     │ 3342726 │
│ 1       │ 'inversify6''992.64 ± 0.95%''921.00 ± 19.00''1069104 ± 0.02%''1085776 ± 22871'      │ 1007415 │
│ 2       │ 'NestJS''292.83 ± 0.48%''271.00 ± 1.00''3612233 ± 0.01%''3690037 ± 13667'      │ 3414974 │
│ 3       │ 'tsyringe''315.06 ± 3.17%''290.00 ± 9.00''3418678 ± 0.01%''3448276 ± 110443'     │ 3173986 │
└─────────┴────────────────────┴──────────────────┴──────────────────┴────────────────────────┴────────────────────────┴─────────┘
inversifyCurrent vs inversify6 Speedup: 3.336x
inversifyCurrent vs NestJS Speedup: 0.987x
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''622.49 ± 0.51%''591.00 ± 10.00''1687384 ± 0.01%''1692047 ± 29123'      │ 1606443 │
│ 1       │ 'inversify6''5311.4 ± 2.11%''4999.0 ± 81.00''197034 ± 0.04%''200040 ± 3253'        │ 188274  │
│ 2       │ 'NestJS''9186.4 ± 1.63%''7794.0 ± 180.00''124390 ± 0.08%''128304 ± 3033'        │ 108857  │
│ 3       │ 'tsyringe''470.56 ± 0.73%''431.00 ± 10.00''2278780 ± 0.01%''2320186 ± 52612'      │ 2125139 │
└─────────┴────────────────────┴──────────────────┴───────────────────┴────────────────────────┴────────────────────────┴─────────┘
inversifyCurrent vs inversify6 Speedup: 8.564x
inversifyCurrent vs NestJS Speedup: 13.565x
inversifyCurrent vs tsyringe Speedup: 0.740x

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''336.92 ± 2.22%''290.00 ± 9.00''3401762 ± 0.01%''3448276 ± 110443'     │ 2968073 │
│ 1       │ 'inversify6''1107.9 ± 2.86%''1002.0 ± 20.00''981721 ± 0.02%''998004 ± 20326'       │ 902574  │
│ 2       │ 'NestJS''372.94 ± 4.39%''311.00 ± 1.00''3155600 ± 0.01%''3215434 ± 10372'      │ 2681367 │
│ 3       │ 'tsyringe''337.85 ± 2.05%''301.00 ± 9.00''3210968 ± 0.01%''3322259 ± 96453'      │ 2959894 │
└─────────┴────────────────────┴──────────────────┴──────────────────┴────────────────────────┴────────────────────────┴─────────┘
inversifyCurrent vs inversify6 Speedup: 3.465x
inversifyCurrent vs NestJS Speedup: 1.078x
inversifyCurrent vs tsyringe Speedup: 1.059x

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''359955 ± 1.67%''329322 ± 4037.00''2946 ± 0.48%''3037 ± 37'            │ 2779    │
│ 1       │ 'inversify6''5351474 ± 1.71%''4949726 ± 195032.50''189 ± 1.60%''202 ± 8'              │ 188     │
│ 2       │ 'NestJS''63803 ± 2.12%''54561 ± 741.00''17825 ± 0.18%''18328 ± 249'          │ 15674   │
│ 3       │ 'tsyringe''237939 ± 0.81%''224959 ± 1694.00''4328 ± 0.33%''4445 ± 34'            │ 4203    │
└─────────┴────────────────────┴───────────────────┴───────────────────────┴────────────────────────┴────────────────────────┴─────────┘
inversifyCurrent vs inversify6 Speedup: 15.559x
inversifyCurrent vs NestJS Speedup: 0.165x
inversifyCurrent vs tsyringe Speedup: 0.681x
> 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''256.32 ± 1.24%''241.00 ± 10.00''4027695 ± 0.01%''4149378 ± 165314'     │ 3901391 │
│ 1       │ 'inversify6''944.92 ± 3.47%''841.00 ± 20.00''1170145 ± 0.02%''1189061 ± 27620'      │ 1058288 │
│ 2       │ 'NestJS''303.93 ± 0.45%''281.00 ± 10.00''3493067 ± 0.01%''3558719 ± 122293'     │ 3290247 │
│ 3       │ 'tsyringe''320.49 ± 1.59%''281.00 ± 10.00''3489702 ± 0.01%''3558719 ± 131318'     │ 3120194 │
└─────────┴────────────────────┴──────────────────┴──────────────────┴────────────────────────┴────────────────────────┴─────────┘
inversifyCurrent vs inversify6 Speedup: 3.442x
inversifyCurrent vs NestJS Speedup: 1.153x
inversifyCurrent vs tsyringe Speedup: 1.154x

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''501.96 ± 2.23%''461.00 ± 10.00''2140106 ± 0.01%''2169197 ± 48098'      │ 1992173 │
│ 1       │ 'inversify6''4940.5 ± 4.49%''4448.0 ± 60.00''220902 ± 0.03%''224820 ± 3074'        │ 202411  │
│ 2       │ 'NestJS''9603.8 ± 2.26%''7935.0 ± 200.00''122757 ± 0.07%''126024 ± 3108'        │ 104126  │
│ 3       │ 'tsyringe''476.86 ± 0.90%''431.00 ± 10.00''2282984 ± 0.01%''2320186 ± 55111'      │ 2097064 │
└─────────┴────────────────────┴──────────────────┴───────────────────┴────────────────────────┴────────────────────────┴─────────┘
inversifyCurrent vs inversify6 Speedup: 9.688x
inversifyCurrent vs NestJS Speedup: 17.434x
inversifyCurrent vs tsyringe Speedup: 0.937x

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''274.69 ± 1.63%''260.00 ± 10.00''3770762 ± 0.01%''3846154 ± 142450'     │ 3640452 │
│ 1       │ 'inversify6''961.69 ± 2.92%''881.00 ± 19.00''1120550 ± 0.01%''1135074 ± 25019'      │ 1039835 │
│ 2       │ 'NestJS''347.28 ± 0.79%''311.00 ± 10.00''3129462 ± 0.01%''3215434 ± 100169'     │ 2879536 │
│ 3       │ 'tsyringe''335.00 ± 3.58%''291.00 ± 10.00''3328448 ± 0.01%''3436426 ± 114167'     │ 2985053 │
└─────────┴────────────────────┴──────────────────┴──────────────────┴────────────────────────┴────────────────────────┴─────────┘
inversifyCurrent vs inversify6 Speedup: 3.365x
inversifyCurrent vs NestJS Speedup: 1.205x
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''241753 ± 1.10%''224467 ± 2755.00''4318 ± 0.37%''4455 ± 55'            │ 4137    │
│ 1       │ 'inversify6''4851850 ± 2.11%''4955686 ± 553882.00''210 ± 1.71%''202 ± 23'             │ 207     │
│ 2       │ 'NestJS''60745 ± 1.70%''53499 ± 751.00''18259 ± 0.16%''18692 ± 262'          │ 16463   │
│ 3       │ 'tsyringe''241474 ± 0.82%''228374 ± 1893.50''4263 ± 0.33%''4379 ± 37'            │ 4142    │
└─────────┴────────────────────┴───────────────────┴───────────────────────┴────────────────────────┴────────────────────────┴─────────┘
inversifyCurrent vs inversify6 Speedup: 20.567x
inversifyCurrent vs NestJS Speedup: 0.236x
inversifyCurrent vs tsyringe Speedup: 1.013x

@notaphplover notaphplover merged commit 4fc66d9 into main Mar 7, 2025
8 checks passed
@notaphplover notaphplover deleted the changeset-release/main branch March 7, 2025 19:49
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