RESOLVED FIXED 153608
Web Inspector: Avoid recreating Timeline's DataGridNode data multiple times
https://bugs.webkit.org/show_bug.cgi?id=153608
Summary Web Inspector: Avoid recreating Timeline's DataGridNode data multiple times
Joseph Pecoraro
Reported 2016-01-28 11:38:04 PST
* SUMMARY Avoid recreating Timeline's DataGridNode data multiple times Many TimelineDataGridNode subclasses do something like: get data() { // some work return { ... }; } createCellContent(columnIdentifier, cell) { // Invoke the `data` getter above to create the object... var value = this.data[columnIdentifier]; } We should avoid recreating lots of objects in data. Lets do it once and cache it.
Attachments
[PATCH] Proposed Fix (6.99 KB, patch)
2016-01-28 11:38 PST, Joseph Pecoraro
no flags
Radar WebKit Bug Importer
Comment 1 2016-01-28 11:38:36 PST
Joseph Pecoraro
Comment 2 2016-01-28 11:38:53 PST
Created attachment 270135 [details] [PATCH] Proposed Fix
WebKit Commit Bot
Comment 3 2016-01-28 13:06:58 PST
Comment on attachment 270135 [details] [PATCH] Proposed Fix Clearing flags on attachment: 270135 Committed r195779: <http://trac.webkit.org/changeset/195779>
WebKit Commit Bot
Comment 4 2016-01-28 13:07:02 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.