As previously discussed in T99740, PHP files containing static array definitions are translated to bytecode by HHVM and cached in its bytecode cache, and are thus faster to read than CDB files. We should exploit this by switching the representation of the wikiversions mapping from CDB to PHP.
Description
Details
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | Krinkle | T212460 Adopt static array files for local disk storage of values (epic) | |||
Resolved | ori | T108638 Convert wikiversions from CDB to static array file |
Event Timeline
Change 230662 had a related patch set uploaded (by Ori.livneh):
Build wikiversions.php in addition to wikiversions.cdb
Change 230662 merged by jenkins-bot:
Build wikiversions.php in addition to wikiversions.cdb
Change 230679 had a related patch set uploaded (by Ori.livneh):
Build wikiversions.php in addition to wikiversions.cdb
Change 230690 had a related patch set uploaded (by Ori.livneh):
Add wikiversions{-labs}.php to .gitignore
Change 230679 merged by Ori.livneh:
Build wikiversions.php in addition to wikiversions.cdb
Change 230702 had a related patch set uploaded (by Ori.livneh):
Convert multiversion scripts to use wikiversions.php
Change 230702 merged by jenkins-bot:
Convert multiversion scripts to use wikiversions.php
@20after4: This is done now, and the relevant changes have all been synced. Just an FYI that the operative file is now wikiversions.php, not wikiversions.cdb. All the tools work as before.