Skip to content

Conversation

ktoso
Copy link
Member

@ktoso ktoso commented Apr 13, 2023

Motivation:

we want to avoid querying time if we don't have to

Modifications:

end() functions now take autoclosure () -> Instant allowing us to not query time unless we have to (e.g. are "recording")

Review followup from https://github.com/apple/swift-distributed-tracing/pull/120/files#r1165288201

**Motivation:**

we want to avoid querying time if we don't have to

**Modifications:**

end() functions now take autoclosure () -> Instant allowing us to not
query time unless we have to (e.g. are "recording")
@ktoso ktoso merged commit 83a37b4 into main Apr 13, 2023
@ktoso ktoso deleted the wip-end-instant branch April 13, 2023 12:50
@ktoso ktoso added this to the 1.0.0-beta.2 milestone Apr 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants