Nest is a kitchen-sink type framework. It has a lot of tools that you don't always need and a lot of opinions about how things should be done. If your project requirements deviate at all from what is documented in basic use cases you can actually be worse off then using a lightweight framework like express and bringing in the pieces you need. Answer from WarInternal on reddit.com
🌐
Medium
medium.com › deno-the-complete-reference › express-vs-nestjs-performance-comparison-for-hello-world-e2a201b83420
Express vs NestJS: Performance comparison for hello world | Tech Tonic
June 9, 2023 - For this simple case, NestJS has ~10% performance impact over Express framework. Not bad for an opinionated framework that’s built over Express.
🌐
Reddit
reddit.com › r/node › why nodejs engineers prefer express over nestjs? although nestjs forces good practice and proper architecture and it seems to be a right choice for complex and enterprise applications like asp.net and spring. what are the limitations of nestjs compared to express?
r/node on Reddit: Why nodejs engineers prefer express over nestjs? although nestjs forces good practice and proper architecture and it seems to be a right choice for complex and enterprise applications like asp.net and Spring. What are the limitations of nestjs compared to express?
May 25, 2023 - I think it's important to be clear here: NestJS does not force "good practice and proper architecture." It forces your app to look like it was built in a legacy framework and that makes some devs more comfortable. But it has nothing to do with the things you describe, while making debugging worse and startup performance worse (which can be negative to performance on Lambda which is a very common use-case for Node).
Top answer
1 of 1
292

UPDATE - 17.03.2020

We are now running benchmarks for every new PR. One of the latest benchmarks can be found here: https://github.com/nestjs/nest/runs/11029354661

               Req/sec  Trans/sec
Nest-Express    15370   3.17MB  
Nest-Fastify    30001   4.38MB  
Express         17208   3.53MB  
Fastify         33578   4.87MB      

That means Nest + FastifyAdapter is now almost 2 times faster than express.

UPDATE - 22.09.2018

Benchmarks directory has been added to the repository: https://github.com/nestjs/nest/blob/master/benchmarks/all_output.txt (you can run benchmarks on your machine as well).

UPDATE - 24.06.2018

Nest v5.0.0 supports fastify. Fastify + Nest integration is even more performant than plain(!) express.


The following list shows what Nest is doing in comparison to plain express route handler:

  • it surrounds your route handler body with try..catch blocks
  • it makes every route handler async
  • it creates a global express router
  • it creates a separated router for each controller
  • it binds error-handling middleware
  • it binds body-parser middleware (both json and extended urlencoded)

All of the mentioned things reflect a real-world example (probably 99.9% express apps have to do this as well, it's unavoidable). It means that if you want to compare Express and Nest performance, you should at least cover above points. The comparison with the example below:

app.get('/', (req, res, next) => res.status(200).send('Hello world'));

Is unfair in this case, because it's not enough. When I cover these points, this is what I received (express 4.16.2):

Running 10s test @ http://localhost:3000
1024 connections

Stat         Avg    Stdev   Max
Latency (ms) 225.67 109.97  762
Req/Sec      4560   1034.78 5335
Bytes/Sec    990 kB 226 kB  1.18 MB

46k requests in 10s, 9.8 MB read

Additionally, Nest has to:

  • recognize whether a result is a Promise/Observable/plain value
  • based on the result type, use send() or json() (+1 condition)
  • add 3 conditions (if statements) to check pipes, interceptors and guards

There's an output for Nest (4.5.8):

Running 10s test @ http://localhost:3000
1024 connections

Stat         Avg    Stdev   Max
Latency (ms) 297.79 55.5    593
Req/Sec      3433.2 367.84  3649
Bytes/Sec    740 kB 81.9 kB 819 kB

34k requests in 10s, 7.41 MB read

This implies that Nest performance is around 79% express (-21%). This is due to the reasons set out above, and moreover, because Nest is compatible with Node 6.11.x which means that it can't use async/await under the hood - it has to use generators.

Which conclusion is to be drawn based on those stats? None, because we aren't used to creating applications that only returns plain strings without any asynchronous stuff. The comparisons with Hello world means nothing, it's only a titbit :)

PS. I used autocannon library https://github.com/mcollina/autocannon

autocannon -c 1024 -t30 http://localhost:3000

🌐
Radixweb
radixweb.com › blog › nestjs-vs-expressjs
NestJS vs ExpressJS: Which Framework is Best?
August 26, 2024 - Compare NestJS and ExpressJS to discover which Node.js framework offers the best features and benefits for building efficient and scalable web applications.
🌐
Scalable Backend
blog.scalablebackend.com › performance-testing-express-fastify-and-nestjs-with-expressfastify
Performance Testing Express, Fastify, and NestJS (With Express/Fastify)
July 6, 2024 - Interestingly enough, the results are exactly the same for NestJS with Express and NestJS with Fastify. ... Fastify indeed has significantly better performance, which transposes to NestJS with Fastify.
🌐
Medium
medium.com › @sphinxshivraj › nestjs-vs-express-the-ultimate-comparison-of-node-frameworks-948b9cc9d3a1
NestJS vs. Express: The Ultimate Comparison of Node Frameworks | by sphinx | Medium
November 29, 2023 - 6. Long-term Maintainability: If ... web app development services. ... In terms of performance and scalability, both frameworks are powerful....
🌐
LogRocket
blog.logrocket.com › home › nestjs vs. express.js
NestJS vs. Express.js - LogRocket Blog
June 4, 2024 - Compare NestJS and Express.js based on their features, architecture, community support, and more, for your Node.js project.
🌐
Swovo
swovo.com › blog › nestjs-vs-express
NestJS vs. Express.js: Choosing the Best Node Framework for 2026
In this article, we will compare Nestjs and Expressjs, two popular frameworks for building server-side applications with Nodejs. By analyzing their features, performance, architecture, unit testing capabilities, and use cases, we aim to help you choose the right framework for your backend ...
Find elsewhere
🌐
DEV Community
dev.to › bilelsalemdev › nestjs-vs-expressjs-when-to-use-each-2l73
NestJS vs Express.js: When To Use Each - DEV Community
May 30, 2025 - # For Express.js mkdir express-test ... · Memory usage patterns · While Express.js wins in raw performance for simple cases, NestJS provides: 40% faster development time for complex apps ·...
🌐
Forest Admin
forestadmin.com › blog › nestjs-vs-expressjs-which-is-better-for-your-project
NestJS vs ExpressJS: Which is better for your project - Forest Admin
Another big advantage of Express is that it is supported with the Google V8 engine, which ensures high performance without lags or errors in the processing. Finally, ExpressJS is considered lightweight and straightforward. Its popularity and a strong community makes it easier not only to find ...
🌐
BairesDev
bairesdev.com › home › blog › software development
NestJS vs. Express.js: What’s the Best Framework for Server-Side Application Development?
Light frameworks like Express.js foster creativity and are a perfect fit for projects that require thinking outside of the box. Performance-wise, both are equally capable, and as for scalability, while NestJS is a bit easier to scale, Express ...
🌐
Medium
bhargavacharyb.medium.com › unlocking-web-development-potential-choosing-between-nestjs-and-express-js-250180d2abfa
Unlocking Web Development Potential: Choosing Between NestJS and Express.js | by Bhargava Chary | Medium
October 20, 2024 - ExpressJS is slightly faster because of its lightweight design. However, the difference is usually insignificant in real-world applications. NestJS has more layers (like DI and modules), which may add a small performance overhead, but it excels ...
🌐
Lumigo
lumigo.io › home › comparing nestjs and expressjs
Comparing NestJS and ExpressJS - Lumigo
June 25, 2024 - While ExpressJS offers simplicity and flexibility, NestJS brings a more structured approach with built-in exception filters, impacting how they each navigate error scenarios. Our experiment revealed variances in performance under load and in ...
🌐
Aalpha
aalpha.net › our company › blog
NestJS vs. ExpressJS 2025 : Which Is Better Framework? : Aalpha
December 27, 2024 - NestJS and ExpressJS all work under the NodeJS framework, which has distinctive features and approaches. Nest has, over time, become one of the fast-growing frameworks that a developer should note. The rapid speed in popularity is thus making the framework a powerful option.
Price   $
Address   Diamond Corner Arcade, 2nd, Deshpande Nagar, Hubli, Karnataka 580021
🌐
Jelvix
jelvix.com › home › blog
Comparing NestJS & Express.js: Which Framework is the Best
October 31, 2024 - Express.js is praised for its lightweight, simplicity, and efficiency. It also has asynchronous programming capability, which allows the execution of multiple operations asynchronously. Thus, this feature improves overall application performance. By default, the NestJS framework uses the Express framework for request processing.
🌐
GeeksforGeeks
geeksforgeeks.org › gblog › expressjs-vs-nestjs-5-differences-that-you-should-know
ExpressJS vs NestJS - 7 Differences That You Should Know - GeeksforGeeks
Its out-of-the-box structure and support for third-party plugins contribute to designing scalable applications, ultimately improving performance and delivering optimized solutions. NestJS: NestJS makes it easy to check and ensure the quality of the data coming into your application. It has something called pipes that automatically validate and transform the input data before it goes where it needs to go. These pipes are like checkpoints that make sure the data meets the rules you set. It's a handy feature that helps keep your application strong and reliable. ExpressJS: For ExpressJS, making sure the incoming data is good might need some extra work.
Published   July 23, 2025
🌐
Nomadic Soft
nomadicsoft.io › главная страница › express.js vs nest.js: choosing the right node.js framework for your next web development project
Express.js vs Nest.js: Choosing the Right Node.js Framework for Your Next Web Development Project | Nomadic Soft
August 11, 2024 - But Nest js introduces a more structured approach with TypeScript. It can make code easier to maintain. But, it may add some overhead for performance. Express is great at handling simple routing. It does this quickly due to its minimal design.
🌐
SoluteLabs
solutelabs.com › blog › nestjs-vs-expressjs
NestJS vs ExpressJS: Which Framework To Choose?
July 26, 2022 - Dependency Injection allows you ... can execute multiple operations independently. But it is not scalable and has poorer performance than Nest....
Price   $
Address   A1-104, Palladium, Corporate Road, Prahlad Nagar, 380015, Ahmedabad