Viewing files at commit f08b4a249972Commit detailsView latest

scenarios/scale.yaml 195 lines · 5.1 KB · yaml
1
schema_version: 1
2
scenario_set: scale
3
description: Scale and coverage lane (suites/scale). Every user-facing VCS operation timed for git and oak across repository tiers. Generated from suites/scale/scalesuite/ops.py (catalog_yaml); tests/test_scale_suite.py keeps the two equal.
4
5
operation_catalog:
6
  status.clean:
7
    description: Status of a clean working tree (porcelain).
8
    timed: true
9
    mutates: false
10
    tperf_refs:
11
      - p0005-status.sh
12
      - p7519-fsmonitor.sh
13
    core_yaml_ops:
14
      - status.clean
15
  log.full:
16
    description: Entire history reachable from the current branch, one line per commit.
17
    timed: true
18
    mutates: false
19
    tperf_refs:
20
      - p0001-rev-list.sh
21
      - p4205-log-pretty-formats.sh
22
    core_yaml_ops:
23
      - history.log.range
24
  log.n:
25
    description: The newest 20 commits.
26
    timed: true
27
    mutates: false
28
    tperf_refs:
29
      - p4205-log-pretty-formats.sh
30
    core_yaml_ops:
31
      - history.log.tip
32
  log.path:
33
    description: History of one path (the fixture's probe path).
34
    timed: true
35
    mutates: false
36
    tperf_refs:
37
      - p4211-line-log.sh
38
      - p0001-rev-list.sh
39
    core_yaml_ops:
40
      - history.log.range
41
  blame:
42
    description: Line authorship of the probe path.
43
    timed: true
44
    mutates: false
45
    tperf_refs:
46
      - p8020-last-modified.sh
47
    core_yaml_ops: []
48
  file.show:
49
    description: Committed bytes of the probe path at HEAD.
50
    timed: true
51
    mutates: false
52
    tperf_refs:
53
      - p1006-cat-file.sh
54
    core_yaml_ops: []
55
  branch.list:
56
    description: Enumerate branches (oak: open branches; harness branches are closed, git deletes them).
57
    timed: true
58
    mutates: false
59
    tperf_refs:
60
      - p6300-for-each-ref.sh
61
    core_yaml_ops:
62
      - branch.list
63
  review.branch_diff:
64
    description: Checkout-free diff of b00000 against main.
65
    timed: true
66
    mutates: false
67
    tperf_refs:
68
      - p4000-diff-algorithms.sh
69
      - p6010-merge-base.sh
70
    core_yaml_ops: []
71
  merge.preview:
72
    description: Dry-run merge prediction of b00000 into main.
73
    timed: true
74
    mutates: false
75
    tperf_refs:
76
      - p6010-merge-base.sh
77
    core_yaml_ops: []
78
  merge.preview.conflict:
79
    description: Dry-run merge prediction of the conflict-shape branches.
80
    timed: true
81
    mutates: false
82
    tperf_refs:
83
      - p6010-merge-base.sh
84
    core_yaml_ops:
85
      - merge.conflict
86
  switch.existing:
87
    description: Switch to the fixture's side branch b00000.
88
    timed: true
89
    mutates: true
90
    tperf_refs:
91
      - p0006-read-tree-checkout.sh
92
      - p2000-sparse-operations.sh
93
    core_yaml_ops:
94
      - branch.switch
95
  switch.back:
96
    description: Switch back to the base branch.
97
    timed: true
98
    mutates: true
99
    tperf_refs:
100
      - p0006-read-tree-checkout.sh
101
    core_yaml_ops:
102
      - history.restore_head
103
  branch.create:
104
    description: Create and switch to a new branch.
105
    timed: true
106
    mutates: true
107
    tperf_refs:
108
      - p1400-update-ref.sh
109
    core_yaml_ops:
110
      - branch.create
111
  status.dirty:
112
    description: Status after the tier's dirty shape (modify/add/delete/rename).
113
    timed: true
114
    mutates: false
115
    tperf_refs:
116
      - p0005-status.sh
117
      - p7519-fsmonitor.sh
118
    core_yaml_ops:
119
      - status.dirty
120
  diff.dirty:
121
    description: Full worktree diff of the dirty shape.
122
    timed: true
123
    mutates: false
124
    tperf_refs:
125
      - p4000-diff-algorithms.sh
126
      - p0009-diff-pathspec.sh
127
    core_yaml_ops:
128
      - diff.dirty
129
  commit.dirty:
130
    description: Commit the dirty shape (git: add -A + commit, summed).
131
    timed: true
132
    mutates: true
133
    tperf_refs:
134
      - p0007-write-cache.sh
135
      - p0090-cache-tree.sh
136
    core_yaml_ops:
137
      - snapshot.dirty
138
  merge.local:
139
    description: Local (non-fast-forward) merge of b00000 into a scratch branch.
140
    timed: true
141
    mutates: true
142
    tperf_refs:
143
      - p6010-merge-base.sh
144
      - p3400-rebase.sh
145
    core_yaml_ops: []
146
  merge.conflict:
147
    description: Local merge of the conflict-shape branches (expected to conflict), then abort.
148
    timed: true
149
    mutates: true
150
    tperf_refs:
151
      - p6010-merge-base.sh
152
    core_yaml_ops:
153
      - merge.conflict
154
      - merge.abort
155
  push.branch:
156
    description: Push one new commit over loopback HTTP.
157
    timed: true
158
    mutates: true
159
    tperf_refs:
160
      - p5313-pack-objects.sh
161
      - p5310-pack-bitmaps.sh
162
    core_yaml_ops: []
163
  pull.ff:
164
    description: Pull one upstream commit (fast-forward).
165
    timed: true
166
    mutates: true
167
    tperf_refs:
168
      - p5311-pack-bitmaps-fetch.sh
169
      - p5551-fetch-rescan.sh
170
    core_yaml_ops: []
171
  pull.diverged:
172
    description: Pull when local and upstream both have one new commit.
173
    timed: true
174
    mutates: true
175
    tperf_refs:
176
      - p5311-pack-bitmaps-fetch.sh
177
      - p3400-rebase.sh
178
    core_yaml_ops: []
179
  clone.full:
180
    description: Full clone over loopback HTTP into a new directory.
181
    timed: true
182
    mutates: false
183
    tperf_refs:
184
      - p5600-partial-clone.sh
185
      - p5601-clone-reference.sh
186
    core_yaml_ops: []
187
  gc:
188
    description: Repository maintenance (git gc / oak maintenance compact).
189
    timed: true
190
    mutates: true
191
    tperf_refs:
192
      - p5304-prune.sh
193
      - p5313-pack-objects.sh
194
      - p5303-many-packs.sh
195
    core_yaml_ops: []