Score:0

Does Laravel tend to be much more slower than Node JS?

uy flag

Does Laravel tend to be much more slower than Node JS? Or is it just me that doesn't know that Laravel have certain limiter or anything when runs in local machine (even though using production environment on the .env)

Let see this basic landing page of laravel starter page runs on both Node JS (Express) and Laravel 10.:

Laravel structure folder & NodeJS Express structure folder

Both renders the same page HTML of Laravel starter page, the welcome.blade.php and the index.html. But when i try to test the load by using wrk with same configuration, it shows huge difference:

$ wrk -c 400 -d 10s -t 8 --latency http://localhost

Laravel 10 only capable handle 1397 requests

NodeJS Express can handle 39412 requests

Those image result provided below:

Laravel 10 Result & Nodejs Result

Am I missing something? Both runs on the same environment

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.