vkoverhead is a tool for evaluating CPU-based overhead of Vulkan drivers. It was inspired heavily by drawoverhead from piglit.
- extreme granularity for profiling specific scenarios
- simple to use
- CSV output for ease of script parsing
- zero dependencies
Standard Meson build procedures should apply.
This reuses code from Mesa and aims to be just as portable.
./vkoverheadto run all test cases./vkoverhead -listto list all test cases./vkoverhead -test 5to run test case 5./vkoverhead -start 5to start with test case 5./vkoverhead -submit-onlyto run only the submit-related test cases./vkoverhead -nocolorto suppress color output (for scripting)./vkoverhead -duration 5to use a minimum duration of 5 seconds (default is 1 second)./vkoverhead -helpfor a less helpful summary of available options
Results have 4 columns:
- Test ID
- Test name
- Test result
- Test result comparative performance
Each category of tests has a "base" case. Other cases in the category are compared against it, resulting in a percentage value which represents the overhead that each operation incurs. The goal is to have the percentage value for each case be as close to 100% as possible.
