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

Unified Diff: tools/perf/measurements/endure.py

Issue 23449041: Endure: rename trace names, making them lowercase (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge changes from committed CL 23645013 Created 7 years, 3 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/measurements/endure.py
diff --git a/tools/perf/measurements/endure.py b/tools/perf/measurements/endure.py
index c7d7666cb941b1863ef81f0f7df0bb662e3cc4c7..598166b7d5cb5c3adc067ccf5d2e42745313e41a 100644
--- a/tools/perf/measurements/endure.py
+++ b/tools/perf/measurements/endure.py
@@ -141,23 +141,24 @@ class Endure(page_measurement.PageMeasurement):
dom_stats = tab.dom_stats
dom_node_count = dom_stats['node_count']
event_listener_count = dom_stats['event_listener_count']
- AddPoint('TotalDOMNodeCount', 'nodes', dom_node_count)
- AddPoint('EventListenerCount', 'events', event_listener_count)
+ AddPoint('dom_nodes', 'count', dom_node_count)
+ AddPoint('event_listeners', 'count', event_listener_count)
# Browser and renderer virtual memory stats
memory_stats = self._browser.memory_stats
def BrowserVMStats(statistic_name):
"""Get VM stats from the Browser object in KB."""
return memory_stats[statistic_name].get('VM', 0) / 1024.0
- AddPoint('BrowserVirtualMemory', 'KB', BrowserVMStats('Browser'))
- AddPoint('RendererVirtualMemory', 'KB', BrowserVMStats('Renderer'))
+ AddPoint('browser_vm', 'KB', BrowserVMStats('Browser'))
+ AddPoint('renderer_vm', 'KB', BrowserVMStats('Renderer'))
+ AddPoint('gpu_vm', 'KB', BrowserVMStats('Gpu'))
# V8 stats
def V8StatsSum(counters):
"""Given a list of V8 counter names, get the sum of the values in KB."""
stats = v8_object_stats.V8ObjectStatsMetric.GetV8StatsTable(tab, counters)
return sum(stats.values()) / 1024.0
- AddPoint('V8BytesCommitted', 'KB', V8StatsSum(_V8_BYTES_COMMITTED))
- AddPoint('V8BytesUsed', 'KB', V8StatsSum(_V8_BYTES_USED))
- AddPoint('V8MemoryAllocated', 'KB', V8StatsSum(_V8_MEMORY_ALLOCATED))
+ AddPoint('v8_memory_committed', 'KB', V8StatsSum(_V8_BYTES_COMMITTED))
+ AddPoint('v8_memory_used', 'KB', V8StatsSum(_V8_BYTES_USED))
+ AddPoint('v8_memory_allocated', 'KB', V8StatsSum(_V8_MEMORY_ALLOCATED))
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698