Page MenuHomePhabricator
Paste P9484

RL hashed module names test setup
ActivePublic

Authored by hoo on Sun, Oct 27, 8:32 AM.
$ curl --compressed -v 'https://en.wikipedia.org/w/load.php?lang=en&modules=startup&only=scripts&raw=1&skin=vector' > startup
[]
< content-length: 26326
[]
$ gzip -k startup
$ ls -l startup.gz
-rw-rw-r--. 1 hoch_m hoch_m 26278 Oct 27 09:19 startup.gz
# Note: Compressed file size is pretty similar to what we got from load.php, so this is probably representative enough
$ /usr/bin/php ./hashModuleNames.php startup
$ gzip -k startup-no-new-lines*
$ ls -l startup-no-new-lines*gz
-rw-rw-r--. 1 hoch_m hoch_m 23932 Oct 27 09:26 startup-no-new-lines-hashed-module-names.gz
-rw-rw-r--. 1 hoch_m hoch_m 26188 Oct 27 09:26 startup-no-new-lines.gz