Debian Codegraph @

cli/testing/bench-revsets-git.txt

raw
1 # Revsets to pass to `jj bench revsets` on the Git repo
2
3 # Single tags
4 v1.0.0
5 v2.40.0
6 # Old history
7 ::v1.0.0
8 ..v1.0.0
9 # More history
10 ::v2.40.0
11 ..v2.40.0
12 # Only recent history
13 v2.39.0..v2.40.0
14 ::v2.40.0 ~ ::v2.39.0
15 v2.39.0::v2.40.0
16 # Mostly recent history
17 v2.40.0-..
18 ~(::v2.40.0)
19 # Tags and bookmarks
20 tags()
21 bookmarks()
22 # Local changes
23 (tags() | remote_bookmarks())..
24 # Intersection of range with a small subset
25 tags() & ::v2.40.0
26 v2.39.0 & ::v2.40.0
27 # Author and committer
28 author(peff)
29 committer(gitster)
30 # Intersection and union of large subsets
31 author(peff) & committer(gitster)
32 author(peff) | committer(gitster)
33 # Intersection of filter with a small subset
34 ::v1.0.0 & (author(peff) & committer(gitster))
35 ::v1.0.0 & (author(peff) | committer(gitster))
36 # Roots and heads of small subsets
37 roots(tags())
38 heads(tags())
39 # Roots and heads of large subsets
40 roots(author(peff))
41 heads(author(peff))
42 # Roots and heads of range
43 roots(::v2.40.0)
44 heads(::v2.40.0)
45 # Ancestors and ranges of large subsets
46 ::(v1.0.0..v2.40.0)
47 author(peff)..
48 # Parents and ancestors of old commit
49 v1.0.0-
50 v1.0.0---
51 ::v1.0.0---
52 # Children and descendants of old commit
53 v1.0.0+
54 v1.0.0+++
55 v1.0.0+++::
56 # Parents and ancestors of recent commit
57 v2.40.0-
58 v2.40.0---
59 ::v2.40.0---
60 # Children and descendants of recent commit
61 v2.40.0+
62 v2.40.0+++
63 v2.40.0+++::
64 # Parents and ancestors of small subset
65 tags()-
66 tags()---
67 ::tags()---
68 # Children and descendants of small subset
69 tags()+
70 tags()+++
71 tags()+++::
72 # Filter that doesn't read commit object
73 merges()
74 ~merges()
75 # These are unbearably slow, so only filter within small set
76 files(root:"Makefile") & v1.0.0..v1.2.0
77 empty() & v1.0.0..v1.2.0
78 conflicts() & v1.0.0..v1.2.0