Skip to content

Commit

Permalink
Update SyntheticRun doc
Browse files Browse the repository at this point in the history
  • Loading branch information
maxep committed Aug 20, 2024
1 parent 27b64a6 commit c4c2223
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion BenchmarkTests/Runner/Scenarios/SyntheticScenario.swift
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,16 @@ internal struct SyntheticScenario: Scenario {
}
}

/// The Synthetics benchark run value.
/// The Synthetics benchmark run.
///
/// The run specifies the execution context of a benchmark scenrio.
/// Each execution will collect different type of benchmarking data:
/// - The `baseline` run collects various metrics during the scenario execution **without**
/// the Datadog SDK being initialised.
/// - The `instrumented` run collects the same metrics as `baseline` but **with** the
/// Datadog SDK initialised. Comparing the `baseline` and `instrumented` runs will provide
/// the overhead of the SDK for each metric.
/// - The `profiling` run will only collect traces of the SDK internal processes.
internal enum SyntheticRun: String {
case baseline
case metrics
Expand Down

0 comments on commit c4c2223

Please sign in to comment.