summaryrefslogtreecommitdiffstats
path: root/chrome/app/chrome_dll_main.cc
diff options
context:
space:
mode:
authorsiggi@chromium.org <siggi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-13 21:17:23 +0000
committersiggi@chromium.org <siggi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-13 21:17:23 +0000
commit0545571b0d2372be3c63664516a772a6a7700524 (patch)
tree988f1ae091a99b71a7ec8967061b5213efd124ef /chrome/app/chrome_dll_main.cc
parentcd03d828c9e1a0b54394d36ee5792a5fffaef169 (diff)
downloadchromium_src-0545571b0d2372be3c63664516a772a6a7700524.zip
chromium_src-0545571b0d2372be3c63664516a772a6a7700524.tar.gz
chromium_src-0545571b0d2372be3c63664516a772a6a7700524.tar.bz2
Remove a performance trace that seems to have caused a perf regression on XP, presumably because initializing ETW on Windows XP is somewhat expensive.
BUG=44109 TEST=XP page cycler buildbot should un-regress. Review URL: http://codereview.chromium.org/2102002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47192 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app/chrome_dll_main.cc')
-rw-r--r--chrome/app/chrome_dll_main.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/chrome/app/chrome_dll_main.cc b/chrome/app/chrome_dll_main.cc
index 6952d38..0f345af 100644
--- a/chrome/app/chrome_dll_main.cc
+++ b/chrome/app/chrome_dll_main.cc
@@ -45,7 +45,6 @@
#include "base/stats_counters.h"
#include "base/stats_table.h"
#include "base/string_util.h"
-#include "base/trace_event.h"
#include "chrome/browser/diagnostics/diagnostics_main.h"
#include "chrome/browser/renderer_host/render_process_host.h"
#include "chrome/common/chrome_constants.h"
@@ -431,8 +430,6 @@ int ChromeMain(int argc, char** argv) {
// The exit manager is in charge of calling the dtors of singleton objects.
base::AtExitManager exit_manager;
- TRACE_EVENT_BEGIN("chrome.main", NULL, "");
-
// We need this pool for all the objects created before we get to the
// event loop, but we don't want to leave them hanging around until the
// app quits. Each "main" needs to flush this pool right before it goes into
@@ -854,7 +851,5 @@ int ChromeMain(int argc, char** argv) {
DestructCrashReporter();
#endif // OS_MACOSX && GOOGLE_CHROME_BUILD
- TRACE_EVENT_END("chrome.main", NULL, "");
-
return rv;
}