Changeset 184418 in webkit
- Timestamp:
- May 15, 2015, 2:36:02 PM (10 years ago)
- Location:
- trunk/Source/WebInspectorUI
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebInspectorUI/ChangeLog
r184411 r184418 1 2015-05-15 Joseph Pecoraro <pecoraro@apple.com> 2 3 Web Inspector: Reduce type annotation update frequency 4 https://bugs.webkit.org/show_bug.cgi?id=145066 5 6 Reviewed by Timothy Hatcher. 7 8 * UserInterface/Controllers/TypeTokenAnnotator.js: 9 Reduce the frequency which could commonly be 16-24ms 10 to a minimum of 100ms and maximum of 2000ms. 11 1 12 2015-05-15 Joseph Pecoraro <pecoraro@apple.com> 2 13 -
trunk/Source/WebInspectorUI/UserInterface/Controllers/TypeTokenAnnotator.js
r181844 r184418 69 69 70 70 var totalTime = Date.now() - startTime; 71 var timeoutTime = Math.m in(Math.max(7500, totalTime), 8 * totalTime);71 var timeoutTime = Math.max(100, Math.min(2000, 8 * totalTime)); 72 72 73 73 this._timeoutIdentifier = setTimeout(function timeoutUpdate() {
Note:
See TracChangeset
for help on using the changeset viewer.