[PATCH 1 of 3 V2] revsetbenchmark: add `author(mpm) or author(lmoscovicz)` to the canonical list

pierre-yves.david at ens-lyon.org pierre-yves.david at ens-lyon.org
Tue May 13 08:19:15 UTC 2014


# HG changeset patch
# User Pierre-Yves David <pierre-yves.david at fb.com>
# Date 1398908420 25200
#      Wed Apr 30 18:40:20 2014 -0700
# Node ID d8a52ce003ac21569dae2023ecc648e7769bdb54
# Parent  007d276f8c9461384be3e7b75ee0aa69b33125fb
revsetbenchmark: add `author(mpm) or author(lmoscovicz)` to the canonical list

This matters as `author(mpm)` have a lot of matches evenly split in the repo,
while `author(lmoscoviz)` have less match (and later). This changes the execution
path of the "or" operator a lot.

diff --git a/contrib/revsetbenchmarks.txt b/contrib/revsetbenchmarks.txt
--- a/contrib/revsetbenchmarks.txt
+++ b/contrib/revsetbenchmarks.txt
@@ -6,10 +6,11 @@ draft() and ::tip
 0::tip
 roots(0::tip)
 author(lmoscovicz)
 author(mpm)
 author(lmoscovicz) or author(mpm)
+author(mpm) or author(lmoscovicz)
 tip:0
 max(tip:0)
 min(0:tip)
 0::
 min(0::)


More information about the Mercurial-devel mailing list