[tools] Show more entries in the ticks-processor
- lower the cutoff-threshold for bottom up graphs to 1% - show all builtins/stubs/ics by default R=jkummerow@chromium.org Change-Id: I522173155b817ae20a37c40ecf411f2b55d82105 Reviewed-on: https://chromium-review.googlesource.com/452482 Reviewed-by: Jakob Kummerow <jkummerow@chromium.org> Commit-Queue: Camillo Bruni <cbruni@chromium.org> Cr-Commit-Position: refs/heads/master@{#43717}
This commit is contained in:
parent
61a8954eae
commit
53d67fe45d
@ -33,7 +33,7 @@ Statistical profiling result from v8.log, (13 ticks, 2 unaccounted, 0 excluded).
|
||||
[Bottom up (heavy) profile]:
|
||||
Note: percentage shows a share of a particular caller in the total
|
||||
amount of its parent calls.
|
||||
Callers occupying less than 2.0% are not shown.
|
||||
Callers occupying less than 1.0% are not shown.
|
||||
|
||||
ticks parent name
|
||||
3 23.1% /lib32/libm-2.7.so
|
||||
|
@ -23,7 +23,7 @@ Statistical profiling result from v8.log, (3 ticks, 0 unaccounted, 0 excluded).
|
||||
[Bottom up (heavy) profile]:
|
||||
Note: percentage shows a share of a particular caller in the total
|
||||
amount of its parent calls.
|
||||
Callers occupying less than 2.0% are not shown.
|
||||
Callers occupying less than 1.0% are not shown.
|
||||
|
||||
ticks parent name
|
||||
3 100.0% LazyCompile: DrawLine 3d-cube.js:17
|
||||
|
@ -22,6 +22,6 @@ Statistical profiling result from v8.log, (13 ticks, 0 unaccounted, 13 excluded)
|
||||
[Bottom up (heavy) profile]:
|
||||
Note: percentage shows a share of a particular caller in the total
|
||||
amount of its parent calls.
|
||||
Callers occupying less than 2.0% are not shown.
|
||||
Callers occupying less than 1.0% are not shown.
|
||||
|
||||
ticks parent name
|
||||
|
@ -32,7 +32,7 @@ Statistical profiling result from v8.log, (13 ticks, 2 unaccounted, 0 excluded).
|
||||
[Bottom up (heavy) profile]:
|
||||
Note: percentage shows a share of a particular caller in the total
|
||||
amount of its parent calls.
|
||||
Callers occupying less than 2.0% are not shown.
|
||||
Callers occupying less than 1.0% are not shown.
|
||||
|
||||
ticks parent name
|
||||
3 27.3% /lib32/libm-2.7.so
|
||||
|
@ -35,7 +35,7 @@ Statistical profiling result from v8.log, (13 ticks, 2 unaccounted, 0 excluded).
|
||||
[Bottom up (heavy) profile]:
|
||||
Note: percentage shows a share of a particular caller in the total
|
||||
amount of its parent calls.
|
||||
Callers occupying less than 2.0% are not shown.
|
||||
Callers occupying less than 1.0% are not shown.
|
||||
|
||||
ticks parent name
|
||||
3 23.1% /lib32/libm-2.7.so
|
||||
|
@ -322,8 +322,13 @@ CppEntriesProviderMock.prototype.parseVmSymbols = function(
|
||||
|
||||
|
||||
function PrintMonitor(outputOrFileName) {
|
||||
var expectedOut = this.expectedOut = typeof outputOrFileName == 'string' ?
|
||||
this.loadExpectedOutput(outputOrFileName) : outputOrFileName;
|
||||
this.expectedOut = outputOrFileName;
|
||||
this.outputFile = undefined;
|
||||
if (typeof outputOrFileName == 'string') {
|
||||
this.expectedOut = this.loadExpectedOutput(outputOrFileName)
|
||||
this.outputFile = outputOrFileName;
|
||||
}
|
||||
var expectedOut = this.expectedOut;
|
||||
var outputPos = 0;
|
||||
var diffs = this.diffs = [];
|
||||
var realOut = this.realOut = [];
|
||||
@ -361,6 +366,9 @@ PrintMonitor.prototype.finish = function() {
|
||||
print("===== actual output: =====");
|
||||
print(this.realOut.join('\n'));
|
||||
print("===== expected output: =====");
|
||||
if (this.outputFile) {
|
||||
print("===== File: " + this.outputFile + " =====");
|
||||
}
|
||||
print(this.expectedOut.join('\n'));
|
||||
assertEquals([], this.diffs);
|
||||
assertNull(this.unexpectedOut);
|
||||
|
@ -86,7 +86,7 @@ function start_process() {
|
||||
stateFilter: null,
|
||||
callGraphSize: 5,
|
||||
ignoreUnknown: false,
|
||||
separateIc: false,
|
||||
separateIc: true,
|
||||
targetRootFS: '',
|
||||
nm: 'nm'
|
||||
};
|
||||
|
@ -202,7 +202,7 @@ TickProcessor.CodeTypes = {
|
||||
// codeTypes_ map because there can be zillions of them.
|
||||
|
||||
|
||||
TickProcessor.CALL_PROFILE_CUTOFF_PCT = 2.0;
|
||||
TickProcessor.CALL_PROFILE_CUTOFF_PCT = 1.0;
|
||||
|
||||
TickProcessor.CALL_GRAPH_SIZE = 5;
|
||||
|
||||
@ -855,7 +855,7 @@ ArgumentsProcessor.DEFAULTS = {
|
||||
stateFilter: null,
|
||||
callGraphSize: 5,
|
||||
ignoreUnknown: false,
|
||||
separateIc: false,
|
||||
separateIc: true,
|
||||
preprocessJson: null,
|
||||
targetRootFS: '',
|
||||
nm: 'nm',
|
||||
|
Loading…
Reference in New Issue
Block a user