Page MenuHomePhabricator

Only re-order function implementations if they're more than X% faster/slower than each other
Closed, ResolvedPublic

Description

Rather than flipping the order for micro-savings we might not actually get in practice, we should only re-order them when they are some non-trivial difference in speed. 10%?

Event Timeline

DMartin-WMF claimed this task.
DMartin-WMF subscribed.

Duplicates (part of) T329138

Jdforrester-WMF removed DMartin-WMF as the assignee of this task.

Duplicates (part of) T329138

I think this work is relatively do-able in a much smaller amount of time, so I'll keep it open.

Change 911420 had a related patch set uploaded (by David Martin; author: David Martin):

[mediawiki/extensions/WikiLambda@master] Only re-order implementations if new fastest beats previous by 20%

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

Change 911420 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] Only re-order implementations if new fastest beats previous by 20%

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