4 ms·
WordPress is slow by design! I have managed to create a blogging engine (in PHP) that it only takes 2ms to create the page dynamically (without caching) from th
by ne01 11y ago
WordPress is slow by design! I have managed to create a blogging engine (in PHP) that it only takes 2ms to create the page dynamically (without caching) from the database + ~20ms for Nginx to serve it.
One might argue that my engine does not have as much features... and you are right.
Incase you are interested: SunSed.com
- lamosty 11y agoWordPress is rather big, having more than 200K function calls on a typical request to a blog post. However, when using the default Twenty Fifteen theme, the performance is not that bad, as you can see from http://ldr.io/1cbbomp http://ldr.io/1cbbomp (VPS server with 3CPUs and 4GB of RAM). I've just checked your blogging engine and it looks very minimalistic. I like it.
- ne01 11y agoThank you! Yes you are right! WordPress is huge! but not everyone need all the functionality... let's just say 10% of current WordPress users just need a simple blogging platform without all the widgets... then I think 1K function calls should be enough! Anyway, I love WordPress and do not compare my hubby project with 10 years of 1000+ developers time!
- Ono-Sendai 11y agoYou can do faster than that as well if you use C++ - I can render pages dynamically in 0.1 ms or so.
- merb 11y agotemplates are mostly not the problem, even on python, when you use jinja templates getting generated really fast. However the problem mostly comes through the database. A single page view could hit like 10 queries.
- Ono-Sendai 11y agoYeah. Avoid the database, just read from RAM :)
- ne01 11y agoThat's it the main bottleneck is Database calls!
- pierre_massat 11y agoIt's a bit like saying "I've done something completely different and it's much faster". Anyway, sunsed looks cool.
- ne01 11y agoYou are right! Thank you for the complement!