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 8165908 commit 56a67abCopy full SHA for 56a67ab
tests/integration_tests/performance/test_boottime.py
@@ -144,9 +144,11 @@ def test_boottime(
144
unit="Microseconds",
145
)
146
147
- timestamps = find_events(vm.log_data)
148
- build_time = timestamps["build microvm for boot"]["duration"]
+ events = find_events(vm.log_data)
+ build_time = events["build microvm for boot"]["duration"]
149
metrics.put_metric("build_time", build_time.microseconds, unit="Microseconds")
150
+ resume_time = events["boot microvm"]["duration"]
151
+ metrics.put_metric("resume_time", resume_time.microseconds, unit="Microseconds")
152
153
kernel, userspace, total = get_systemd_analyze_times(vm)
154
metrics.put_metric("systemd_kernel", kernel, unit="Milliseconds")
0 commit comments