numerous aback ancient terrific office spectacular illegal saw flowery different This post was mass deleted and anonymized with Redact Answer from nrkishere on reddit.com
🌐
Zend
zend.com › blog › php-vs-nodejs
PHP vs. Node.js | Comparing PHP vs. Node Performance | Zend
Therefore, you should never go into production with an odd-numbered Node.js release. Each November, the PHP community produces its latest release, which has already been through a beta cycle. This means there’s no need to worry about the release number. PHP as a language itself is written C with some C++ components, while the JavaScript engines are written in C++, ensuring good performance of the actual code itself.
Discussions

NodeJS is not ALWAYS faster than PHP
This is an unfair comparison because PHP (either mod_php or FPM) and Node.js aren't even equivalent. PHP scripts, as they're typically run, get completely reloaded on every request while node is an application server that serves requests from code that is already loaded from previous requests. A much fairer comparison would be node.js vs and application server built on ReactPHP (or Swoole) or a framework built on those (such as Framework X ). Also, never trust any benchmarks you didn't run yourself using a realistic application setup. More on reddit.com
🌐 r/PHP
20
0
October 11, 2021
NodeJS is not ALWAYS faster than PHP
Most of the "X is faster than Y!" comparison are pointless. Yeah, C++ is faster than Node. Are you going to use C++ to write your webapps? Probably not. Similarly, people say "Python is slow!" but Python is still entirely fine for writing webapps (and other stuff) It always depends on what's being done and what's the acceptable performance criteria. Regarding this particular test: It's not very conclusive to be honest. Two completely different frameworks are being used, which might have entirely different overheads. Similarly, PHP performance is affected heavily by the environment it runs with (like FastCGI), which makes it very difficult to get an objective result even with simpler programs. More on reddit.com
🌐 r/node
59
3
October 11, 2021
Can i make PHP as fast as Node.js?
It isn't "fake asynchronous". The main difference here: By default, PHP creates a new thread for each request. That can be a little more labor intensive. By contrast, Node.js uses a single thread (a single application instance) for each request (unless run in multi-thread mode). Node.js isn't always faster than PHP. It depends on the script and the machine running the code. A multi-core processor may be faster at running PHP code (as each request is creating a new thread which can run on a different core). Another difference is that, with Node.js, you use a lot of callbacks (or async / await), while PHP is basically one line after another. So, in theory while PHP is processing something at any particular part of the script, Node.js could be pushing more requests into the event loop. Personally, I left PHP behind years ago for Node.js and I never looked back. It is less about how "fast" either is. Both can be fast. It is more about the convenience of using JavaScript on the front end and the back end. I will say that I am more productive building APIs in Node.js than in PHP. Also, things like WebSockets are easier to get started and work with in Node.js. Might just be an opinion though. More on reddit.com
🌐 r/node
69
16
August 7, 2021
PHP ou Node?
🌐 r/brdev
83
8
March 24, 2023
🌐
Simplior
simplior.com › home › node.js vs php performance: study with all the useful aspects
Node.js vs PHP Performance: A Comprehensive Comparison Guide
August 21, 2024 - For I/O heavy apps like REST APIs, ... complex computations, number crunching or analysis, PHP can have better performance as it supports multi-threading natively....
Address   B1-17 Galaxy Signature, Science City Road, 380060, Ahmedabad
🌐
Medium
medium.com › @mehdibafdil › php-vs-node-js-in-2025-d643a974e4bb
PHP vs Node.js in 2025: The Shocking Truth About Performance | by Mehdi BAFDIL | Medium
January 10, 2025 - PHP vs Node.js in 2025: The Shocking Truth About Performance Last month, I migrated a legacy PHP application to Node.js, expecting dramatic performance improvements. What I discovered left me …
🌐
Kinsta®
kinsta.com › home › resource center › blog › web development languages › node.js vs php: a head-to-head comparison
Node.js vs PHP: A Head-to-Head Comparison
August 28, 2025 - The Node.js async function. (Image source: RisingStack) The concurrency feature allows running multiple tasks at the same time. Different functions with different purposes execute in concurrency. Moreover, Parallelism uses the Web Workers API to perform various processes simultaneously. On the other hand, PHP uses a slower, synchronous code implementation approach that executes each module function in the order indicated within the code.
🌐
Quora
quora.com › Does-Node-js-scale-better-than-PHP-for-a-high-traffic-website
Does Node.js scale better than PHP for a high traffic website? - Quora
Website Performance Metri... ... This isn’t a meaningful or useful question. Both can happily serve high traffic sites. Firstly you don’t use either in isolation in production, let alone on a high traffic site. Do you compare node.js apps behind nginx vs PHP being loaded by an Apache module?
🌐
DEV Community
dev.to › leapcell › go-vs-nodejs-vs-php-which-framework-outperforms-the-other-in-speed-and-efficiency-3aej
Go vs Node.js vs PHP: Which Framework Outperforms the Other in Speed and Efficiency? - DEV Community
January 20, 2025 - This is mainly because some frameworks, ... Node.js Performance Comparison: In terms of data request processing performance, Go is faster than Node.js....
Find elsewhere
🌐
Netguru
netguru.com › home page › blog › an in-depth comparison of node.js vs. php in 2025
An In-Depth Comparison of Node.js vs. PHP in 2025
November 17, 2025 - In general, Node.js offers faster execution and better request handling due to its asynchronous and event-driven architecture. PHP, on the other hand, operates in a synchronous manner, which can lead to slower performance in some cases, especially ...
🌐
Toptal
toptal.com › developers › back-end › server-side-io-performance-node-php-java-go
Server-side I/O Performance: Node vs. PHP vs. Java vs. Go | Toptal®
May 31, 2023 - It’s a guess, but it looks like at high connection volume the per-connection overhead involved with spawning new processes and the additional memory associated with it in PHP+Apache seems to become a dominant factor and tanks PHP’s performance. Clearly, Go is the winner here, followed by Java, Node and finally PHP.
🌐
JumpGrowth
jumpgrowth.com › blog › node-js-vs-php-comparison
Node js Vs PHP: Which is Best for Your Project? | Jumpgrowth
October 3, 2025 - Although Node.js executes quickly, PHP performance comparison is no slouch on running times. Scripts in PHP perform faster than quite a few other programming languages, which is one reason it’s still popular.
🌐
Blurify
blurify.com › home › blog › node.js vs. php: which technology is better for your project?
Node.js vs. PHP: Which technology is better for your project? | Blurify
June 21, 2024 - PHP offers slower code execution procedures, meaning all modules or functions are processed in a specific order. Asynchronous code allows code to execute simultaneously without waiting for previous lines.
🌐
DOIT
doit.software › home › blog › node.js vs php in 2024: which one to choose for your project?
Node.js vs PHP: In-depth Comparison With Pros & Cons [2024]
August 5, 2025 - PHP operates with synchronous code which labels it an outdated technology. In PHP vs Node.js speed, Node is the definite winner. Performance is one of the most significant metrics in app evaluation as it impacts the user experience.
🌐
FastComet
fastcomet.com › blog › node-js-vs-php
Comparing Node.js vs. PHP for Backend Development | FastComet
December 15, 2025 - For novices, a lot of programming languages are confusing and intimidating, yet PHP is well-organized, straightforward, and flowing. Let’s go through all the possible disadvantages of using Node.js: Unable to process heavy computation: Node.js does not currently allow multi-threaded programming. Nonetheless, it can handle far more complex applications than Ruby, despite the fact that it isn’t designed to execute long-running calculations. Multi-threaded demanding computations, on the other hand, can reduce performance.
🌐
Reddit
reddit.com › r/php › nodejs is not always faster than php
r/PHP on Reddit: NodeJS is not ALWAYS faster than PHP
October 11, 2021 -

Not a baitclick title, but a small experiment I made based on my most frequent use-cases :

On my general usage, my backend are used as an API between DB and frontend.

So, in very basic "benchmarks", we frequently see php compared (amongst others) to NodeJS.

I made my own benchmarks, and yes, I did find the same results: serving an "Hello World" page is many times faster with NodeJS than with PHP :

Lumen : 2963 requests / sec , 16.8 ms/req

Adonis : 9011 requests / sec, 5.5 ms/req

> "Hello World" tests : yes, Node is Faster than PHP, about 3 times

But, let's get back to my use case : DB query, fetch results, return results as JSON :

I fired a quick PHP Lumen (stripped version of Laravel), which queries a table containing 31 records (worth of 10498 bytes), and benchmarked against AdonisJS (because it is the most Laravel Look-alike framework), doing the same task (query, fetch and return the same table/data) :

The test consist of querying the server 5000 requests, 50 at a time (concurrency level). Here are the results for Lumen (php) vs AdonisJS (NodeJS) :

Lumen : 1762 requests / sec , 28 ms/req

Adonis : 925 requests / sec, 54 ms/req

> "DB API" tests : PHP is Faster than NodeJS, about 2 times !

Don't get me wrong, I'm not saying that you should not use Node for APIs. Node is surely great for a bunch of tasks, and many devs can see in it a way of using the same language on front and back.

But the reason to switch from (put your language here) to NodeJS should not be "Node is faster than [anything else], I read it in the benchmarks !"

I was just about to quit php and Laravel because of this argument: I might have to rethink the whole solution !

Please feel free to share your thoughts on this !

EDIT : just a foot note : I never tried to say that PHP is better than Node or Node is slower than PHP... I just tried to say that we can't tell that in every case Node will be faster than PHP... That the kind of conclusion I found in almost all search I made about "node versus other languages"....

🌐
Distant Job
distantjob.com › home › node js vs. php: an in-depth comparison guide for web development
Node js vs. PHP: An In-depth Comparison Guide for Web Development
January 8, 2025 - A good PHP developer can code in the language at a significantly faster speed than with Node.js. This is primarily because there’s no need to use converters or compilers. PHP allows you to establish a connection to your SQL database without ...
🌐
Themobilereality
themobilereality.com › blog › javascript › node-js-vs-php
Node JS vs PHP: A Complete Comparison for CTOs
Unlike NodeJS, PHP is a side ... request is handled sequentially. This can lead to performance limitations, especially in high concurrent traffic or long-running operations scenarios....
🌐
Bacancy Technology
bacancytechnology.com › bacancy technology › blog › technology comparison
Node js vs PHP: Which One is Better for Backend Development?
January 2, 2026 - Additionally, the synchronous code ... to 75% however, when it comes to Node vs PHP Performance of your web application Node is faster than PHP....
🌐
Simform
simform.com › home › the simform blog › node.js vs. php: an honest comparative study with all the answers
Node.js vs. PHP: An Honest Comparative Study With All the Answers
January 28, 2025 - Not enough debugging tools- Does not provide enough debugging tools, which can affect the performance of applications · Lack of uniformity– Lack of uniformity in structural patterns of PHP frameworks can increase the cost of hiring new human resources. If the syntax is easy and well engineered, you’ll be able to do more with less code. ... On the surface, it may seem that Node.js requires more lines of code to execute the same functions as PHP.
🌐
Iconflux
iconflux.com › blog › nodejs-vs-php
In-Depth Comparison of Node.js vs PHP
January 27, 2025 - Node.js is extremely fast and has a quicker startup time because it is asynchronous and uses the JavaScript V8 Engine. Since PHP is an older product on the market and handles requests in a different manner, it is slower.
🌐
DEV Community
dev.to › sureshr › php-vs-nodejs-a-real-world-performance-comparison-l2
PHP vs Node.js Which One to Choose? - DEV Community
November 16, 2025 - Node.js, can handle a large number of concurrent requests efficiently because, when your code makes asynchronous I/O calls (such as database queries, file reads, or HTTP requests), Node.js delegates these operations to the background thread pool. While those tasks are running in the background, the event loop continues processing new incoming requests — which makes Node.js highly performant for I/O-bound workloads. PHP, on the other hand, works differently.