Initializer
init(id:)
Creates a new instance with the given name.
init(id: String)
Discussion
Since this metric can be used multiple times to measure the duration of various tasks, init(id:) requires you to provide an id for the task being measured. The id parameter will be appended to the metric identifier in the exported benchmark report to keep the various durations distinguishable like so: duration-myTask1, duration-my-other-task, etc.