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

fix(oidc-provider): fix undefined order when there is no interaction #2366

Merged
merged 1 commit into from
Jul 3, 2023

Conversation

Romakita
Copy link
Collaborator

@Romakita Romakita commented Jul 3, 2023

No description provided.

@Romakita Romakita merged commit 8d69af8 into production Jul 3, 2023
33 of 34 checks passed
@Romakita Romakita deleted the fix-oidc-undefined-order-policy branch July 3, 2023 13:50
@github-actions
Copy link

github-actions bot commented Jul 3, 2023

Benchmarks

  • Machine: linux x64 | 2 vCPUs | 6.8GB Mem
  • Node: v16.20.1
  • Run: Mon Jul 03 2023 13:52:34 GMT+0000 (Coordinated Universal Time)
  • Method: autocannon -c 100 -d 10 -p 10 localhost:3000 (two rounds; one to warm-up, one to measure)
Version Router Requests/s Latency Throughput/Mb
fastify 3.29.4 59017.6 16.51 10.52
nest-fastify 8.4.3 51372.8 18.96 9.16
koa 2.13.4 43596.8 22.45 7.77
fastify-injector 3.29.4 29742.4 33.10 6.78
express 4.18.1 11619.3 85.36 2.07
fastify-big-json 3.29.4 10813.6 91.70 124.41
tsed-koa 7.30.1 10566.7 93.78 9.23
nest 8.4.3 10525.5 94.23 2.53
express-injector 4.18.1 9495.1 104.39 2.16
tsed-express 7.30.1 8877.6 111.60 1.63
express-morgan 4.18.1 7052.4 140.52 1.26

Explanation

The benchmark shows a performance difference between the frameworks. We note that Ts.ED is often last. In fact, Ts.ED uses features useful to a production application which reduce its performance.

For example, Ts.ED initializes a sandbox (async_hook) for each request in order to work in an isolated context if necessary.
It also initializes the elements necessary for monitoring requests in a log manager.

All this at a necessary cost that reflects the reality of a production application ;)

@Romakita
Copy link
Collaborator Author

Romakita commented Jul 3, 2023

🎉 This PR is included in version 7.30.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants