summaryrefslogtreecommitdiffstats
path: root/tools/perf
Commit message (Collapse)AuthorAgeFilesLines
* Fix check_perms error from r223117.thestig@chromium.org2013-09-131-0/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223126 0039d316-1c4b-4281-b951-d872f2087c98
* Pageset of Alexa's top 10k webpages.rmistry@chromium.org2013-09-131-0/+38703
| | | | | | | | TBR=nduca@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223117 0039d316-1c4b-4281-b951-d872f2087c98
* telemetry: Fixed corner cases of discrepancy computation.ernstm@chromium.org2013-09-133-9/+47
| | | | | | | | | | | | - Correctly handle sample sets with zero, one or two samples. - Increased test coverage and updated unittests. R=dominikg@chromium.org, tonyg@chromium.org BUG=289351 Review URL: https://chromiumcodereview.appspot.com/23757042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223107 0039d316-1c4b-4281-b951-d872f2087c98
* Android / Telemetry: browser memory testbulach@chromium.org2013-09-131-0/+74
| | | | | | | | | | | | | This is currently being done manually. Leverage Telemetry in order to get repeatable results, tracing, profiling, etc. BUG=290102,289130 TEST=./tools/perf/run_measurement --browser=android-chrome-dev android_browser_memory_test Review URL: https://chromiumcodereview.appspot.com/23702038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223037 0039d316-1c4b-4281-b951-d872f2087c98
* [telemetry] Rename blink_perf back to blink_perf.all, and add 'reload' tag ↵dtu@chromium.org2013-09-122-1/+3
| | | | | | | | | | | | to reload benchmark. BUG=290243 TEST=None. R=tonyg@chromium.org Review URL: https://codereview.chromium.org/23653036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222911 0039d316-1c4b-4281-b951-d872f2087c98
* Telemetry: Open more than 1 tab in small_profile_creatorjeremy@chromium.org2013-09-121-3/+25
| | | | | | | | | | | | In order to make this type of generated profile useful for a session restore benchmark, open the last 5 links in their own tabs. Just opening each link in it's own tab would be simpler, but that's not possible yet due to crbug.com/258133 . BUG= Review URL: https://chromiumcodereview.appspot.com/23883006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222811 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: remove old references to domAutomationController in Telemetry testsjeremy@chromium.org2013-09-124-34/+12
| | | | | | | | | | Now that we've updated the Chrome reference builds, remove old calls to domAutomationController.getBrowserHistogram and .getHistogram() BUG= Review URL: https://chromiumcodereview.appspot.com/23654025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222790 0039d316-1c4b-4281-b951-d872f2087c98
* [telemetry] Add new benchmarks and rename them all.dtu@chromium.org2013-09-124-1/+23
| | | | | | | | | BUG=None. TEST=./run_benchmark list Review URL: https://chromiumcodereview.appspot.com/23618042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222736 0039d316-1c4b-4281-b951-d872f2087c98
* [Telemetry] Add audio latency page-set.shadi@chromium.org2013-09-122-0/+50
| | | | | | | | | | | | | | | | | This perf test measures the loop time for a very short audio clip. Since the audio clip is too short, the loop time estimates the latency overhead of playing audio through audio output. The page set includes two audio loop tests: 1- Single audio file looping. 2- Single audio file looping with a background audio file playing (this exercises audio mixer code). BUG=249435 Review URL: https://chromiumcodereview.appspot.com/23451025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222710 0039d316-1c4b-4281-b951-d872f2087c98
* [Telemetry] Unnecessary print in endure measurementedmundyan@chromium.org2013-09-111-1/+0
| | | | | | | | BUG=289717 Review URL: https://chromiumcodereview.appspot.com/23478028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222632 0039d316-1c4b-4281-b951-d872f2087c98
* Add pages to tough_video_cases.json to obtain seek-related metrics.anandc@chromium.org2013-09-111-0/+41
| | | | | | | | BUG=286616 Review URL: https://chromiumcodereview.appspot.com/23892009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222560 0039d316-1c4b-4281-b951-d872f2087c98
* Profiler.is_supported takes browser_type instead of options.achuith@chromium.org2013-09-111-1/+1
| | | | | | | | | | | BUG=269131 TEST=trybot, manual Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=222265 Review URL: https://chromiumcodereview.appspot.com/23458037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222503 0039d316-1c4b-4281-b951-d872f2087c98
* [Telemetry] Media files needed for loop perf test.shadi@chromium.org2013-09-112-0/+2
| | | | | | | | BUG=249435 Review URL: https://chromiumcodereview.appspot.com/23708032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222455 0039d316-1c4b-4281-b951-d872f2087c98
* New Cpu metric that calculates avg cpu_load of the browser over a span of ↵edmundyan@chromium.org2013-09-102-2/+78
| | | | | | | | | | | | time using browser.cpu_stats. Added this metric to tab_switching measurement to get idle-cpu usage of the browser TEST=tools/perf/run_measurement tab_switching tools/perf/page_sets/top_10.json BUG=264075 Review URL: https://chromiumcodereview.appspot.com/23645006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222303 0039d316-1c4b-4281-b951-d872f2087c98
* Adding page names to all endure pagesetsedmundyan@chromium.org2013-09-106-0/+9
| | | | | | | | BUG=284547 Review URL: https://chromiumcodereview.appspot.com/23963003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222241 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 222204 "Revert 222150 "Telemetry: smoothness measurement ..."vitalybuka@chromium.org2013-09-101-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Re-apply 222150. Revert didn't fix testGotQueryParams. > Revert 222150 "Telemetry: smoothness measurement throws MissingT..." > > Breaks testGotQueryParams on Mac 10.6 and 10.7. > > > Telemetry: smoothness measurement throws MissingTimelineMarker. > > > > Rather than throwing a generic LookupError exception when the timeline marker > > cannot be found in the trace, throw a MissingTimelineMarker which is a subclass > > of page_measurement.MeasurementFailure. These exceptios get caught by the page > > runner. > > > > Stop catching LookupError exeptions in _RunPage. > > > > BUG=238864 > > > > Review URL: https://chromiumcodereview.appspot.com/23766009 > > TBR=dominikg@chromium.org > > Review URL: https://codereview.chromium.org/23693005 TBR=vitalybuka@chromium.org Review URL: https://codereview.chromium.org/23622023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222219 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 222150 "Telemetry: smoothness measurement throws MissingT..."vitalybuka@chromium.org2013-09-101-9/+1
| | | | | | | | | | | | | | | | | | | | | | | Breaks testGotQueryParams on Mac 10.6 and 10.7. > Telemetry: smoothness measurement throws MissingTimelineMarker. > > Rather than throwing a generic LookupError exception when the timeline marker > cannot be found in the trace, throw a MissingTimelineMarker which is a subclass > of page_measurement.MeasurementFailure. These exceptios get caught by the page > runner. > > Stop catching LookupError exeptions in _RunPage. > > BUG=238864 > > Review URL: https://chromiumcodereview.appspot.com/23766009 TBR=dominikg@chromium.org Review URL: https://codereview.chromium.org/23693005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222204 0039d316-1c4b-4281-b951-d872f2087c98
* Move clear_system_cache_for_browser_and_profile_on_start to BrowserOptionsachuith@chromium.org2013-09-101-1/+2
| | | | | | | | | BUG=269131 TEST=trybot Review URL: https://chromiumcodereview.appspot.com/24064002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222185 0039d316-1c4b-4281-b951-d872f2087c98
* Telemetry: smoothness measurement throws MissingTimelineMarker.dominikg@chromium.org2013-09-101-1/+9
| | | | | | | | | | | | | | | Rather than throwing a generic LookupError exception when the timeline marker cannot be found in the trace, throw a MissingTimelineMarker which is a subclass of page_measurement.MeasurementFailure. These exceptios get caught by the page runner. Stop catching LookupError exeptions in _RunPage. BUG=238864 Review URL: https://chromiumcodereview.appspot.com/23766009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222150 0039d316-1c4b-4281-b951-d872f2087c98
* Add us as a unit (for cc_perftests)sullivan@chromium.org2013-09-091-0/+3
| | | | | | | | BUG=286529 Review URL: https://chromiumcodereview.appspot.com/23464041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222061 0039d316-1c4b-4281-b951-d872f2087c98
* [Telemetry] Improve logging on media measurement tests.shadi@chromium.org2013-09-073-9/+8
| | | | | | | | | | | | This CL: - adds a seek_label option to media seek action. Seek label is used to name the trace graphs of seek measurements. - makes element ID the default tracing label. - adds page level skip_basic_metrics check to media measurements. - fix buffering_time sec to ms bug. Review URL: https://chromiumcodereview.appspot.com/23456012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221849 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Fixed computation of dropped frames.ernstm@chromium.org2013-09-072-4/+5
| | | | | | | | | | | | | | | - Computation of dropped frames now correctly accounts for multi-frame drops. - A welcome side-effect is that variance of the percentage_dropped metric is reduced significantly. - Heads-up for the perf sherrifs: percentage_dropped will increase quite a bit with this patch. R=tonyg@chromium.org, nduca@chromium.org BUG=264308 Review URL: https://chromiumcodereview.appspot.com/23998002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221825 0039d316-1c4b-4281-b951-d872f2087c98
* Added discrepancy and inverse RMS frame time to smoothness benchmark.ernstm@chromium.org2013-09-066-1/+267
| | | | | | | | | | | | | Discrepancy is a measure for the largest area of jank in a series of time stamps. Inverse RMS frame time is a generalization of frames/second that penalizes longer frame times. We can switch to the inverse of another generalized mean with a higher exponent if we want to penalize long frame times even more. R=nduca@chromium.org, tonyg@chromium.org, klobag@chromium.org, vangelis@chromium.org BUG=280627, 281544 Review URL: https://chromiumcodereview.appspot.com/23506030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221782 0039d316-1c4b-4281-b951-d872f2087c98
* Add startup_cold, startup_cold_dirty, startup_warm, and startup_warm_dirty ↵sullivan@chromium.org2013-09-061-0/+28
| | | | | | | | | | test info. BUG=286319 Review URL: https://chromiumcodereview.appspot.com/24027005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221749 0039d316-1c4b-4281-b951-d872f2087c98
* Move to localhost-based URL for Pica benchmarkadamk@chromium.org2013-09-061-1/+1
| | | | | | | | | | Will update data to match (including both new and old URLs) before landing. R=tonyg@chromium.org Review URL: https://codereview.chromium.org/23450024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221743 0039d316-1c4b-4281-b951-d872f2087c98
* Adding V8 and process memory information as metrics that endure tracksedmundyan@chromium.org2013-09-061-2/+74
| | | | | | | | BUG=273827 Review URL: https://chromiumcodereview.appspot.com/23961002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221658 0039d316-1c4b-4281-b951-d872f2087c98
* [Telemetry] Change netsim page cycler from top_25 to top_10.tonyg@chromium.org2013-09-061-4/+4
| | | | | | | | | | The twitter site in the top_25 page set doesn't load completely. BUG=224049 Review URL: https://chromiumcodereview.appspot.com/23740005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221636 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up tough-video-cases page-set: remove unnecessary ID and selector values.anandc@chromium.org2013-09-061-29/+21
| | | | | | | | BUG=282725 Review URL: https://chromiumcodereview.appspot.com/23765003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221617 0039d316-1c4b-4281-b951-d872f2087c98
* telemetry: Add webkit.console category to event category filter.ernstm@chromium.org2013-09-062-2/+4
| | | | | | | | | | | | Once https://codereview.chromium.org/23848006/ has landed, we can remove the webkit category, and leave only webkit.console. R=nduca@chromium.org, tonyg@chromium.org BUG=264308 Review URL: https://chromiumcodereview.appspot.com/23777006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221616 0039d316-1c4b-4281-b951-d872f2087c98
* BrowserOptions.extra_browser_args is now a set.achuith@chromium.org2013-09-0616-50/+60
| | | | | | | | | | | | Use AppendExtraBrowserArgs everywhere. BUG=269131 TEST=trybot TBR=kbr@chromium.org Review URL: https://chromiumcodereview.appspot.com/23512005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221590 0039d316-1c4b-4281-b951-d872f2087c98
* Account for the case when there are no resource timingsqyearsley@chromium.org2013-09-051-2/+4
| | | | | | | | BUG= Review URL: https://chromiumcodereview.appspot.com/23971004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221502 0039d316-1c4b-4281-b951-d872f2087c98
* Telemetry: Replace actual groupcloned page with test page.skyostil@google.com2013-09-051-0/+14
| | | | | | | | | | | | | | | | | | Disable actual http://groupcloned.com and add test page http://groupcloned.com/test/list-images-variable/index.html instead. The actual groupcloned page keeps failing in the key_mobile_sites page set. It seems to behave non-deterministically, i.e. it's trying to load different items on different invocations. This is despite Telemetry trying to get rid of all randomness. The problem with the non-determinism is that the page often tries to load resources that haven't been loaded during recording. BUG=238864 R=tonyg@chromium.org Review URL: https://codereview.chromium.org/23500008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221468 0039d316-1c4b-4281-b951-d872f2087c98
* Update V8ObjectStatsMetric to work as a standalone metricedmundyan@chromium.org2013-09-051-12/+22
| | | | | | | | TEST=tools/perf/run_measurement page_cycler_bloat --v8-object-stats Review URL: https://chromiumcodereview.appspot.com/23963002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221467 0039d316-1c4b-4281-b951-d872f2087c98
* Telemetry: Fix facebook.com on key_mobile_sites.skyostil@google.com2013-09-051-1/+1
| | | | | | | | | | | | | | | | | The facebook.com page sometimes wouldn't scroll, because the scroll height would be equal to the window height. The page seems to dynamically load elements and scroll height only gets updated after that. To avoid this problem, this CL makes telemetry wait until the value for scroll height has been updated. BUG=238864 R=tonyg@chromium.org Review URL: https://codereview.chromium.org/23957002 Patch from Dominik Grewe <dominikg@google.com>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221416 0039d316-1c4b-4281-b951-d872f2087c98
* [Telemetry] Add 'name' attribute for pages, which allows for more ↵edmundyan@chromium.org2013-09-054-4/+4
| | | | | | | | | | human-readable printing BUG=284547 Review URL: https://chromiumcodereview.appspot.com/23545023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221312 0039d316-1c4b-4281-b951-d872f2087c98
* Report time-related media metrics in milliseconds instead of seconds.anandc@chromium.org2013-09-042-6/+6
| | | | | | | | BUG=282679 Review URL: https://chromiumcodereview.appspot.com/23893004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221256 0039d316-1c4b-4281-b951-d872f2087c98
* Change speed index to behave like WPT, improve speed index unit testqyearsley@chromium.org2013-09-036-251/+287
| | | | | | | | BUG= Review URL: https://chromiumcodereview.appspot.com/23839002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221014 0039d316-1c4b-4281-b951-d872f2087c98
* Telemetry: adds 'perf' profiler for android.bulach@chromium.org2013-09-031-1/+1
| | | | | | | | BUG=280340 Review URL: https://chromiumcodereview.appspot.com/21340003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220993 0039d316-1c4b-4281-b951-d872f2087c98
* At present, we log all the media-metrics that are calculated, for all media ↵anandc@chromium.org2013-09-022-7/+17
| | | | | | | | | | | | | | actions. There are situations where this may not be ideal: for example, when we perform seek actions and want to only record seek-times. This CL is to make the logging of basic media-metrics optional. By default, these will be logged. BUG=280350 Review URL: https://chromiumcodereview.appspot.com/23523005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220869 0039d316-1c4b-4281-b951-d872f2087c98
* Telemetry media measurment, update buffering_time metric.shadi@chromium.org2013-09-012-2/+6
| | | | | | | | | | Switching playback_duration to buffering_time as a more useful metric. BUG=278612 Review URL: https://chromiumcodereview.appspot.com/23510002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220745 0039d316-1c4b-4281-b951-d872f2087c98
* Add Telemetry media loop action.shadi@chromium.org2013-08-302-0/+18
| | | | | | | | | | | The loop action plays HTML5 media in loops and measures the avg time it takes to loop, i.e. time from end to start playback again. BUG=249435 Review URL: https://chromiumcodereview.appspot.com/21134002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220682 0039d316-1c4b-4281-b951-d872f2087c98
* [Telemetry] Work around crbug.com/280750jeremy@chromium.org2013-08-301-1/+4
| | | | | | | | | | | | The afoermentioned bug causes some pages to wedge which causes profile generation in Telemetry to fail. Use tab.WaitForDocumentReadyStateToBeInteractiveOrBetter() instead to attempt to mitigate this. BUG=282100 NOTRY=true Review URL: https://chromiumcodereview.appspot.com/23478017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220660 0039d316-1c4b-4281-b951-d872f2087c98
* [Telemetry] Add support for capturing V8 object stats to Telemetry.rmcilroy@chromium.org2013-08-302-0/+212
| | | | | | | | BUG= Review URL: https://chromiumcodereview.appspot.com/23112028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220606 0039d316-1c4b-4281-b951-d872f2087c98
* Fix page_cycler unittests BrowserOptions->BrowserFinderOptions.achuith@chromium.org2013-08-301-1/+1
| | | | | | | | | BUG=269131 TEST=trybot Review URL: https://chromiumcodereview.appspot.com/23480018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220497 0039d316-1c4b-4281-b951-d872f2087c98
* Adding pagesets for gmail and plus. Creating endure benchmarkedmundyan@chromium.org2013-08-306-0/+189
| | | | | | | | | ** Will need to be updated/rebased when https://codereview.chromium.org/22883011/ lands BUG=273827 Review URL: https://chromiumcodereview.appspot.com/23465003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220443 0039d316-1c4b-4281-b951-d872f2087c98
* [telemetry] Move telemetry/core/chrome/ to telemetry/core/backends/chrome/dtu@chromium.org2013-08-291-2/+2
| | | | | | | | | | | | | | | | | | This is cleanup from the addition of Webdriver support. The new folder core/backends/ will have backend interfaces that must be implemented by both Chrome and WebDriver, e.g. browser_backend; as well as backends that are common to both, e.g. form_based_credentials_backend. BUG=None. TEST=./run_tests Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=218886 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=220263 R=chrisgao@chromium.org, nduca@chromium.org, tonyg@chromium.org Review URL: https://codereview.chromium.org/23072018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220422 0039d316-1c4b-4281-b951-d872f2087c98
* [Telemetry] some fixes for profile generationjeremy@chromium.org2013-08-292-19/+3
| | | | | | | | | | | | | | * For desktop copy profile directory out correctly. * Limit number of tabs opened by small_profile_creator to 5 to lower profile generation time on Android. * Change command line format for profile_generator to use --profile-type-to-generate argument to specify the type of profile we want to create. * generate_profile_experimental -> generate_profile BUG=136664 NOTRY=true Review URL: https://chromiumcodereview.appspot.com/23592014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220353 0039d316-1c4b-4281-b951-d872f2087c98
* [telemetry] Add exception guards to StalePyc fixer.dtu@chromium.org2013-08-291-21/+3
| | | | | | | | | | | | If you run multiple instances, it can have a race condition with itself. So, just ignore those errors. BUG=272333 TEST=Run python and import perf_tools in src/tools/perf. Review URL: https://chromiumcodereview.appspot.com/23498012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220266 0039d316-1c4b-4281-b951-d872f2087c98
* Add --cold-load-percent option to page cycler to allow running tests with rdsmith@chromium.org2013-08-292-1/+186
| | | | | | | | some cold and some warm cache loads. Review URL: https://chromiumcodereview.appspot.com/23113002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220231 0039d316-1c4b-4281-b951-d872f2087c98
* [Telemetry] Disable intl_hi_ru and tough_layout_cases on mac.tonyg@chromium.org2013-08-291-3/+7
| | | | | | | | | | They are hanging due to a disk cache bug. BUG=269727,268646 Review URL: https://chromiumcodereview.appspot.com/23468005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220175 0039d316-1c4b-4281-b951-d872f2087c98