SwiftDocCBenchmarkClassBenchmarkA logger that runs benchmarks and stores the results.class BenchmarkTopicsClassesclass DurationA duration metric in milliseconds.class ExternalTopicsHashA hash metric produced off the externally resolved links.class PeakMemoryA peak memory footprint metric for the current process.class TopicAnchorHashAn anchor sections hash metric produced off the given documentation context.class TopicGraphHashA hash metric produced off the given documentation context.Structuresstruct ArchiveOutputSizeMeasures the total output size of a DocC archive.struct DataDirectoryOutputSizeMeasures the output size of the data subdirectory in a DocC archive.struct IndexDirectoryOutputSizeMeasures the output size of the index subdirectory in a DocC archive.Instance Propertieslet date: DateThe benchmark timestamp.let isEnabled: BoolTrue if the process is supposed to run benchmarks.var metrics: [any BenchmarkMetric]The list of metrics included in this benchmark.let metricsFilter: String?If defined, filter the metrics to log with that value.let platform: StringInstance Methodsfunc encode(to: any Encoder) throwsfunc results() -> BenchmarkResults?Prepare the gathered measurements into a benchmark results.Type Propertiesstatic let main: BenchmarkThe shared instance to use for logging.