Don't call localisation functions when initializing pageset
authorMax Semenik <maxsem.wiki@gmail.com>
Fri, 2 Jan 2015 08:47:26 +0000 (00:47 -0800)
committerMax Semenik <maxsem.wiki@gmail.com>
Thu, 8 Jan 2015 22:26:14 +0000 (14:26 -0800)
commitfc505d4fa538c933cd1e2637454bbd2ccb8bcaae
tree22613d24542d1f619d8d45ca102194b97fcc5281
parentb4550b162d162c9c90713df19fa258cb4e78e358
Don't call localisation functions when initializing pageset

Language::commaList() gets called even though in 99% of cases it's not
description that's needed but other parameter information, resulting in
0.6% of overall cluster CPU time being wasted per
https://performance.wikimedia.org/xenon/svgs/daily/2015-01-02.svgz

Change-Id: Ic77e4a03d1bbd1aa5f86dc250d9f903d7eb25618
autoload.php
includes/DeferredStringifier.php [new file with mode: 0644]
includes/api/ApiPageSet.php