News for hackers. Stuff that matters.
Re:Performance and Speed Optimizations of WordPress [pdf] by ne01 on Monday May 25, 2015 @01:43PM (#9600923)
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

Re:Performance and Speed Optimizations of WordPress [pdf] by lamosty on Monday May 25, 2015 @01:52PM (#9600952)
WordPress 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 (VPS server with 3CPUs and 4GB of RAM).

I've just checked your blogging engine and it looks very minimalistic. I like it.

Re:Performance and Speed Optimizations of WordPress [pdf] by ne01 on Tuesday May 26, 2015 @03:13PM (#9606973)
Thank 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!

Re:Performance and Speed Optimizations of WordPress [pdf] by pierre_massat on Monday May 25, 2015 @02:46PM (#9601172)
It's a bit like saying "I've done something completely different and it's much faster".

Anyway, sunsed looks cool.

Re:Performance and Speed Optimizations of WordPress [pdf] by ne01 on Tuesday May 26, 2015 @03:14PM (#9606977)
You are right! Thank you for the complement!
Re:Performance and Speed Optimizations of WordPress [pdf] by Ono-Sendai on Monday May 25, 2015 @08:13PM (#9602287)
You can do faster than that as well if you use C++ - I can render pages dynamically in 0.1 ms or so.
Re:Performance and Speed Optimizations of WordPress [pdf] by merb on Tuesday May 26, 2015 @01:29PM (#9606210)
templates 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.
Re:Performance and Speed Optimizations of WordPress [pdf] by Ono-Sendai on Tuesday May 26, 2015 @02:49PM (#9606805)
Yeah. Avoid the database, just read from RAM :)
Re:Performance and Speed Optimizations of WordPress [pdf] by ne01 on Tuesday May 26, 2015 @03:15PM (#9606986)
That's it the main bottleneck is Database calls!