Fix "Consecutive" Event Logs in Performance Track (#34659)
Reset EventTime when clearing timers. We need to track repeat updates separately. Typically we always reset all timers when we've logged an update. The same update shouldn't be logged again. I was trying to be clever and not reset the XEventTime because we also need the timestamp to know if it's a repeat event. However, because of this it looked like we had an event schedule an update even after we had reset them. This always resets the XEventTime to -1.1 and then stashes the old time on EventRepeatTime which is our indication whether the next update was a repeat of the old event. --------- Co-authored-by: Ruslan Lesiutin <28902667+hoxyq@users.noreply.github.com> Co-authored-by: Ricky <rickhanlonii@gmail.com> DiffTrain build for [7bccdbd765f03254658da9086e9c5763842aa3ed](https://github.com/facebook/react/commit/7bccdbd765f03254658da9086e9c5763842aa3ed)
S
sebmarkbage committed
f0ee5708d1934b297d9ee810185c383af41a3119
Parent: 2cc1516