aboutsummaryrefslogtreecommitdiff
path: root/user_activity_benchmarks/testdata
diff options
context:
space:
mode:
authorEvelina Dumitrescu <evelinad@google.com>2016-08-26 23:42:55 -0700
committerchrome-bot <chrome-bot@chromium.org>2017-02-01 18:13:42 -0800
commiteedb0d0aa34000af448d92d59f634df4d203f378 (patch)
treebfa59323e5a2c558a362c9d7520d3f29b54de94b /user_activity_benchmarks/testdata
parenta78d63f8571cce07e39fc3ad50d8a49979413b9f (diff)
downloadtoolchain-utils-eedb0d0aa34000af448d92d59f634df4d203f378.tar.gz
user activity: Normalize the pathname from pprof and CWP data.
I noticed that lots of files have .. symbols in the pathname. BUG=None TEST=None Change-Id: I7dbdc84b36b9496f2d8fa21ec4fafe0f1417f256 Reviewed-on: https://chrome-internal-review.googlesource.com/282197 Tested-by: Evelina Dumitrescu <evelinad@google.com> Commit-Queue: Evelina Dumitrescu <evelinad@google.com> Reviewed-by: George Burgess <gbiv@google.com> Reviewed-by: Ting-Yuan Huang <laszio@google.com> Reviewed-on: https://chromium-review.googlesource.com/435905 Commit-Ready: Luis Lozano <llozano@chromium.org> Tested-by: Luis Lozano <llozano@chromium.org> Reviewed-by: Luis Lozano <llozano@chromium.org>
Diffstat (limited to 'user_activity_benchmarks/testdata')
-rw-r--r--user_activity_benchmarks/testdata/input/parse_cwp_statistics.csv8
-rw-r--r--user_activity_benchmarks/testdata/input/pprof/file2.pprof2
2 files changed, 5 insertions, 5 deletions
diff --git a/user_activity_benchmarks/testdata/input/parse_cwp_statistics.csv b/user_activity_benchmarks/testdata/input/parse_cwp_statistics.csv
index 833beeed..a4c7ced9 100644
--- a/user_activity_benchmarks/testdata/input/parse_cwp_statistics.csv
+++ b/user_activity_benchmarks/testdata/input/parse_cwp_statistics.csv
@@ -1,6 +1,6 @@
function,file,dso,inclusive_count
-dummy_method1,dummy_file1,dummy_object1,1
-dummy_method2,dummy_file2,dummy_object2,2
+dummy_method1,dummy_file1/a/b/../../,dummy_object1,1
+dummy_method2,dummy_file2//,dummy_object2,2
,,321223321,1
-dummy_method3,dummy_file3,dummy_object3,3
-dummy_method4,dummy_file4,dummy_object4,4
+dummy_method3,dummy_file3/a/../,dummy_object3,3
+dummy_method4,dummy_file4/./,dummy_object4,4
diff --git a/user_activity_benchmarks/testdata/input/pprof/file2.pprof b/user_activity_benchmarks/testdata/input/pprof/file2.pprof
index c1e6331d..6d22bff3 100644
--- a/user_activity_benchmarks/testdata/input/pprof/file2.pprof
+++ b/user_activity_benchmarks/testdata/input/pprof/file2.pprof
@@ -4,7 +4,7 @@ Type: instructions_event
Showing nodes accounting for 48939666671, 42.14% of 116136877744 total
Dropped 35196 nodes (cum <= 580684388)
flat flat% sum% cum cum%
- 4585860529 3.95% 3.95% 13583834527 11.70% blink::InvalidationSet::invalidatesElement /home/chrome-bot/chrome_root/src/third_party/WebKit/Source/core/css/invalidation/InvalidationSet.cpp
+ 4585860529 3.95% 3.95% 13583834527 11.70% blink::InvalidationSet::invalidatesElement /home/chrome-bot/chrome_root/src/third_party/WebKit/Source/core/css/invalidation/a/b/../../InvalidationSet.cpp
3791928512 3.27% 7.21% 35145646088 30.26% blink::StyleInvalidator::invalidate /home/chrome-bot/chrome_root/src/third_party/WebKit/Source/core/css/invalidation/StyleInvalidator.cpp
2871318565 2.47% 9.69% 2979878602 2.57% blink::StyleInvalidator::RecursionCheckpoint::~RecursionCheckpoint /home/chrome-bot/chrome_root/src/third_party/WebKit/Source/core/css/invalidation/StyleInvalidator.h (inline)
1914657964 1.65% 11.33% 2164475253 1.86% WTF::StringImpl::lower /home/chrome-bot/chrome_root/src/third_party/WebKit/Source/wtf/text/StringImpl.cpp