Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Paste
P9484
RL hashed module names test setup
Active
Public
Actions
Authored by
hoo
on Oct 27 2019, 8:32 AM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Referenced Files
F30900441: raw.txt
Oct 27 2019, 8:32 AM
2019-10-27 08:32:22 (UTC+0)
Subscribers
None
$ 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
Event Timeline
hoo
created this paste.
Oct 27 2019, 8:32 AM
2019-10-27 08:32:22 (UTC+0)
hoo
mentioned this in
T236609: Consider using hashed module names in RL startup module
.
Oct 27 2019, 8:37 AM
2019-10-27 08:37:02 (UTC+0)
Log In to Comment