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

Issue 174118: Don't compile with TraceLog support on by default. (Closed)

Created:
11 years, 4 months ago by Dean McNamee
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Don't compile with TraceLog support on by default. This is just some experimental performance code. Previously it was creating a singleton object which created a ProcessMetrics object. This caused a bunch of possibly expensive calls to query system information to happen on startup.

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -0 lines) Patch
M base/trace_event.h View 2 chunks +7 lines, -0 lines 2 comments Download

Messages

Total messages: 4 (0 generated)
Dean McNamee
11 years, 4 months ago (2009-08-20 01:41:17 UTC) #1
Mark Mentovai
lgtm http://codereview.chromium.org/174118/diff/1/2 File base/trace_event.h (right): http://codereview.chromium.org/174118/diff/1/2#newcode32 Line 32: #if 1 // Set to 0 to ...
11 years, 4 months ago (2009-08-20 01:44:34 UTC) #2
Dean McNamee
I was trying to make it easy to actually turn it on if you wanted ...
11 years, 4 months ago (2009-08-20 01:46:20 UTC) #3
Erik does not do reviews
11 years, 4 months ago (2009-08-20 14:54:03 UTC) #4
yeah, I'll go with Mark here too.  If we have a #define, you could put it in
your personal .gypi and not have to worry about accidentally checking in the
file as enabled.

otherwise, LGTM

Powered by Google App Engine
This is Rietveld 408576698