Page MenuHomePhabricator

Record lock timing information on PushEvents
ClosedPublic

Authored by epriestley on Mar 22 2018, 8:09 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 19, 10:44 PM
Unknown Object (File)
Thu, Dec 12, 5:52 PM
Unknown Object (File)
Mon, Dec 9, 1:50 AM
Unknown Object (File)
Sun, Dec 8, 3:19 PM
Unknown Object (File)
Sat, Dec 7, 5:34 PM
Unknown Object (File)
Fri, Dec 6, 12:37 PM
Unknown Object (File)
Fri, Dec 6, 12:32 PM
Unknown Object (File)
Thu, Dec 5, 12:58 AM
Subscribers
None

Details

Summary

Depends on D19249. Ref T13109. Add timing information to the PushEvent:

  • writeWait: Time spent waiting for a write lock.
  • readWait: Time spent waiting for a read lock.
  • hostWait: Roughly, total time spent on the leaf node.

The primary goal here is to see if readWait is meaningful in the wild. If it is, that motivates smarter routing, and the value of smarter routing can be demonstrated by looking for a reduction in read wait times.

Test Plan

Pushed some stuff, saw reasonable timing values in the table. Saw timing information in "Export Data".

Diff Detail

Repository
rP Phabricator
Branch
lock3
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 19903
Build 26978: Run Core Tests
Build 26977: arc lint + arc unit

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Mar 22 2018, 8:46 PM
This revision was automatically updated to reflect the committed changes.