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

Unified Diff: test/mjsunit/tools/profile.js

Issue 92120: Added ProfileView object for performing sorting, searching and filtering operations on a profile. (Closed)
Patch Set: Created 11 years, 8 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | test/mjsunit/tools/profileview.js » ('j') | tools/profileview.js » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/tools/profile.js
diff --git a/test/mjsunit/tools/profile.js b/test/mjsunit/tools/profile.js
index 87ec8fafd51c2724b941e62705338576e375d60c..4a938600be5b8f1a304842998accacfd73830fb8 100644
--- a/test/mjsunit/tools/profile.js
+++ b/test/mjsunit/tools/profile.js
@@ -270,7 +270,8 @@ function assertNodeWeights(root, path, selfTicks, totalTicks) {
counted++;
}
- var flatProfile = testDriver.profile.getFlatProfile();
+ var flatProfile =
+ testDriver.profile.getFlatProfile().getRoot().exportChildren();
assertEquals(counted, flatProfile.length, 'counted vs. flatProfile');
for (var i = 0; i < flatProfile.length; ++i) {
var rec = flatProfile[i];
« no previous file with comments | « no previous file | test/mjsunit/tools/profileview.js » ('j') | tools/profileview.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698