Page MenuHomePhabricator

Convert wikiversions from CDB to static array file
Closed, ResolvedPublic

Description

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.

Event Timeline

ori raised the priority of this task from to Needs Triage.
ori updated the task description. (Show Details)
ori added a project: MediaWiki-Configuration.
ori added a subscriber: ori.

Change 230662 had a related patch set uploaded (by Ori.livneh):
Build wikiversions.php in addition to wikiversions.cdb

https://gerrit.wikimedia.org/r/230662

Change 230662 merged by jenkins-bot:
Build wikiversions.php in addition to wikiversions.cdb

https://gerrit.wikimedia.org/r/230662

Change 230679 had a related patch set uploaded (by Ori.livneh):
Build wikiversions.php in addition to wikiversions.cdb

https://gerrit.wikimedia.org/r/230679

Change 230690 had a related patch set uploaded (by Ori.livneh):
Add wikiversions{-labs}.php to .gitignore

https://gerrit.wikimedia.org/r/230690

Change 230690 merged by jenkins-bot:
Add wikiversions{-labs}.php to .gitignore

https://gerrit.wikimedia.org/r/230690

Change 230679 merged by Ori.livneh:
Build wikiversions.php in addition to wikiversions.cdb

https://gerrit.wikimedia.org/r/230679

Change 230702 had a related patch set uploaded (by Ori.livneh):
Convert multiversion scripts to use wikiversions.php

https://gerrit.wikimedia.org/r/230702

Change 230702 merged by jenkins-bot:
Convert multiversion scripts to use wikiversions.php

https://gerrit.wikimedia.org/r/230702

@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.

ori claimed this task.