Open
Conversation
Contributor
Benchmarks results:> root@ benchmarks:http:cjs:low /home/runner/work/monorepo/monorepo
> pnpm run --filter "@inversifyjs/http-benchmarks" benchmarks:run:cjs:low
> @inversifyjs/http-benchmarks@ benchmarks:run:cjs:low /home/runner/work/monorepo/monorepo/packages/framework/http/tools/http-benchmarks
> BUILD_TARGET=cjs VUS=128 ./bin/run-cjs.cjs
[CJS] Running benchmarks...
Express Basic Get Request
┌─────────┬───────────────────────────┬──────────────────┬──────────────────┬────────────────────────┬─────────┐
│ (index) │ Task name │ Latency avg (ms) │ Latency med (ms) │ Throughput avg (req/s) │ Samples │
├─────────┼───────────────────────────┼──────────────────┼──────────────────┼────────────────────────┼─────────┤
│ 0 │ 'currentInversifyExpress' │ '7.269' │ '7.321' │ '8704.968' │ 87160 │
│ 1 │ 'express' │ '6.652' │ '6.275' │ '9505.183' │ 95163 │
│ 2 │ 'NestJSExpress' │ '7.278' │ '7.074' │ '8700.206' │ 87116 │
└─────────┴───────────────────────────┴──────────────────┴──────────────────┴────────────────────────┴─────────┘
currentInversifyExpress vs express Speedup: 0.916x
currentInversifyExpress vs NestJSExpress Speedup: 1.001x
Express v4 Basic Get Request
┌─────────┬────────────────────────────┬──────────────────┬──────────────────┬────────────────────────┬─────────┐
│ (index) │ Task name │ Latency avg (ms) │ Latency med (ms) │ Throughput avg (req/s) │ Samples │
├─────────┼────────────────────────────┼──────────────────┼──────────────────┼────────────────────────┼─────────┤
│ 0 │ 'currentInversifyExpress4' │ '7.160' │ '6.727' │ '8845.368' │ 88569 │
│ 1 │ 'express4' │ '6.723' │ '6.310' │ '9410.667' │ 94226 │
└─────────┴────────────────────────────┴──────────────────┴──────────────────┴────────────────────────┴─────────┘
currentInversifyExpress4 vs express4 Speedup: 0.940x
Fastify Basic Get Request
┌─────────┬───────────────────────────┬──────────────────┬──────────────────┬────────────────────────┬─────────┐
│ (index) │ Task name │ Latency avg (ms) │ Latency med (ms) │ Throughput avg (req/s) │ Samples │
├─────────┼───────────────────────────┼──────────────────┼──────────────────┼────────────────────────┼─────────┤
│ 0 │ 'currentInversifyFastify' │ '4.010' │ '3.489' │ '15572.555' │ 155817 │
│ 1 │ 'fastify' │ '3.684' │ '3.188' │ '16869.673' │ 168822 │
│ 2 │ 'NestJSFastify' │ '4.298' │ '3.836' │ '14554.679' │ 145654 │
└─────────┴───────────────────────────┴──────────────────┴──────────────────┴────────────────────────┴─────────┘
currentInversifyFastify vs fastify Speedup: 0.923x
currentInversifyFastify vs NestJSFastify Speedup: 1.070x
Hono Basic Get Request
┌─────────┬────────────────────────┬──────────────────┬──────────────────┬────────────────────────┬─────────┐
│ (index) │ Task name │ Latency avg (ms) │ Latency med (ms) │ Throughput avg (req/s) │ Samples │
├─────────┼────────────────────────┼──────────────────┼──────────────────┼────────────────────────┼─────────┤
│ 0 │ 'currentInversifyHono' │ '4.557' │ '4.066' │ '13740.424' │ 137527 │
│ 1 │ 'hono' │ '3.992' │ '3.459' │ '15618.882' │ 156315 │
└─────────┴────────────────────────┴──────────────────┴──────────────────┴────────────────────────┴─────────┘
currentInversifyHono vs hono Speedup: 0.880x
uWebSockets Basic Get Request
┌─────────┬───────────────────────────────┬──────────────────┬──────────────────┬────────────────────────┬─────────┐
│ (index) │ Task name │ Latency avg (ms) │ Latency med (ms) │ Throughput avg (req/s) │ Samples │
├─────────┼───────────────────────────────┼──────────────────┼──────────────────┼────────────────────────┼─────────┤
│ 0 │ 'currentInversifyUwebsockets' │ '2.344' │ '1.660' │ '25801.860' │ 258073 │
│ 1 │ 'uwebsockets' │ '2.297' │ '1.697' │ '26604.756' │ 266097 │
└─────────┴───────────────────────────────┴──────────────────┴──────────────────┴────────────────────────┴─────────┘
currentInversifyUwebsockets vs uwebsockets Speedup: 0.970x |
40c2112 to
36557a5
Compare
|
Contributor
Benchmarks results:> root@ benchmarks:http:cjs:low /home/runner/work/monorepo/monorepo
> pnpm run --filter "@inversifyjs/http-benchmarks" benchmarks:run:cjs:low
> @inversifyjs/http-benchmarks@ benchmarks:run:cjs:low /home/runner/work/monorepo/monorepo/packages/framework/http/tools/http-benchmarks
> BUILD_TARGET=cjs VUS=128 ./bin/run-cjs.cjs
[CJS] Running benchmarks...
Express Basic Get Request
┌─────────┬───────────────────────────┬──────────────────┬──────────────────┬────────────────────────┬─────────┐
│ (index) │ Task name │ Latency avg (ms) │ Latency med (ms) │ Throughput avg (req/s) │ Samples │
├─────────┼───────────────────────────┼──────────────────┼──────────────────┼────────────────────────┼─────────┤
│ 0 │ 'currentInversifyExpress' │ '7.343' │ '7.132' │ '8609.982' │ 86218 │
│ 1 │ 'express' │ '6.610' │ '6.261' │ '9563.000' │ 95749 │
│ 2 │ 'NestJSExpress' │ '7.141' │ '6.850' │ '8857.544' │ 88687 │
└─────────┴───────────────────────────┴──────────────────┴──────────────────┴────────────────────────┴─────────┘
currentInversifyExpress vs express Speedup: 0.900x
currentInversifyExpress vs NestJSExpress Speedup: 0.972x
Express v4 Basic Get Request
┌─────────┬────────────────────────────┬──────────────────┬──────────────────┬────────────────────────┬─────────┐
│ (index) │ Task name │ Latency avg (ms) │ Latency med (ms) │ Throughput avg (req/s) │ Samples │
├─────────┼────────────────────────────┼──────────────────┼──────────────────┼────────────────────────┼─────────┤
│ 0 │ 'currentInversifyExpress4' │ '7.167' │ '6.793' │ '8830.953' │ 88424 │
│ 1 │ 'express4' │ '6.646' │ '6.262' │ '9504.791' │ 95169 │
└─────────┴────────────────────────────┴──────────────────┴──────────────────┴────────────────────────┴─────────┘
currentInversifyExpress4 vs express4 Speedup: 0.929x
Fastify Basic Get Request
┌─────────┬───────────────────────────┬──────────────────┬──────────────────┬────────────────────────┬─────────┐
│ (index) │ Task name │ Latency avg (ms) │ Latency med (ms) │ Throughput avg (req/s) │ Samples │
├─────────┼───────────────────────────┼──────────────────┼──────────────────┼────────────────────────┼─────────┤
│ 0 │ 'currentInversifyFastify' │ '4.013' │ '3.431' │ '15482.229' │ 155021 │
│ 1 │ 'fastify' │ '3.725' │ '3.237' │ '16756.164' │ 167643 │
│ 2 │ 'NestJSFastify' │ '4.297' │ '3.714' │ '14547.965' │ 145581 │
└─────────┴───────────────────────────┴──────────────────┴──────────────────┴────────────────────────┴─────────┘
currentInversifyFastify vs fastify Speedup: 0.924x
currentInversifyFastify vs NestJSFastify Speedup: 1.064x
Hono Basic Get Request
┌─────────┬────────────────────────┬──────────────────┬──────────────────┬────────────────────────┬─────────┐
│ (index) │ Task name │ Latency avg (ms) │ Latency med (ms) │ Throughput avg (req/s) │ Samples │
├─────────┼────────────────────────┼──────────────────┼──────────────────┼────────────────────────┼─────────┤
│ 0 │ 'currentInversifyHono' │ '4.577' │ '3.959' │ '13643.675' │ 136491 │
│ 1 │ 'hono' │ '4.067' │ '3.526' │ '15319.427' │ 153294 │
└─────────┴────────────────────────┴──────────────────┴──────────────────┴────────────────────────┴─────────┘
currentInversifyHono vs hono Speedup: 0.891x
uWebSockets Basic Get Request
┌─────────┬───────────────────────────────┬──────────────────┬──────────────────┬────────────────────────┬─────────┐
│ (index) │ Task name │ Latency avg (ms) │ Latency med (ms) │ Throughput avg (req/s) │ Samples │
├─────────┼───────────────────────────────┼──────────────────┼──────────────────┼────────────────────────┼─────────┤
│ 0 │ 'currentInversifyUwebsockets' │ '2.411' │ '1.705' │ '25238.496' │ 252443 │
│ 1 │ 'uwebsockets' │ '2.345' │ '1.728' │ '26017.819' │ 260288 │
└─────────┴───────────────────────────────┴──────────────────┴──────────────────┴────────────────────────┴─────────┘
currentInversifyUwebsockets vs uwebsockets Speedup: 0.970x |
36557a5 to
b962201
Compare
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.
This PR contains the following updates:
^1.5.6→^1.6.01.5.6→1.6.04.12.10→4.12.11^4.12.10→^4.12.118.0.3→8.0.5Release Notes
better-auth/better-auth (better-auth)
v1.6.0Compare Source
Minor Changes
#8836
5dd9e44Thanks @gustavovalverde! - Add case-insensitive query support for database adapters#8836
5dd9e44Thanks @gustavovalverde! - Add optional version field to the plugin interface and expose version from all built-in pluginsPatch Changes
#8985
dd537cbThanks @gustavovalverde! - deprecateoidc-providerplugin in favor of@better-auth/oauth-providerThe
oidc-providerplugin now emits a one-time runtime deprecation warning when instantiated and is marked as@deprecatedin TypeScript. It will be removed in the next major version. Migrate to@better-auth/oauth-provider.#8843
bd9bd58Thanks @gustavovalverde! - enforce role-based authorization on SCIM management endpoints and normalize passkey ownership checks via shared authorization middleware#8836
5dd9e44Thanks @gustavovalverde! - Return additional user fields and session data from the magic-link verify endpoint#8836
5dd9e44Thanks @gustavovalverde! - Allow passwordless users to enable, disable, and manage two-factor authentication#8836
5dd9e44Thanks @gustavovalverde! - Prevent updateUser from overwriting unrelated username or displayUsername fields#8836
5dd9e44Thanks @gustavovalverde! - Use non-blocking scrypt for password hashing to avoid blocking the event loop#8836
5dd9e44Thanks @gustavovalverde! - Enforce username uniqueness when updating a user profile#8836
5dd9e44Thanks @gustavovalverde! - Align session fresh age calculation with creation time instead of update time#8836
5dd9e44Thanks @gustavovalverde! - Compare account cookie by provider accountId instead of internal id#8836
5dd9e44Thanks @gustavovalverde! - Trigger session signal after requesting email change in email-otp plugin#8836
5dd9e44Thanks @gustavovalverde! - Rethrow sendOTP failures in phone-number plugin instead of silently swallowing them#8836
5dd9e44Thanks @gustavovalverde! - Read OAuth proxy callback parameters from request body when using form_post response mode#8980
469eee6Thanks @bytaesu! - fix oauth state double-hashing when verification storeIdentifier is set to hashed#8981
560230fThanks @bytaesu! - Preventanyfrom collapsingauth.$Inferandauth.$ERROR_CODES. Preserve client query typing when body isany.Updated dependencies [
5dd9e44,5dd9e44,5dd9e44]:honojs/hono (hono)
v4.12.11Compare Source
What's Changed
New Contributors
Full Changelog: honojs/hono@v4.12.10...v4.12.11
vitejs/vite (vite)
v8.0.5Compare Source
Bug Fixes
server.fsafter stripping query as well (#22160) (a9a3df2)v8.0.4Compare Source
Features
Bug Fixes
hasBothRollupOptionsAndRolldownOptionsshould returnfalsefor proxy case (#22043) (99897d2)vite/modulepreload-polyfill(#22126) (17330d2)#(#22038) (3460fc5)Documentation
environment.fetchModuledocumentation (#22035) (54229e7)Miscellaneous Chores
Code Refactoring
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.
This PR was generated by Mend Renovate. View the repository job log.