Commit d5f3513
committed
query correct metric for diff snapshots in snap creation perf test
We have different metrics for snapshot creation latency for full and
diff snapshots (why? Good question), so if we're measuring diff snapshot
creation latency we need to query diff_create_snapshot instead of
full_create_snapshot.
Just inline this logic into the test instead of adding a property to
SnapshotType because there is literally no other use of this pattern in
our tests (if there ever will be, which I doubt, we can still abstract
it away).
Signed-off-by: Patrick Roy <[email protected]>1 parent 14cf3f9 commit d5f3513
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
279 | 279 | | |
280 | 280 | | |
281 | 281 | | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
282 | 288 | | |
283 | 289 | | |
284 | 290 | | |
285 | 291 | | |
286 | | - | |
| 292 | + | |
287 | 293 | | |
0 commit comments