You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now the only reported timing info is for shell commands as well as total. The former is about 300-400ms, while the total can be 1.1-1.4sec. It would be great to get more details about various steps time to find targets to optimize.
Motivation
Preparing a clean state takes 10-30% of each e2e test runtime, so finding optimization opportunities can significantly help with the runtime.
Proposal
Use a code like
ts := stats.NewTimingStats()
...
ts.AddCheckpoint("some_step_ms")
...
for k, v := range ts.Timings() {
fmt.Printf("%s: %d\n", k, v.Milliseconds())
}
The text was updated successfully, but these errors were encountered:
…rmation
Closesargoproj#20968Closesargoproj#20967
A number of cleanup and create steps can be done in parallel, reducing the total runtime. Gather timing information as well and log it.
Signed-off-by: Andrii Korotkov <andrii.korotkov@verkada.com>
Summary
Right now the only reported timing info is for shell commands as well as total. The former is about 300-400ms, while the total can be 1.1-1.4sec. It would be great to get more details about various steps time to find targets to optimize.
Motivation
Preparing a clean state takes 10-30% of each e2e test runtime, so finding optimization opportunities can significantly help with the runtime.
Proposal
Use a code like
The text was updated successfully, but these errors were encountered: