−03 · Category

Performance and measurement

Benchmarking method, profiling, allocation, escape analysis and compiler behaviour — the subject where the evidence standard is most visible.

Articles in “Performance and measurement”

2 articles

Escape analysis is not a rule of thumb

The compiler said "does not escape" and the benchmark reported 104 KiB per operation. Both were right. What -gcflags=-m actually tells you.

Performance and measurement

Arrow keys to move, Enter to open.