Skip to content

akiilab/pod-startup-time-measuring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Pod Startup Time Measuring

Install Go

https://golang.org/doc/install

Build

docker pull alpine
go build main.go

Usage

./main 2     # execute 2 times

Output

#No.         CreateAt             ReadyAt            DeleteAt
1 1612171985296137049 1612171989194275853 1612171989290896465
2 1612171989338686532 1612171991193007656 1612171991213887913

Measuring

sudo apt update
sudo apt install -y gawk datamash
./main 100 | awk '{print $3-$2}' | datamash --header-out mean 1 median 1 perc:90 1 perc:95 1 perc:99 1

Output

mean(field-1)	median(field-1)	perc:90(field-1)	perc:95(field-1)	perc:99(field-1)
2241857103.36	1935321856	2960865100.8	2999558656	3046800279.04

About

Pod Startup Time Measuring

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages