Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(114)

Side by Side Diff: tools/callstats.html

Issue 2509683002: [counters] Use separate counters for background parsing (Closed)
Patch Set: using const arrays instead of two-level ternary syntax. Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « test/cctest/test-parsing.cc ('k') | tools/callstats.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <html> 1 <html>
2 <!-- 2 <!--
3 Copyright 2016 the V8 project authors. All rights reserved. Use of this source 3 Copyright 2016 the V8 project authors. All rights reserved. Use of this source
4 code is governed by a BSD-style license that can be found in the LICENSE file. 4 code is governed by a BSD-style license that can be found in the LICENSE file.
5 --> 5 -->
6 6
7 <head> 7 <head>
8 <meta charset="UTF-8"> 8 <meta charset="UTF-8">
9 <style> 9 <style>
10 body { 10 body {
(...skipping 1347 matching lines...) Expand 10 before | Expand all | Expand 10 after
1358 this.page = page; 1358 this.page = page;
1359 this.page.add(this); 1359 this.page.add(this);
1360 this.total = Group.groups.get('total').entry(); 1360 this.total = Group.groups.get('total').entry();
1361 this.total.isTotal = true; 1361 this.total.isTotal = true;
1362 this.unclassified = new UnclassifiedEntry(this) 1362 this.unclassified = new UnclassifiedEntry(this)
1363 this.groups = [ 1363 this.groups = [
1364 this.total, 1364 this.total,
1365 Group.groups.get('ic').entry(), 1365 Group.groups.get('ic').entry(),
1366 Group.groups.get('optimize').entry(), 1366 Group.groups.get('optimize').entry(),
1367 Group.groups.get('compile').entry(), 1367 Group.groups.get('compile').entry(),
1368 Group.groups.get('parse-background').entry(),
1368 Group.groups.get('parse').entry(), 1369 Group.groups.get('parse').entry(),
1369 Group.groups.get('callback').entry(), 1370 Group.groups.get('callback').entry(),
1370 Group.groups.get('api').entry(), 1371 Group.groups.get('api').entry(),
1371 Group.groups.get('gc').entry(), 1372 Group.groups.get('gc').entry(),
1372 Group.groups.get('javascript').entry(), 1373 Group.groups.get('javascript').entry(),
1373 Group.groups.get('runtime').entry(), 1374 Group.groups.get('runtime').entry(),
1374 this.unclassified 1375 this.unclassified
1375 ]; 1376 ];
1376 this.entryDict = new Map(); 1377 this.entryDict = new Map();
1377 this.groups.forEach((entry) => { 1378 this.groups.forEach((entry) => {
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
1547 this.name = name; 1548 this.name = name;
1548 this.regexp = regexp; 1549 this.regexp = regexp;
1549 this.color = color; 1550 this.color = color;
1550 this.enabled = true; 1551 this.enabled = true;
1551 } 1552 }
1552 entry() { return new GroupedEntry(this) }; 1553 entry() { return new GroupedEntry(this) };
1553 } 1554 }
1554 Group.groups = new Map(); 1555 Group.groups = new Map();
1555 Group.add = function(name, group) { 1556 Group.add = function(name, group) {
1556 this.groups.set(name, group); 1557 this.groups.set(name, group);
1558 return group;
1557 } 1559 }
1558 Group.add('total', new Group('Total', /.*Total.*/, '#BBB')); 1560 Group.add('total', new Group('Total', /.*Total.*/, '#BBB'));
1559 Group.add('ic', new Group('IC', /.*IC.*/, "#3366CC")); 1561 Group.add('ic', new Group('IC', /.*IC.*/, "#3366CC"));
1560 Group.add('optimize', new Group('Optimize', 1562 Group.add('optimize', new Group('Optimize',
1561 /StackGuard|.*Optimize.*|.*Deoptimize.*|Recompile.*/, "#DC3912")); 1563 /StackGuard|.*Optimize.*|.*Deoptimize.*|Recompile.*/, "#DC3912"));
1562 Group.add('compile', new Group('Compile', /.*Compile.*/, "#FFAA00")); 1564 Group.add('compile', new Group('Compile', /.*Compile.*/, "#FFAA00"));
1565 Group.add('parse-background',
1566 new Group('Parse-Background', /.*ParseBackground.*/, "#af744d"));
1563 Group.add('parse', new Group('Parse', /.*Parse.*/, "#FF6600")); 1567 Group.add('parse', new Group('Parse', /.*Parse.*/, "#FF6600"));
1564 Group.add('callback', new Group('Callback', /.*Callback.*/, "#109618")); 1568 Group.add('callback', new Group('Callback', /.*Callback.*/, "#109618"));
1565 Group.add('api', new Group('API', /.*API.*/, "#990099")); 1569 Group.add('api', new Group('API', /.*API.*/, "#990099"));
1566 Group.add('gc', new Group('GC', /GC|AllocateInTargetSpace/, "#0099C6")); 1570 Group.add('gc', new Group('GC', /GC|AllocateInTargetSpace/, "#0099C6"));
1567 Group.add('javascript', new Group('JavaScript', /JS_Execution/, "#DD4477")); 1571 Group.add('javascript', new Group('JavaScript', /JS_Execution/, "#DD4477"));
1568 Group.add('runtime', new Group('Runtime', /.*/, "#88BB00")); 1572 Group.add('runtime', new Group('Runtime', /.*/, "#88BB00"));
1569 Group.add('unclassified', new Group('Unclassified', /.*/, "#000")); 1573 var group =
1574 Group.add('unclassified', new Group('Unclassified', /.*/, "#000"));
1575 group.enabled = false;
1570 1576
1571 class GroupedEntry extends Entry { 1577 class GroupedEntry extends Entry {
1572 constructor(group) { 1578 constructor(group) {
1573 super(0, GroupedEntry.prefix + group.name, 0, 0, 0, 0, 0, 0); 1579 super(0, GroupedEntry.prefix + group.name, 0, 0, 0, 0, 0, 0);
1574 this.group = group; 1580 this.group = group;
1575 this.entries = []; 1581 this.entries = [];
1576 } 1582 }
1577 get regexp() { return this.group.regexp } 1583 get regexp() { return this.group.regexp }
1578 get color() { return this.group.color } 1584 get color() { return this.group.color }
1579 get enabled() { return this.group.enabled } 1585 get enabled() { return this.group.enabled }
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after
1881 </tr> 1887 </tr>
1882 <tr> 1888 <tr>
1883 <td>Overall Impact:</td> 1889 <td>Overall Impact:</td>
1884 <td class="timeImpact"></td><td>±</td><td class="timePercentImpact"></td > 1890 <td class="timeImpact"></td><td>±</td><td class="timePercentImpact"></td >
1885 <td class="compare timeImpact"></td><td class="compare"> ± </td><td clas s="compare timePercentImpact"></td> 1891 <td class="compare timeImpact"></td><td class="compare"> ± </td><td clas s="compare timePercentImpact"></td>
1886 </tr> 1892 </tr>
1887 </table> 1893 </table>
1888 </div> 1894 </div>
1889 </body> 1895 </body>
1890 </html> 1896 </html>
OLDNEW
« no previous file with comments | « test/cctest/test-parsing.cc ('k') | tools/callstats.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698