mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-14 19:00:43 +02:00
We generate a /lot/ of block links which causes our shutdown time to take a while for this map. For short running applications this shutdown time can take a statistically significant amount of time, and this has been haunting us for a while. Using a monotonic buffer resource, we can cut the dellocation time down to effectively zero on cache clear and shutdown. For short running applications this basically means we clear their shutdown time, for long running applications this means a cache clear is less painful. I've measured up to 2ms , but more often this takes ~0.5ms before optimization. Now it is consistently ~0.25ms on a short running application. Times will vary /greatly/ depending on how full it has filled this map.