diff options
author | tonyg@chromium.org <tonyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-01 21:52:46 +0000 |
---|---|---|
committer | tonyg@chromium.org <tonyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-01 21:52:46 +0000 |
commit | f516ad80339c81676e96b212be174969e4a4b1ed (patch) | |
tree | 6451d1d1c997d6cbebcebb9db3006fed1610677c /tools/perf | |
parent | 6bdd375080bd308abd3827209fa78d1ee70a69b8 (diff) | |
download | chromium_src-f516ad80339c81676e96b212be174969e4a4b1ed.zip chromium_src-f516ad80339c81676e96b212be174969e4a4b1ed.tar.gz chromium_src-f516ad80339c81676e96b212be174969e4a4b1ed.tar.bz2 |
[Telemetry] Make loading_measurement_analyzer use much less RAM for loading_profile.
This change allows us to successfully parse the loading_profile measurement
output from the top million sites.
TEST=tools/perf/run_tests
BUG=
NOTRY=True
Review URL: https://chromiumcodereview.appspot.com/21612002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215125 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/perf')
-rwxr-xr-x | tools/perf/measurements/loading_measurement_analyzer.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/measurements/loading_measurement_analyzer.py b/tools/perf/measurements/loading_measurement_analyzer.py index 5a7c7a4..1d2b183 100755 --- a/tools/perf/measurements/loading_measurement_analyzer.py +++ b/tools/perf/measurements/loading_measurement_analyzer.py @@ -58,6 +58,8 @@ class LoadingMeasurementAnalyzer(object): if not value or value == '-': continue value = float(value) + if not value: + continue if '_avg' in key: self.avgs[key].append((value, row['url'])) elif '_max' in key: |