Skip to content

Commit 714016a

Browse files
dianpopapb8o
authored andcommitted
[CI][snap_perf]: remove dynamic target computation
Signed-off-by: Diana Popa <dpopa@amazon.com>
1 parent dcfa856 commit 714016a

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

tests/integration_tests/performance/test_snapshot_perf.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
eager_map,
1616
CpuMap,
1717
get_firecracker_version_from_toml,
18-
compare_versions,
1918
get_kernel_version,
2019
is_io_uring_supported,
2120
)
@@ -93,15 +92,6 @@ def snapshot_resume_measurements(vm_type):
9392
"""Define measurements for snapshot resume tests."""
9493
load_latency = LOAD_LATENCY_BASELINES[platform.machine()][vm_type]
9594

96-
if is_io_uring_supported():
97-
# There is added latency caused by the io_uring syscalls used by the
98-
# block device.
99-
load_latency["target"] += 115
100-
if compare_versions(get_kernel_version(), "5.4.0") > 0:
101-
# Host kernels >= 5.4 add an up to ~30ms latency.
102-
# See: https://github.com/firecracker-microvm/firecracker/issues/2129
103-
load_latency["target"] += 30
104-
10595
latency = types.MeasurementDef.create_measurement(
10696
"latency",
10797
"ms",

0 commit comments

Comments
 (0)