Skip to content

Commit 88573de

Browse files
committed
Add context timings to timings script
1 parent 001821b commit 88573de

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

dev/timings.pl

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,24 @@ sub color {
162162
[ 'foo', '-c', '--cc', $SOURCE_DIR ], # where there are a lot of matches
163163
[ 'foo', '-c', '--rust', $SOURCE_DIR ], # where there are little/none
164164
[ 'foo', '-c', '--known', $SOURCE_DIR ],
165+
166+
# -A
167+
[ 'foo', '-A10', $SOURCE_DIR ],
168+
[ 'foo', '-A10', '--cc', $SOURCE_DIR ], # where there are a lot of matches
169+
[ 'foo', '-A10', '--rust', $SOURCE_DIR ], # where there are little/none
170+
[ 'foo', '-A10', '--known', $SOURCE_DIR ],
171+
172+
# -B
173+
[ 'foo', '-B10', $SOURCE_DIR ],
174+
[ 'foo', '-B10', '--cc', $SOURCE_DIR ], # where there are a lot of matches
175+
[ 'foo', '-B10', '--rust', $SOURCE_DIR ], # where there are little/none
176+
[ 'foo', '-B10', '--known', $SOURCE_DIR ],
177+
178+
# -C
179+
[ 'foo', '-C10', $SOURCE_DIR ],
180+
[ 'foo', '-C10', '--cc', $SOURCE_DIR ], # where there are a lot of matches
181+
[ 'foo', '-C10', '--rust', $SOURCE_DIR ], # where there are little/none
182+
[ 'foo', '-C10', '--known', $SOURCE_DIR ],
165183
);
166184

167185
my $perform_store;

0 commit comments

Comments
 (0)