Module performance

Module performance 

Source
Expand description

§Debugging Performance Issues

If you’re encountering performance problems, here’s a checklist:

  • Are you building with --release? (Don’t laugh!) Development-profile builds trade overhead for diagnostic ability:
    • InstanceFlags::DEBUG is set by default in development builds, which enables platform-level validation, like the Vulkan validation layers.
    • The Rust compiler doesn’t optimize the generated machine code.
    • Development builds have more assertions enabled.

Please add more checklist items, based on your experience.