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?
To conclude this incredible piece of academic research, a few one liners:
- # total size of each wordpress-[version]/ directory
- du -s word*
- # total number of directories
- for DIR in word*; do find $DIR -type d | wc -l ; done
- # total number of .XXX files
- for DIR in word*; do find $DIR -type f -name "*XXX" | wc -l ; done
And, for the curious, the complete data.
Want to share or tweet this post? Please use this short URL: http://ozh.in/t9