mirror of
https://github.com/apple/sourcekit-lsp.git
synced 2026-03-02 18:23:24 +01:00
When running in debug, or in continuous integration that is not setup for performance testing, default to not collecting performance metrics to avoid failures due to slow or high-variability tests (default max_stddev = 10% in xctest). Instead, run the measured block once and skip the timing code. This has the nice side effect of speeding up test runs in debug builds.