Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Profiler will not show the load time till all the framework and the includes are loaded though. Which is were alot of time is spend. Just having that whole dependency tree parsed in and hashed up. Wish there were more way to reduce libraries to subsets and not loose that on update.


Sure it will. It didn't dominate the profiles I was looking at because I was measuring peak performance so had waited until after everything had been loaded and had time to be JIT compiled etc. but it's quite common to see an extremely significant chunk of time used by initial requires and configuration.


> initial requires and configuration

That happens at boot time, unless somehow you disabled eager loading or are not running in production mode.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: