4 ms·
Code size is not always a good performance metric
by flqn 6y ago
Code size is not always a good performance metric
- vardump 6y agoNothing is a good performance metric apart from profiling. Preferably with runtime conditions (CPU load, memory bandwidth, etc.) closely mirroring production setting(s). It's very easy to forget things like memory bandwidth, inter-core/CPU links, etc. are all limited resources. And that on real systems resources are shared.
- benibela 6y agoI usually profile everything with valgrind callgrind