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: bump typescript to v5.0.4 #2397

Merged
merged 1 commit into from
Jul 28, 2023
Merged

fix: bump typescript to v5.0.4 #2397

merged 1 commit into from
Jul 28, 2023

Conversation

Romakita
Copy link
Collaborator

No description provided.

@Romakita Romakita merged commit f7cc1e0 into production Jul 28, 2023
30 of 32 checks passed
@Romakita Romakita deleted the fix-typescript-v5 branch July 28, 2023 10:00
@github-actions
Copy link

Benchmarks

  • Machine: linux x64 | 2 vCPUs | 6.8GB Mem
  • Node: v16.20.1
  • Run: Fri Jul 28 2023 10:07:59 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 28528.0 34.58 5.09
nest-fastify 8.4.3 28177.6 35.03 5.02
koa 2.13.4 23321.6 42.45 4.16
fastify-injector 3.29.4 17438.8 56.94 3.97
fastify-big-json 3.29.4 6984.4 142.03 80.35
express 4.18.1 6570.8 150.93 1.17
tsed-koa 7.34.1 5916.9 167.44 5.17
nest 8.4.3 5484.9 180.87 1.32
express-injector 4.18.1 5345.6 185.16 1.22
tsed-express 7.34.1 5045.9 196.38 0.92
express-morgan 4.18.1 4097.8 241.46 0.73

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

🎉 This PR is included in version 7.34.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.

1 participant