summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* Remove C++11 usage from Clang tools.dcheng@chromium.org2013-04-092-7/+9
| | | | | | | | | | I guess I shouldn't have ignored the compiler warnings. BUG= Review URL: https://codereview.chromium.org/13904002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193023 0039d316-1c4b-4281-b951-d872f2087c98
* Breakdown memory usage by source file names in dmprof.dmikurube@chromium.org2013-04-096-161/+441
| | | | | | | | | | | | dmprof has classified memory usage by pattern-matching with function names. It adds another classification by pattern-matching with source file names. BUG=225343 NOTRY=true Review URL: https://chromiumcodereview.appspot.com/13514003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193022 0039d316-1c4b-4281-b951-d872f2087c98
* Change the format of reduce_debugline.py.dmikurube@chromium.org2013-04-093-148/+60
| | | | | | | | | | | This script was added in http://crrev.com/192004 at first. BUG=225343 NOTRY=true Review URL: https://chromiumcodereview.appspot.com/13470029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193001 0039d316-1c4b-4281-b951-d872f2087c98
* Leak in ScreenshotTakerTest::TakeScreenshotsschmitz@chromium.org2013-04-092-45/+0
| | | | | | | | | | | | | Fixed memory leaks in ScreenshotTakerTest. Updated suppression files. Ran valgrind and heapcheck on my desktop. BUG=227271 TEST=manual unit_tests --gtest_filter='ScreenshotTakerTest.*' Review URL: https://chromiumcodereview.appspot.com/13801010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192987 0039d316-1c4b-4281-b951-d872f2087c98
* net: move socket files from net/base to net/socketphajdan.jr@chromium.org2013-04-091-1/+1
| | | | | | | | BUG=70818 Review URL: https://codereview.chromium.org/13812005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192982 0039d316-1c4b-4281-b951-d872f2087c98
* Heapchecker: Add a new suppression for V8 AllocateBuffer leak.xhwang@chromium.org2013-04-081-0/+12
| | | | | | | | | TBR=guoyang@chromium.org BUG=169678 Review URL: https://codereview.chromium.org/13741024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192928 0039d316-1c4b-4281-b951-d872f2087c98
* Removed unused xtb files.vitalybuka@chromium.org2013-04-081-1/+1
| | | | | | | | Shorter target names. Review URL: https://chromiumcodereview.appspot.com/13637008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192870 0039d316-1c4b-4281-b951-d872f2087c98
* Suppress memory leak in content::ChromeAppCacheService::InitializeOnIOThread.xhwang@chromium.org2013-04-081-0/+11
| | | | | | | | | TBR=michaeln@chromium.org BUG=90215 Review URL: https://codereview.chromium.org/13749012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192864 0039d316-1c4b-4281-b951-d872f2087c98
* Update perf expectations to be less flaky.tonyg@chromium.org2013-04-081-3/+3
| | | | | | | | | | | | These expectations were too tight, I don't see any actual regressions. BUG=None TEST=None TBR=simonjam@chromium.org Review URL: https://codereview.chromium.org/13560015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192839 0039d316-1c4b-4281-b951-d872f2087c98
* Rebaseline perf-av expectations due to recent changes.anandc@chromium.org2013-04-081-3/+3
| | | | | | | | | | BUG=227034 NOTRY=true Review URL: https://chromiumcodereview.appspot.com/13801009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192833 0039d316-1c4b-4281-b951-d872f2087c98
* Adding WebRTC performance expectations.phoglund@chromium.org2013-04-083-0/+25
| | | | | | | | | | | | This will be used to keep track of WebRTC's performance tests. These used to be in the internal build bot code for WebRTC, but we need to move them due to a recent chrome infra change. We can't put them in the regular tools/perf_expectations yet since we are not done migrating to chrome infra. This is expected to be temporary. BUG= NOTRY=True Review URL: https://chromiumcodereview.appspot.com/13773008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192820 0039d316-1c4b-4281-b951-d872f2087c98
* Deprecate Clipboard.IncognitoUseCase from histogramsbattre@chromium.org2013-04-081-0/+16
| | | | | | | | | | This is the companion CL to https://src.chromium.org/viewvc/chrome?view=rev&revision=191849 BUG=171974 Review URL: https://codereview.chromium.org/13758006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192793 0039d316-1c4b-4281-b951-d872f2087c98
* Add WebIDL and Pepper compliant lexer tool.noelallen@google.com2013-04-063-0/+440
| | | | | | | | | | | | | | | | | This CL is the first step towards supporting automatic doc generation. This lexer more closely follows the WebIDL spec. Tests run manually, CL will be added to automate. NOTRY=true To test: python idl_lexer.py R=asargent@chromium.org BUG=224150 Review URL: https://codereview.chromium.org/13390012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192761 0039d316-1c4b-4281-b951-d872f2087c98
* Add OWNERS-in-training to //tools/metrics OWNERS file.isherman@chromium.org2013-04-061-0/+4
| | | | | | Review URL: https://chromiumcodereview.appspot.com/13638023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192727 0039d316-1c4b-4281-b951-d872f2087c98
* Add clang tool to rewrite scoped_array<T> to scoped_ptr<T[]>.dcheng@chromium.org2013-04-064-0/+160
| | | | | | | | BUG=171111 Review URL: https://codereview.chromium.org/13482006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192700 0039d316-1c4b-4281-b951-d872f2087c98
* ScreenshotTakerTest::TakeScreenshot test leaksdhollowa@chromium.org2013-04-061-0/+23
| | | | | | | | | | | | | | Adds additional suppressions for leak in TiledLayer::Update, started at the same time as leaks in ScreenshotTakerTest, so am marking this against the same CL/Bug. BUG=227271 TEST=ScreenshotTakerTest::TakeScreenshot TBR=sschmitz@chromium.org Review URL: https://codereview.chromium.org/13710003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192692 0039d316-1c4b-4281-b951-d872f2087c98
* Leaks reported in disk_cache::BackendIOdhollowa@chromium.org2013-04-061-0/+23
| | | | | | | | | | | | Adds suppressions for leaks in disk_cache::BackendIO. BUG=227301 TEST=Heapcheck goes green. TBR=dsinclair@chromium.org Review URL: https://codereview.chromium.org/13445008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192687 0039d316-1c4b-4281-b951-d872f2087c98
* Leaks / Uninitialized data in CompositingIOSurfaceTransformerTest.*dhollowa@chromium.org2013-04-062-0/+64
| | | | | | | | | | | | Adds suppressions for leaks in CompositingIOSurfaceTransformerTest.*. BUG=227278 TEST=CompositingIOSurfaceTransformerTest.* on Valgrind TBR=miu@chromium.org Review URL: https://codereview.chromium.org/13742003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192684 0039d316-1c4b-4281-b951-d872f2087c98
* ScreenshotTakerTest::TakeScreenshot test leaksdhollowa@chromium.org2013-04-062-0/+22
| | | | | | | | | | | | Adds suppressions for leak in ScreenshotTakerTest. BUG=227271 TEST=ScreenshotTakerTest::TakeScreenshot R=sschmitz@chromium.org Review URL: https://codereview.chromium.org/13445006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192677 0039d316-1c4b-4281-b951-d872f2087c98
* Add more URL to the whitelist in source_index.pysebmarchand@chromium.org2013-04-061-2/+15
| | | | | | | | | | Context: https://groups.google.com/a/chromium.org/forum/?fromgroups=#!topic/chromium-dev/1aTQc4fd-rk BUG= Review URL: https://chromiumcodereview.appspot.com/13529016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192658 0039d316-1c4b-4281-b951-d872f2087c98
* Re-baseline perf-AV values updated for recent changes.anandc@chromium.org2013-04-051-15/+15
| | | | | | | | | | BUG=224948,227043 NOTRY=true Review URL: https://chromiumcodereview.appspot.com/13735002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192621 0039d316-1c4b-4281-b951-d872f2087c98
* More TSan v2 suppressions:glider@chromium.org2013-04-051-0/+5
| | | | | | | | | | -- another race in ICU memory allocation (issue 223352) -- suppress a test-only race in tracked_objects::ThreadData::ShutdownSingleThreadedCleanup (issue 102327) BUG=223352,102327,226970 Review URL: https://codereview.chromium.org/13296008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192553 0039d316-1c4b-4281-b951-d872f2087c98
* Telemetry: Don't silently compare histograms from different processes.marja@chromium.org2013-04-051-1/+7
| | | | | | | | | | | | | | We used to do so, and the resulting data doesn't make sense. BUG=224262 NOTRY=true Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=192526 Review URL: https://chromiumcodereview.appspot.com/13119014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192533 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 192526 "Telemetry: Don't silently compare histograms from..."marja@chromium.org2013-04-051-7/+1
| | | | | | | | | | | | | | | | | > Telemetry: Don't silently compare histograms from different processes. > > We used to do so, and the resulting data doesn't make sense. > > BUG=224262 > NOTRY=true > > > Review URL: https://chromiumcodereview.appspot.com/13119014 TBR=marja@chromium.org Review URL: https://codereview.chromium.org/13408012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192527 0039d316-1c4b-4281-b951-d872f2087c98
* Telemetry: Don't silently compare histograms from different processes.marja@chromium.org2013-04-051-1/+7
| | | | | | | | | | | | We used to do so, and the resulting data doesn't make sense. BUG=224262 NOTRY=true Review URL: https://chromiumcodereview.appspot.com/13119014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192526 0039d316-1c4b-4281-b951-d872f2087c98
* Move //tools/metrics into //components/ directory.isherman@chromium.org2013-04-056-203/+0
| | | | | | | | | BUG=223859 R=joi@chromium.org Review URL: https://chromiumcodereview.appspot.com/12782019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192443 0039d316-1c4b-4281-b951-d872f2087c98
* [Telemetry] Remove 2 second sleep after page navigate.tonyg@chromium.org2013-04-052-4/+0
| | | | | | | | | | | | | | | This is necessary to convert the page cyclers to the page_runner framework and still have them run in a reasonable amount of time. BUG=222549 TEST=tested locally on linux with the loading_benchmark and scrolling_benchmark on the top_25.json page set. NOTRY=True Review URL: https://chromiumcodereview.appspot.com/13198004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192432 0039d316-1c4b-4281-b951-d872f2087c98
* Make sharding_supervisor handle more tests.maruel@chromium.org2013-04-051-0/+10
| | | | | | | | | | | | | | Make interactive_ui_tests runnable under sharding_supervisor by running it serially. Reduce likelihood of browser_tests timing out by using less than N-cpus jobs. R=csharp@chromium.org BUG= Review URL: https://chromiumcodereview.appspot.com/13460006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192427 0039d316-1c4b-4281-b951-d872f2087c98
* Have run_tool.py automatically invoke clang-format-diff.py if available.dcheng@chromium.org2013-04-042-11/+24
| | | | | | | | | | | | | This makes for nicer code and removes the extra post-processing step. It also provides more granular warnings; simply returning the formatter across the entire diff will provide cryptic errors like missing { at line 540. BUG= Review URL: https://codereview.chromium.org/13605003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192359 0039d316-1c4b-4281-b951-d872f2087c98
* Return a non-zero exit code if compiler invocations failed.dcheng@chromium.org2013-04-041-1/+8
| | | | | | | | | | | This makes test_tool.py a little more user-friendly as a compile error in a test source file will actually display now. BUG= Review URL: https://codereview.chromium.org/13607002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192356 0039d316-1c4b-4281-b951-d872f2087c98
* Telemetry: Force garbage collection after doing a reload action.marja@chromium.org2013-04-042-1/+16
| | | | | | | | | | | | | This is needed so that we get memory metrics reflecting the situation after the page has reloaded. BUG=181563 NOTRY=true Review URL: https://chromiumcodereview.appspot.com/13119010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192315 0039d316-1c4b-4281-b951-d872f2087c98
* [Telemetry] Fix bug which would erase entire URL for page_sets with 1 URL.tonyg@chromium.org2013-04-042-2/+14
| | | | | | | | | | | BUG=None TEST=tools/telemetry/run_tests --browser=system page_unittest.TestPage NOTRY=True Review URL: https://chromiumcodereview.appspot.com/13603004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192290 0039d316-1c4b-4281-b951-d872f2087c98
* [Telemetry] Add a WillRunPageSet()/DidRunPageSet() API.tonyg@chromium.org2013-04-044-2/+68
| | | | | | | | | | | | | | | | | | This is useful for benchmarks to call immediately prior to and after running a page_set. It will be used by the page cyclers to record memory and IO statistics which are a delta of before and after the entire page set runs. This involved adding the concept of perf results that are not associated with a particular page. BUG=None TEST=tools/telemetry/run_tests --browser=system page_benchmark_results_unittest NOTRY=True Review URL: https://chromiumcodereview.appspot.com/13488005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192276 0039d316-1c4b-4281-b951-d872f2087c98
* [Telemetry] Combine _by_url results when using --pageset-repeat.tonyg@chromium.org2013-04-042-2/+49
| | | | | | | | | | | | | | | | | | | | | Previously, running with --pageset-repeat would result in a separate RESULT line for each iteration of the same page. The perfbot log processor doesn't understand multiple RESULT lines with the same chart and trace. So instead, combine all repeated runs for the same page into one RESULT line per page. This is necessary for the page cyclers to use page sets. Because they will use a --pageset-repeat=10. BUG=None TEST=tools/telemetry/run_tests --browser=system page_benchmark_results_unittest NOTRY=True Review URL: https://chromiumcodereview.appspot.com/13571002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192261 0039d316-1c4b-4281-b951-d872f2087c98
* Create JSON file that the new perf dashboard can read to get info about the ↵sullivan@chromium.org2013-04-041-0/+216
| | | | | | | | | | | test suites. BUG= Review URL: https://chromiumcodereview.appspot.com/12567017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192242 0039d316-1c4b-4281-b951-d872f2087c98
* [Telemetry] Add a script_to_evaluate_on_commit argument to tab.Navigate().tonyg@chromium.org2013-04-036-9/+38
| | | | | | | | | | | | | | | This script string is evaluated after the context of the page exists, but before any script on the page itself has executed. This will be used by the page cyclers for installing onload and onbeforeunload event handlers on the page. BUG=None TEST=tools/telemetry/run_tests --browser=system inspector_page_unittest.InspectorPageTest.testScriptToEvaluateOnCommit NOTRY=True Review URL: https://chromiumcodereview.appspot.com/13489002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192185 0039d316-1c4b-4281-b951-d872f2087c98
* [telemetry] Separate dynamic attributes from page members.dtu@chromium.org2013-04-031-4/+8
| | | | | | | | | | | | Fix for http://crrev.com/192096. Sigh TBR=marja@chromium.org BUG=None. TEST=None. Review URL: https://codereview.chromium.org/13587006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192174 0039d316-1c4b-4281-b951-d872f2087c98
* Valgrind: Update suppressions for bug 222687. Add a new suppresion for bug ↵thestig@chromium.org2013-04-031-7/+15
| | | | | | | | | | | | 226254. BUG=222687,226254 NOTRY=true TBR=zhaoqin Review URL: https://chromiumcodereview.appspot.com/13586008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192172 0039d316-1c4b-4281-b951-d872f2087c98
* [Telemetry] Updates to memory_cache_http_server.tonyg@chromium.org2013-04-032-23/+32
| | | | | | | | | | | | | | | | 1) Allow any path to be passed to the server for serving, not just directories. 2) Look for index.html when a directory is requested. This will be used for the page cyclers once they are updated to use page_sets. BUG=None TEST=morejs page cycler on linux NOTRY=True Review URL: https://chromiumcodereview.appspot.com/13493002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192116 0039d316-1c4b-4281-b951-d872f2087c98
* Updated expectations for moz with threaded parser disabled.sullivan@chromium.org2013-04-031-2/+2
| | | | | | | | | | | | http://build.chromium.org/f/chromium/perf/xp-release-dual-core/moz/report.html?history=150&rev=191559 http://build.chromium.org/f/chromium/perf/chromium-rel-win7-dual/moz/report.html?history=150&rev=190346 BUG=224764 Review URL: https://chromiumcodereview.appspot.com/13483005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192113 0039d316-1c4b-4281-b951-d872f2087c98
* [telemetry] Extra underscore.dtu@chromium.org2013-04-031-1/+1
| | | | | | | | | | | | Ugh, I suck. TBR=marja@chromium.org BUG=None. TEST=None. Review URL: https://codereview.chromium.org/13569002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192100 0039d316-1c4b-4281-b951-d872f2087c98
* [telemetry] Page set-level attributes.dtu@chromium.org2013-04-0310-4351/+1074
| | | | | | | | | | | | Page attributes cascade from page sets, with the page attribute having priority. This small change can eliminate most of the redundancy in the page sets. R=marja@chromium.org,nduca@chromium.org BUG=None. TEST=None. Review URL: https://codereview.chromium.org/13414005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192096 0039d316-1c4b-4281-b951-d872f2087c98
* [Telemetry] Trim trailing slashes from the display_url for file:// URLs.tonyg@chromium.org2013-04-032-1/+17
| | | | | | | | | | | | | | | | | When the page cyclers are updated to use page sets, they will have URLs like: file:///../../../../data/page_cycler/morejs/blog.chromium.org/ To be compatible with the old output, we want just the string "blog.chromium.org" to show up in the Pages: [] list. BUG=None TEST=tools/telemetry/run_tests --browser=system page_unittest.TestPage NOTRY=True Review URL: https://chromiumcodereview.appspot.com/13494004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192091 0039d316-1c4b-4281-b951-d872f2087c98
* Rename system-cros to systemachuith@chromium.org2013-04-031-2/+1
| | | | | | | | BUG=225465 TEST=manual Review URL: https://codereview.chromium.org/13392021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192086 0039d316-1c4b-4281-b951-d872f2087c98
* Telemetry: Fix memory measurements of Telemetry-based page cyclers.marja@chromium.org2013-04-031-2/+4
| | | | | | | | | | | | | | They used to compare histograms from different renderer processes and that doesn't make sense. BUG=223551 R=tonyg NOTRY=true Review URL: https://chromiumcodereview.appspot.com/13443005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192077 0039d316-1c4b-4281-b951-d872f2087c98
* Add UMA to passphrase dialog.akuegel@chromium.org2013-04-032-0/+4
| | | | | | | | | | | | | | | Count how often the passphrase dialog is displayed and closed, and whether the entered passphrase was correct. Related changelist which defines ManagedMode_PassphraseCorrect in the histograms.xml: https://chromereviews.googleplex.com/7312014/ BUG=171382 TEST=Manual Review URL: https://chromiumcodereview.appspot.com/12604013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192055 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 192041 "Splits SmoothGestureController from RenderWidgetH..."phoglund@chromium.org2013-04-031-7/+3
| | | | | | | | | | | | | | | | | | | | | | | > Splits SmoothGestureController from RenderWidgetHostImpl > > Elements were pushed when the platform sends an input event, > but they're are popped when the event are ACKd. > There are other internal queues such as "touch_event_queue_" and > "gesture_filter_" that may coalesce / ACK events using their own internal > order. > This results in in_process_event_types_ not being popped correctly, and > prevents Telemetry from synthesizing Motion events on android. > The solution is to move the synthetic events out of RenderWidgetHostImpl and use a simple counter there. > > BUG=166521 > TEST=content_unittest, SmoothScrollGestureControllerTest > > Review URL: https://chromiumcodereview.appspot.com/11858007 TBR=bulach@chromium.org Review URL: https://codereview.chromium.org/13408009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192054 0039d316-1c4b-4281-b951-d872f2087c98
* Splits SmoothGestureController from RenderWidgetHostImplbulach@chromium.org2013-04-031-3/+7
| | | | | | | | | | | | | | | | | | Elements were pushed when the platform sends an input event, but they're are popped when the event are ACKd. There are other internal queues such as "touch_event_queue_" and "gesture_filter_" that may coalesce / ACK events using their own internal order. This results in in_process_event_types_ not being popped correctly, and prevents Telemetry from synthesizing Motion events on android. The solution is to move the synthetic events out of RenderWidgetHostImpl and use a simple counter there. BUG=166521 TEST=content_unittest, SmoothScrollGestureControllerTest Review URL: https://chromiumcodereview.appspot.com/11858007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192041 0039d316-1c4b-4281-b951-d872f2087c98
* Add an option to find source file names from runtime virtual addresses.dmikurube@chromium.org2013-04-031-4/+11
| | | | | | | | | | BUG=225343 NOTRY=true Review URL: https://chromiumcodereview.appspot.com/13525002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192037 0039d316-1c4b-4281-b951-d872f2087c98
* Add hints to find source file names from runtime virtual addresses.dmikurube@chromium.org2013-04-033-0/+230
| | | | | | | | | | | | | | | | | prepare_symbol_info.py collected symbol and elf mapping information from binaries. This patch adds another set of hints to find source file names from DWARF .debug_line information with readelf. reduce_debugline.py picks up only address ranges from the original readelf output since the original output is too large. See the test how it works. BUG=225343 NOTRY=true Review URL: https://chromiumcodereview.appspot.com/13261014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192004 0039d316-1c4b-4281-b951-d872f2087c98