We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cdd5e38 commit 90b3ef1Copy full SHA for 90b3ef1
tests/integration_tests/performance/test_boottime.py
@@ -143,9 +143,11 @@ def test_boottime(
143
unit="Microseconds",
144
)
145
146
- timestamps = find_events(vm.log_data)
147
- build_time = timestamps["build microvm for boot"]["duration"]
+ events = find_events(vm.log_data)
+ build_time = events["build microvm for boot"]["duration"]
148
metrics.put_metric("build_time", build_time.microseconds, unit="Microseconds")
149
+ resume_time = events["boot microvm"]["duration"]
150
+ metrics.put_metric("resume_time", resume_time.microseconds, unit="Microseconds")
151
152
kernel, userspace, total = get_systemd_analyze_times(vm)
153
metrics.put_metric("systemd_kernel", kernel, unit="Milliseconds")
0 commit comments