mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-10-22 04:18:53 +00:00
Use `eval` to process the `date` command along with its parameters, thus avoiding misinterpreting the parameters as commands. Fixes: #9661 Signed-off-by: David Esparza <david.esparza.borquez@intel.com>
Kata Containers boot time metrics
The boot time metrics test takes a number of time measurements through the complete launch/shutdown cycle of a single container. From those measurements it derives a number of time measures, such as:
- time to payload execution
- time to get to VM kernel
- time in VM kernel boot
- time to quit
- total time (from launch to finished)
Running the test
Boot time test can be run by hand, for example:
$ cd metrics
$ bash time/launch_times.sh -i public.ecr.aws/ubuntu/ubuntu:latest -n 1