Skip to content

Reporting performance #269

@eero-t

Description

@eero-t

There aren't much Vulkan programs yet. As these demos cover a lot of Vulkan functionality, it would be nice if they could also be used for testing/comparing performance.

Best would be if demos could:

  • Have an option for how long the demo will run before it exits (seconds)
  • Have an option for how long demo runs "warmup" before it will start measuring performance (seconds or frames)
  • Outputting FPS at given interval to console
  • At the end outputting frame count and min/max/avg FPS (or frame time)

This requires refactoring the command line option handling (see the fullscreen issue) and mainloop. Most of the code in mainloop is same for all platforms so it could be common with parts specific to given platforms being e.g. separate methods.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions