3 ms·
Games are usually written to allocate memory upfront and keep the per-frame allocation cost from affecting performance, by re-using buffers. So I would expect
by asveikau 6y ago
Games are usually written to allocate memory upfront and keep the per-frame allocation cost from affecting performance, by re-using buffers.
So I would expect a well written game to also not be a workload in which you can recognize a poor performing malloc.
Same with media code for similar reasons.