Skip to content

pressure-vessel: Avoid checking for duplicate Vulkan layers

Simon McVittie requested to merge wip/smcv/faster-vulkan-enum into master

We don't actually need this information, and it has a significant startup time cost with a cold cache.


I spotted this opportunity for a speedup while trying to optimize !295 (merged). On my test potato, with a cold cache (echo 3 | sudo tee /proc/sys/vm/drop_caches) on a HDD, it speeds up Vulkan ICD/layer enumeration from 3-5 seconds to basically instantaneous. Total startup time is around 17 seconds on this hardware, so this is a significant win.

Merge request reports