In: , ,
On: 2010 / 08 / 16 Viewed: 26007 times
Shorter URL for this post: http://ozh.in/t9

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*
  3.  
  4. # total number of directories
  5. for DIR in word*; do find $DIR -type d | wc -l ; done
  6.  
  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: http://ozh.in/t9

Metastuff

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. 1
    Andrew Nacin United States »
    commented, on 17/Aug/10 at 5:14 am # :

    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. 2
    Rich Pedley United Kingdom »
    replied, on 17/Aug/10 at 12:16 pm # :

    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. 3
    Milan Republic of Serbia »
    wrote, on 17/Aug/10 at 7:21 pm # :

    @Andrew: What are those opportunities?

  4. 4
    Milan Republic of Serbia »
    said, on 17/Aug/10 at 7:24 pm # :

    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. 5
    Rich Pedley United Kingdom »
    said, on 17/Aug/10 at 7:39 pm # :

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

  6. 6
    Andrew Nacin United States »
    commented, on 19/Aug/10 at 6:50 pm # :

    @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

Comment Guidelines or Die

  • HTML: You can use these tags: <a href=""> <em> <i> <b> <strong> <blockquote>
  • Posting code: Post raw code (no <> &lt; etc) within appropriate tags : [php][/php], [css][/css], [html][/html], [js][/js], [sql][/sql], [xml][/xml], or generic [code][code]
  • Gravatars: Curious about the little images next to each commenter's name ? Go to Gravatar.
  • Spam: Various spam plugins on patrol. I'll put pins in a Voodoo doll if you spam me.
  • I will mark as Spam test comments, all comments with SEO names (ie "My Cool Online Shop" instead of "Joe") or containing forum-like signatures.

Read more ?