Skip to content

Opt-out from world step profiling #1008

@djphoenix

Description

@djphoenix

On macOS, calls to mach_absolute_time take about 40% of the (headless) simulation time. Based on a brief investigation, I assume that this call is mostly related to filling the b2Profile struct. Therefore, avoiding profiling could save almost half of the CPU runtime. I also assume that other platforms will have similar performance gains.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions