Bug 195351 - Web Inspector: CPU Usage Timeline - better resolution of installation source for repeated timers
Summary: Web Inspector: CPU Usage Timeline - better resolution of installation source ...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-05 19:22 PST by Joseph Pecoraro
Modified: 2019-03-05 19:22 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joseph Pecoraro 2019-03-05 19:22:49 PST
CPU Usage Timeline - better resolution of installation source for repeated timers

              setInterval      fire         fire
     time: |       *            *            *    |
  range 1:     |----------------------------------|  => Timer Installed, Repeat of 2     => ~2 (the number of fires of this installed timer in range, with install location)
  range 2:     |----------------------|              => Timer Installed, No Repeat seen  => ~1 (the number of fires of this installed timer in range, with install location)
  range 3:     |------|                              => Timer Installed, No Repeat seen  => ~1 (the number of fires of this installed timer in range, with install location)
  range 4:                  |---------------------|  => No Installed, Repeat of 2        => ~2 (the number of fires of this installed timer in range, with fire location)
  range 5:                   |------|                => No Installed, Fire happened once => nothing (we don't know where it was installed, or where if it is repeating)

In case (4) we should be able to provide the install location since it was in the entire recording.

We could have a map of all repeating timer installations in the whole recording so that we can provide a function name for these repeating timers lacking an installation point.