runsForScenario function

int runsForScenario(
  1. String scenarioId
)

Runs per scenario in one contract run (methodology): the noisy wall-latency metrics repeat and the report reducer takes the median; heap scenarios already median internally; structural ones are deterministic.

Implementation

int runsForScenario(String scenarioId) =>
    scenarioId == 'show_latency' ? 3 : 1;