Hacker News new | ask | show | jobs
by victortroz 648 days ago
I get where you're coming from but recent versions are quite different. Specially with the new one which requires also PHP >8.2 afaik.

But having 30s requests in general should be a red flag into other systems, laravel surely won't take that much to bootstrap.

1 comments

Granted, this was on some virtual machine on a computer from 2007. But I did pare it down and down until all that was left was Laravel itself, doing "nothing".

I don't find it all that surprising. Overly-complex startup times are the convention for web frameworks that want to be taken seriously [by koolaid-driven managers]. These days I'm forced to work with Spring Boot, and it also takes for-eh-ver to get to the point where it can run my code. According to the logs, it's a lot of walking the classpath to find every different class and figure out how to assemble them into an application. Because heaven forbid someone call a constructor to make the object they want.