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 a0ed16d commit 9b806cdCopy full SHA for 9b806cd
tests/integration_tests/performance/test_boottime.py
@@ -133,9 +133,11 @@ def test_boottime(
133
unit="Microseconds",
134
)
135
136
- timestamps = find_events(vm.log_data)
137
- build_time = timestamps["build microvm for boot"]["duration"]
+ events = find_events(vm.log_data)
+ build_time = events["build microvm for boot"]["duration"]
138
metrics.put_metric("build_time", build_time.microseconds, unit="Microseconds")
139
+ resume_time = events["boot microvm"]["duration"]
140
+ metrics.put_metric("resume_time", resume_time.microseconds, unit="Microseconds")
141
142
kernel, userspace, total = get_systemd_analyze_times(vm)
143
metrics.put_metric("systemd_kernel", kernel, unit="Milliseconds")
0 commit comments