Open Bug 2095137 Opened 6 days ago

Measure the recording cost of flows in the frequent-events benchmark

Categories

(Data Platform and Tools :: Glean: SDK, enhancement)

enhancement

Tracking

(Not tracked)

People

(Reporter: travis_, Unassigned)

References

(Blocks 1 open bug)

Details

With the flows stack (bugs 2077136 through 2077143), recording an event metric can do more work than before: it looks up the event in the flow index, and when the event belongs to a flow it takes the flow state lock to open, tag, close, or time out instances, recording a glean.flow_end and persisting flow state as instances open and close. We should know what that costs before flows are in wide use. This was raised in review of https://github.com/mozilla/glean/pull/3750.

You need to log in before you can comment on or make changes to this bug.