RESOLVED LATER 137082
Web Replay: record event loop timings using elapsed time during capturing only
https://bugs.webkit.org/show_bug.cgi?id=137082
Summary Web Replay: record event loop timings using elapsed time during capturing only
Brian Burg
Reported 2014-09-24 16:04:06 PDT
We capture new timings on capture/replay currently, which makes it hard to do anything sensible on the timelines UI.
Attachments
WIP (11.60 KB, patch)
2014-09-24 16:05 PDT, Brian Burg
no flags
WIP (42.67 KB, patch)
2015-01-14 10:52 PST, Brian Burg
no flags
Radar WebKit Bug Importer
Comment 1 2014-09-24 16:04:25 PDT
Brian Burg
Comment 2 2014-09-24 16:05:05 PDT
Timothy Hatcher
Comment 3 2014-09-24 21:46:51 PDT
Comment on attachment 238616 [details] WIP View in context: https://bugs.webkit.org/attachment.cgi?id=238616&action=review > Source/WebCore/replay/CapturingInputCursor.cpp:62 > + , m_stopwatch(Stopwatch::create()) Maybe I don't understand. but it seems odd to create and store Stopwatch here. > Source/WebCore/replay/ReplaySessionSegment.h:56 > + Vector<double, 0>& eventLoopTimings() { return m_eventLoopTimings; } Why the ", 0"? Isn't that the default?
Brian Burg
Comment 4 2015-01-12 17:27:55 PST
(In reply to comment #3) > Comment on attachment 238616 [details] > WIP > > View in context: > https://bugs.webkit.org/attachment.cgi?id=238616&action=review > > > Source/WebCore/replay/CapturingInputCursor.cpp:62 > > + , m_stopwatch(Stopwatch::create()) > > Maybe I don't understand. but it seems odd to create and store Stopwatch > here. It seemed like the best place for the stopwatch. CapturingInputCursor is only available while capturing, and we only need this stopwatch during capturing. If it belonged to ReplayController it might be shared accidentally between sessions. It could belong on ReplaySession or ReplaySessionSegment, but then it would do nothing but waste space once capturing is done.
Brian Burg
Comment 5 2015-01-14 10:52:29 PST
Brian Burg
Comment 6 2015-01-14 10:53:13 PST
Comment on attachment 244613 [details] WIP Wrong bug. webkit-patch gets real confused by git sometimes :(
Blaze Burg
Comment 7 2017-07-10 14:01:30 PDT
Closing web replay-related bugs until we resume working on the feature again.
Note You need to log in before you can comment on or make changes to this bug.