In: , ,
On: 2010 / 08 / 16
Shorter URL for this post:

As a sequel to my previous post about the number of functions across WordPress history, let's talk now about files and sizes.

Through the 54 releases to date, WordPress has grown from an immature toddler to a big healthy kid. The following graph shows the evolution of the zip archive size and the total uncompressed size:

In the early days, in was rather cumbersome to download locally a .zip file, uncompress it, then upload the whole stuff to your server. Now that there is a built-in upgrade, the total size of the baby does not really matter, since everything takes just one click.

What's noteworthy here is that there seem to be a 3 MB limit for the zip to ensure the core upgrade works on most hosts (see issue raised during the making of WP 3.0). So, unless something changes in the way the WordPress upgrader handles new releases, we are nearing the glass ceiling.

You can obviously correlate the total size with the total number of files, and with the evolution of the number of built-in functions (see previous post). Again here, I would have thought the biggest increase would have been with the WP/WPMU merge in 3.0, but it's not. Anyone remember what was so hefty and new in 2.7 and 2.8? The file system? The inclusion of Simplepie to deprecate Magpie?

We're now at almost 9 MB (uncompressed) and 756 files, but what files exactly? The increase of the number of PHP files is pretty stable, while Javascript files population really grew in the recent versions. I think the jump with the 2.8 release again might be the inclusion of both .dev.js uncompressed files and their minified .js version.

To conclude this incredible piece of academic research, a few one liners:

  1. # total size of each wordpress-[version]/ directory
  2. du -s word*
  4. # total number of directories
  5. for DIR in word*; do find $DIR -type d | wc -l ; done
  7. # total number of .XXX files
  8. for DIR in word*; do find $DIR -type f -name "*XXX" | wc -l ; done

And, for the curious, the complete data.

Shorter URL

Want to share or tweet this post? Please use this short URL:


This entry "More WordPress Useless Stats And Graphs" was posted on 16/08/2010 at 2:01 pm and is tagged with , ,
Watch this discussion : Comments RSS 2.0.

6 Blablas

  1. Andrew Nacin says:

    The glass ceiling is only temporary. We found what we believe are opportunities for optimization/performance improvements in the HTTP API, but it was too late to tackle for 3.0. We'll probably try to visit this in 3.1.

  2. Rich Pedley says:

    This is almost certainly a silly question, but when upgrading why do you have download WordPress in it's entirety and not just the updated files?

  3. Milan says:

    @Andrew: What are those opportunities?

  4. Milan says:

    Ozh, I definitely am not in Ukraine, and I believe Rich isn't either.

    You should update your IP database since those databases become outdated after some time. (I know from experience)

  5. Rich Pedley says:

    You mean he won't be paying for us to move?

  6. Andrew Nacin says:

    @Milan: Based on our tests when researching stopgap solutions for the memory limit issue, we believe there are some performance gains to be had somewhere in the HTTP API as it relates to memory consumption. It's something a few of us hope to thoroughly analyze in 3.1.

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>
Gravatars: Curious about the little images next to each commenter's name ? Go to Gravatar and sign for a free account
Spam: Various spam plugins may be activated. I'll put pins in a Voodoo doll if you spam me.

Read more ?