Show More
@@ -1,46 +1,120 b'' | |||||
1 |
# |
|
1 | # All revsets ever used with revsetbenchmarks.py script | |
2 | # |
|
2 | # | |
3 |
# The goal of this file is to gather a |
|
3 | # The goal of this file is to gather all revsets ever used for benchmarking | |
4 | # good coverage of the internal revsets mechanisms. Revsets included should not |
|
4 | # revset's performance. It should be used to gather revsets that test a | |
5 | # be selected for their individual implementation, but for what they reveal of |
|
5 | # specific usecase or a specific implementation of revset predicates. | |
6 | # the internal implementation of smartsets classes (and their interactions). |
|
6 | # If you are working on the smartset implementation itself, check | |
|
7 | # 'base-revsets.txt'. | |||
7 | # |
|
8 | # | |
8 | # Use and update this file when you change internal implementation of these |
|
9 | # Please update this file with any revsets you use for benchmarking a change so | |
9 | # smartsets classes. Please include a comment explaining what each of your |
|
10 | # that future contributors can easily find and retest it when doing further | |
10 | # addition is testing. Also check if your changes to the smartset class makes |
|
11 | # modification. Feel free to highlight interresting variants if needed. | |
11 | # some of the tests inadequate and replace them with a new one testing the same |
|
12 | ||
12 | # behavior. |
|
13 | ||
13 | # |
|
14 | ## Revset from this section are all extracted from changelog when this file was | |
14 | # The current content of this file is currently likely not reaching this goal |
|
15 | # created. Feel free to dig and improve documentation. | |
15 | # entirely, feel free, to audit its content and comment on each revset to |
|
|||
16 | # highlight what internal mechanisms they test. |
|
|||
17 |
|
16 | |||
|
17 | # Used in revision da05fe01170b | |||
|
18 | (20000::) - (20000) | |||
|
19 | # Used in revision 95af98616aa7 | |||
|
20 | parents(20000) | |||
|
21 | # Used in revision 186fd06283b4 | |||
|
22 | (_intlist('20000\x0020001')) and merge() | |||
|
23 | # Used in revision 911f5a6579d1 | |||
|
24 | p1(20000) | |||
|
25 | p2(10000) | |||
|
26 | # Used in revision f140d6207cca | |||
|
27 | roots(0:tip) | |||
|
28 | # Used in revision b6dc3b79bb25 | |||
|
29 | 0:: | |||
|
30 | # Used in revision faf4f63533ff | |||
|
31 | bookmark() | |||
|
32 | # Used in revision 22ba2c0825da | |||
|
33 | tip~25 | |||
|
34 | # Used in revision 0cf46b8298fe | |||
|
35 | bisect(range) | |||
|
36 | # Used in revision 5b65429721d5 | |||
|
37 | divergent() | |||
|
38 | # Used in revision 6261b9c549a2 | |||
|
39 | file(COPYING) | |||
|
40 | # Used in revision 44f471102f3a | |||
|
41 | follow(COPYING) | |||
|
42 | # Used in revision 8040a44aab1c | |||
|
43 | origin(tip) | |||
|
44 | # Used in revision bbf4f3dfd700 | |||
|
45 | rev(25) | |||
|
46 | # Used in revision a428db9ab61d | |||
|
47 | p1() | |||
|
48 | # Used in revision c1546d7400ef | |||
|
49 | min(0::) | |||
|
50 | # Used in revision 546fa6576815 | |||
|
51 | author(lmoscovicz) or author(mpm) | |||
|
52 | author(mpm) or author(lmoscovicz) | |||
|
53 | # Used in revision 9bfe68357c01 | |||
|
54 | public() and id("d82e2223f132") | |||
|
55 | # Used in revision ba89f7b542c9 | |||
|
56 | rev(25) | |||
|
57 | # Used in revision eb763217152a | |||
|
58 | rev(210000) | |||
|
59 | # Used in revision 69524a05a7fa | |||
|
60 | 10:100 | |||
|
61 | parents(10):parents(100) | |||
|
62 | # Used in revision 6f1b8b3f12fd | |||
|
63 | 100~5 | |||
|
64 | parents(100)~5 | |||
|
65 | (100~5)~5 | |||
|
66 | # Used in revision 7a42e5d4c418 | |||
|
67 | children(tip~100) | |||
|
68 | # Used in revision 7e8737e6ab08 | |||
|
69 | 100^1 | |||
|
70 | parents(100)^1 | |||
|
71 | (100^1)^1 | |||
|
72 | # Used in revision 30e0dcd7c5ff | |||
|
73 | matching(100) | |||
|
74 | matching(parents(100)) | |||
|
75 | # Used in revision aafeaba22826 | |||
|
76 | 0|1|2|3|4|5|6|7|8|9 | |||
|
77 | # Used in revision 33c7a94d4dd0 | |||
|
78 | tip:0 | |||
|
79 | # Used in revision 7d369fae098e | |||
|
80 | (0:100000) | |||
|
81 | # Used in revision b333ca94403d | |||
|
82 | 0 + 1 + 2 + ... + 200 | |||
|
83 | 0 + 1 + 2 + ... + 1000 | |||
|
84 | sort(0 + 1 + 2 + ... + 200) | |||
|
85 | sort(0 + 1 + 2 + ... + 1000) | |||
|
86 | # Used in revision 7fbef7932af9 | |||
|
87 | first(0 + 1 + 2 + ... + 1000) | |||
|
88 | # Used in revision ceaf04bb14ff | |||
|
89 | 0:1000 | |||
|
90 | # Used in revision 262e6ad93885 | |||
|
91 | revset #0: not public() | |||
|
92 | revset #1: (tip~1000::) - public() | |||
|
93 | revset #2: not public() and branch("default") | |||
|
94 | # Used in revision 15412bba5a68 | |||
|
95 | revset #0: 0::tip | |||
|
96 | ||||
|
97 | ## all the revsets from this section have been taken from the former central file | |||
|
98 | # for revset's benchmarking, they are undocumented for this reason. | |||
18 | all() |
|
99 | all() | |
19 | draft() |
|
100 | draft() | |
20 | ::tip |
|
101 | ::tip | |
21 | draft() and ::tip |
|
102 | draft() and ::tip | |
22 | ::tip and draft() |
|
103 | ::tip and draft() | |
23 | 0::tip |
|
|||
24 | roots(0::tip) |
|
104 | roots(0::tip) | |
25 | author(lmoscovicz) |
|
105 | author(lmoscovicz) | |
26 | author(mpm) |
|
106 | author(mpm) | |
27 | author(lmoscovicz) or author(mpm) |
|
|||
28 | author(mpm) or author(lmoscovicz) |
|
|||
29 | tip:0 |
|
|||
30 | 0:: |
|
|||
31 | # those two `roots(...)` inputs are close to what phase movement use. |
|
|||
32 | roots((tip~100::) - (tip~100::tip)) |
|
|||
33 | roots((0::) - (0::tip)) |
|
|||
34 | 42:68 and roots(42:tip) |
|
107 | 42:68 and roots(42:tip) | |
35 | ::p1(p1(tip)):: |
|
108 | ::p1(p1(tip)):: | |
36 | public() |
|
109 | public() | |
37 | :10000 and public() |
|
110 | :10000 and public() | |
38 | draft() |
|
|||
39 | :10000 and draft() |
|
111 | :10000 and draft() | |
40 | roots((0:tip)::) |
|
112 | roots((0:tip)::) | |
41 | (not public() - obsolete()) |
|
113 | (not public() - obsolete()) | |
42 | (_intlist('20000\x0020001')) and merge() |
|
114 | ||
43 | parents(20000) |
|
|||
44 | (20000::) - (20000) |
|
|||
45 | # The one below is used by rebase |
|
115 | # The one below is used by rebase | |
46 | (children(ancestor(tip~5, tip)) and ::(tip~5)):: |
|
116 | (children(ancestor(tip~5, tip)) and ::(tip~5)):: | |
|
117 | ||||
|
118 | # those two `roots(...)` inputs are close to what phase movement use. | |||
|
119 | roots((tip~100::) - (tip~100::tip)) | |||
|
120 | roots((0::) - (0::tip)) |
@@ -11,6 +11,8 b'' | |||||
11 | # some of the tests inadequate and replace them with a new one testing the same |
|
11 | # some of the tests inadequate and replace them with a new one testing the same | |
12 | # behavior. |
|
12 | # behavior. | |
13 | # |
|
13 | # | |
|
14 | # If you want to benchmark revsets predicate itself, check 'all-revsets.txt'. | |||
|
15 | # | |||
14 | # The current content of this file is currently likely not reaching this goal |
|
16 | # The current content of this file is currently likely not reaching this goal | |
15 | # entirely, feel free, to audit its content and comment on each revset to |
|
17 | # entirely, feel free, to audit its content and comment on each revset to | |
16 | # highlight what internal mechanisms they test. |
|
18 | # highlight what internal mechanisms they test. |
General Comments 0
You need to be logged in to leave comments.
Login now