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

Issue 8513009: Add TRACE_COUNTER support to about:tracing (Closed)

Created:
9 years, 1 month ago by nduca
Modified:
9 years, 1 month ago
Reviewers:
James Hawkins, jbates
CC:
chromium-reviews, arv (Not doing code reviews)
Visibility:
Public.

Description

Add TRACE_COUNTER support to about:tracing with dramatically improved test coverage. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=110671

Patch Set 1 #

Total comments: 34

Patch Set 2 : . #

Total comments: 7
Unified diffs Side-by-side diffs Delta from patch set Stats (+1282 lines, -541 lines) Patch
M chrome/browser/resources/tracing/profiling_view.js View 1 chunk +2 lines, -4 lines 0 comments Download
A chrome/browser/resources/tracing/test_utils.js View 1 1 chunk +32 lines, -0 lines 0 comments Download
A chrome/browser/resources/tracing/tests/nonnested_trace.json View 1 1 chunk +23 lines, -0 lines 0 comments Download
A chrome/browser/resources/tracing/tests/simple_trace.json View 1 1 chunk +55 lines, -0 lines 2 comments Download
A chrome/browser/resources/tracing/tests/tall_trace.json View 1 1 chunk +94 lines, -0 lines 0 comments Download
A chrome/browser/resources/tracing/tests/trivial_trace.json View 1 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/browser/resources/tracing/timeline.css View 2 chunks +12 lines, -5 lines 0 comments Download
M chrome/browser/resources/tracing/timeline.js View 1 17 chunks +190 lines, -131 lines 2 comments Download
M chrome/browser/resources/tracing/timeline_model.js View 1 13 chunks +191 lines, -7 lines 2 comments Download
M chrome/browser/resources/tracing/timeline_model_test.html View 12 chunks +108 lines, -21 lines 0 comments Download
A chrome/browser/resources/tracing/timeline_test.html View 1 1 chunk +97 lines, -0 lines 0 comments Download
M chrome/browser/resources/tracing/timeline_track.js View 7 chunks +309 lines, -88 lines 0 comments Download
A chrome/browser/resources/tracing/timeline_track_test.html View 1 chunk +155 lines, -0 lines 1 comment Download
M chrome/browser/resources/tracing/timeline_view.js View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/tracing/tracing_controller.js View 3 chunks +3 lines, -18 lines 0 comments Download
D chrome/browser/resources/tracing/tracing_controller_tests.js View 1 chunk +0 lines, -267 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
nduca
9 years, 1 month ago (2011-11-16 13:31:06 UTC) #1
James Hawkins
http://codereview.chromium.org/8513009/diff/1/chrome/browser/resources/tracing/tests/nonnested_trace.json File chrome/browser/resources/tracing/tests/nonnested_trace.json (right): http://codereview.chromium.org/8513009/diff/1/chrome/browser/resources/tracing/tests/nonnested_trace.json#newcode2 chrome/browser/resources/tracing/tests/nonnested_trace.json:2: {"cat": "PERF", "pid": 22630, "tid": 22630, "ts": 826, "ph": ...
9 years, 1 month ago (2011-11-16 17:41:38 UTC) #2
nduca
http://codereview.chromium.org/8513009/diff/1/chrome/browser/resources/tracing/tests/nonnested_trace.json File chrome/browser/resources/tracing/tests/nonnested_trace.json (right): http://codereview.chromium.org/8513009/diff/1/chrome/browser/resources/tracing/tests/nonnested_trace.json#newcode2 chrome/browser/resources/tracing/tests/nonnested_trace.json:2: {"cat": "PERF", "pid": 22630, "tid": 22630, "ts": 826, "ph": ...
9 years, 1 month ago (2011-11-16 19:03:56 UTC) #3
jbates
lgtm http://codereview.chromium.org/8513009/diff/6001/chrome/browser/resources/tracing/timeline.js File chrome/browser/resources/tracing/timeline.js (right): http://codereview.chromium.org/8513009/diff/6001/chrome/browser/resources/tracing/timeline.js#newcode384 chrome/browser/resources/tracing/timeline.js:384: * whether whether to respond to keyboard inputs. ...
9 years, 1 month ago (2011-11-16 23:25:39 UTC) #4
James Hawkins
LGTM with nits. http://codereview.chromium.org/8513009/diff/6001/chrome/browser/resources/tracing/tests/simple_trace.json File chrome/browser/resources/tracing/tests/simple_trace.json (right): http://codereview.chromium.org/8513009/diff/6001/chrome/browser/resources/tracing/tests/simple_trace.json#newcode5 chrome/browser/resources/tracing/tests/simple_trace.json:5: "name": "A long name that doesnt ...
9 years, 1 month ago (2011-11-17 05:19:31 UTC) #5
nduca
9 years, 1 month ago (2011-11-18 08:58:19 UTC) #6
http://codereview.chromium.org/8513009/diff/6001/chrome/browser/resources/tra...
File chrome/browser/resources/tracing/tests/simple_trace.json (right):

http://codereview.chromium.org/8513009/diff/6001/chrome/browser/resources/tra...
chrome/browser/resources/tracing/tests/simple_trace.json:5: "name": "A long name
that doesnt fit but is exceedingly informative", "args": {}},
On 2011/11/17 05:19:32, James Hawkins wrote:
> 80 cols.

Done.

http://codereview.chromium.org/8513009/diff/6001/chrome/browser/resources/tra...
File chrome/browser/resources/tracing/timeline_model.js (right):

http://codereview.chromium.org/8513009/diff/6001/chrome/browser/resources/tra...
chrome/browser/resources/tracing/timeline_model.js:457:
.getOrCreateCounter(event.name);
ooo great point.
On 2011/11/16 23:25:39, jbates wrote:
> Do we care that ("cat1", "name1") is the same counter as ("cat2", "name1")?

Powered by Google App Engine
This is Rietveld 408576698