{"id":1470,"date":"2010-08-16T14:01:05","date_gmt":"2010-08-16T12:01:05","guid":{"rendered":"http:\/\/planetozh.com\/blog\/?p=1470"},"modified":"2010-08-16T14:03:10","modified_gmt":"2010-08-16T12:03:10","slug":"more-wordpress-useless-stats-and-graphs","status":"publish","type":"post","link":"https:\/\/planetozh.com\/blog\/2010\/08\/more-wordpress-useless-stats-and-graphs\/","title":{"rendered":"More WordPress Useless Stats And Graphs"},"content":{"rendered":"<p>As a sequel to my previous post about the <a href=\"http:\/\/planetozh.com\/blog\/2010\/08\/evolution-of-the-number-of-functions-in-wordpress\/\">number of functions across WordPress history<\/a>, let&#39;s talk now about files and sizes.<\/p>\n<p>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:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/planetozh.com\/blog\/wp-content\/uploads\/2010\/08\/wordpress-total-size.png\" alt=\"\" title=\"wordpress-total-size\" width=\"537\" height=\"385\" class=\"aligncenter size-full wp-image-1471\" srcset=\"https:\/\/planetozh.com\/blog\/wp-content\/uploads\/2010\/08\/wordpress-total-size.png 537w, https:\/\/planetozh.com\/blog\/wp-content\/uploads\/2010\/08\/wordpress-total-size-300x215.png 300w\" sizes=\"auto, (max-width: 537px) 100vw, 537px\" \/><\/p>\n<p>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.<\/p>\n<p>What&#39;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 <a href=\"http:\/\/core.trac.wordpress.org\/ticket\/13307\">issue<\/a> 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.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/planetozh.com\/blog\/wp-content\/uploads\/2010\/08\/wordpress-total-files.png\" alt=\"\" title=\"wordpress-total-files\" width=\"536\" height=\"384\" class=\"aligncenter size-full wp-image-1472\" srcset=\"https:\/\/planetozh.com\/blog\/wp-content\/uploads\/2010\/08\/wordpress-total-files.png 536w, https:\/\/planetozh.com\/blog\/wp-content\/uploads\/2010\/08\/wordpress-total-files-300x214.png 300w\" sizes=\"auto, (max-width: 536px) 100vw, 536px\" \/><\/p>\n<p>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 <a href=\"http:\/\/planetozh.com\/blog\/2010\/08\/evolution-of-the-number-of-functions-in-wordpress\/\">previous post<\/a>). Again here, I would have thought the biggest increase would have been with the WP\/WPMU merge in 3.0, but it&#39;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?<\/p>\n<p>We&#39;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.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/planetozh.com\/blog\/wp-content\/uploads\/2010\/08\/wordpress-by-file.png\" alt=\"\" title=\"wordpress-by-file\" width=\"536\" height=\"385\" class=\"aligncenter size-full wp-image-1473\" srcset=\"https:\/\/planetozh.com\/blog\/wp-content\/uploads\/2010\/08\/wordpress-by-file.png 536w, https:\/\/planetozh.com\/blog\/wp-content\/uploads\/2010\/08\/wordpress-by-file-300x215.png 300w\" sizes=\"auto, (max-width: 536px) 100vw, 536px\" \/><\/p>\n<p>To conclude this incredible piece of academic research, a few one liners:<\/p>\n<div id=\"ig-sh-1\" class=\"syntax_hilite\">\n\n\t\t<div class=\"toolbar\">\n\n\t\t<div class=\"view-different-container\">\n\t\t\t\t\t\t<a href=\"#\" class=\"view-different\">&lt; View <span>plain text<\/span> &gt;<\/a>\n\t\t\t\t\t<\/div>\n\n\t\t<div class=\"language-name\">code<\/div>\n\n\t\t\n\t\t<br clear=\"both\">\n\n\t<\/div>\n\t\n\t<div class=\"code\">\n\t\t<ol class=\"code\" style=\"font-family:monospace\"><li style=\"font-weight: normal;vertical-align:top\"><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\"># total size of each wordpress-[version]\/ directory<\/div><\/li>\n<li style=\"font-weight: normal;vertical-align:top\"><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">du -s word*<\/div><\/li>\n<li style=\"font-weight: normal;vertical-align:top\"><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp;<\/div><\/li>\n<li style=\"font-weight: normal;vertical-align:top\"><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\"># total number of directories<\/div><\/li>\n<li style=\"font-weight: normal;vertical-align:top\"><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">for DIR in word*; do find $DIR -type d | wc -l ; done<\/div><\/li>\n<li style=\"font-weight: normal;vertical-align:top\"><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp;<\/div><\/li>\n<li style=\"font-weight: normal;vertical-align:top\"><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\"># total number of .XXX files<\/div><\/li>\n<li style=\"font-weight: normal;vertical-align:top\"><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">for DIR in word*; do find $DIR -type f -name &quot;*XXX&quot; | wc -l ; done<\/div><\/li>\n<\/ol>\t<\/div>\n\n<\/div>\n\n<p>And, for the curious, the complete <a href=\"https:\/\/spreadsheets.google.com\/pub?key=0ArW2i8i-I2D8dC14dGdVekJqd19EMDJIcXp3Wk4yLXc&#038;hl=en&#038;single=true&#038;gid=0&#038;output=html\">data<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As a sequel to my previous post about the number of functions across WordPress history, let&#39;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 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21],"tags":[74,49,245],"class_list":["post-1470","post","type-post","status-publish","format-standard","hentry","category-published","tag-stats","tag-useless","tag-wordpress"],"_links":{"self":[{"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/posts\/1470","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/comments?post=1470"}],"version-history":[{"count":0,"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/posts\/1470\/revisions"}],"wp:attachment":[{"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/media?parent=1470"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/categories?post=1470"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/tags?post=1470"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}