Greg
Greg

Reputation: 8915

What are the options to benchmark different versions of your code (to avoid bloat and performance decreases)?

What are the options to benchmarking different build versions against each other to measure performance over time?

Ideally it is something which can be implemented into a CI pipeline.

Upvotes: 0

Views: 47

Answers (1)

Surt
Surt

Reputation: 16089

On Linux you could use

time yourProgram

giving user, real and sys timings.

Or use

perf

where you can get various timings of performance.

Upvotes: 1

Related Questions