swift-metrics/Sources/Metrics
Franz Busch 3c0f419970
Add `Timer.measure` methods (#140)
# Motivation

This PR supersedes https://github.com/apple/swift-metrics/pull/135. The
goal is to make it easier to measure asynchronous code when using
`Metrics`.

# Modification

This PR does:
- Deprecate the current static method for measuring synchronous code
- Add a new instance method to measure synchronous code
- Add a new instance method to measure asynchronous code
2025-03-10 10:46:27 +01:00
..
Docs.docc +docc prepare for docc publishing (#118) 2022-08-24 11:20:06 +09:00
Metrics.swift Add `Timer.measure` methods (#140) 2025-03-10 10:46:27 +01:00