| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 #include "chrome_frame/test/perf/chrome_frame_perftest.h" | 4 #include "chrome_frame/test/perf/chrome_frame_perftest.h" |
| 5 | 5 |
| 6 #include <atlhost.h> | 6 #include <atlhost.h> |
| 7 #include <atlwin.h> | 7 #include <atlwin.h> |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 #include "base/win/event_trace_controller.h" | 28 #include "base/win/event_trace_controller.h" |
| 29 #include "base/win/registry.h" | 29 #include "base/win/registry.h" |
| 30 #include "base/win/scoped_bstr.h" | 30 #include "base/win/scoped_bstr.h" |
| 31 #include "base/win/scoped_comptr.h" | 31 #include "base/win/scoped_comptr.h" |
| 32 #include "base/win/scoped_variant.h" | 32 #include "base/win/scoped_variant.h" |
| 33 #include "chrome/app/image_pre_reader_win.h" | 33 #include "chrome/app/image_pre_reader_win.h" |
| 34 #include "chrome/common/chrome_constants.h" | 34 #include "chrome/common/chrome_constants.h" |
| 35 #include "chrome/common/chrome_paths.h" | 35 #include "chrome/common/chrome_paths.h" |
| 36 #include "chrome/common/chrome_paths_internal.h" | 36 #include "chrome/common/chrome_paths_internal.h" |
| 37 #include "chrome/test/base/chrome_process_util.h" | 37 #include "chrome/test/base/chrome_process_util.h" |
| 38 #include "chrome/test/perf/perf_test.h" | |
| 39 #include "chrome/test/ui/ui_perf_test.h" | 38 #include "chrome/test/ui/ui_perf_test.h" |
| 40 #include "chrome_frame/chrome_tab.h" | 39 #include "chrome_frame/chrome_tab.h" |
| 41 #include "chrome_frame/test_utils.h" | 40 #include "chrome_frame/test_utils.h" |
| 42 #include "chrome_frame/utils.h" | 41 #include "chrome_frame/utils.h" |
| 42 #include "testing/perf/perf_test.h" |
| 43 | 43 |
| 44 const wchar_t kSilverlightControlKey[] = | 44 const wchar_t kSilverlightControlKey[] = |
| 45 L"CLSID\\{DFEAF541-F3E1-4c24-ACAC-99C30715084A}\\InprocServer32"; | 45 L"CLSID\\{DFEAF541-F3E1-4c24-ACAC-99C30715084A}\\InprocServer32"; |
| 46 | 46 |
| 47 const wchar_t kFlashControlKey[] = | 47 const wchar_t kFlashControlKey[] = |
| 48 L"CLSID\\{D27CDB6E-AE6D-11cf-96B8-444553540000}\\InprocServer32"; | 48 L"CLSID\\{D27CDB6E-AE6D-11cf-96B8-444553540000}\\InprocServer32"; |
| 49 | 49 |
| 50 using base::TimeDelta; | 50 using base::TimeDelta; |
| 51 using base::TimeTicks; | 51 using base::TimeTicks; |
| 52 | 52 |
| (...skipping 1547 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1600 PrintPerfTestResults(automation_provider_connect_monitor, kNumCycles, | 1600 PrintPerfTestResults(automation_provider_connect_monitor, kNumCycles, |
| 1601 "automationproviderconnect"); | 1601 "automationproviderconnect"); |
| 1602 PrintPerfTestResults(external_tab_navigate_monitor, kNumCycles, | 1602 PrintPerfTestResults(external_tab_navigate_monitor, kNumCycles, |
| 1603 "externaltabnavigate"); | 1603 "externaltabnavigate"); |
| 1604 PrintPerfTestResults(renderer_main_monitor, kNumCycles, | 1604 PrintPerfTestResults(renderer_main_monitor, kNumCycles, |
| 1605 "beginrenderermain"); | 1605 "beginrenderermain"); |
| 1606 #ifdef NDEBUG | 1606 #ifdef NDEBUG |
| 1607 PrintPerfTestResults(pre_read_chrome_monitor, kNumCycles, "PreReadImage"); | 1607 PrintPerfTestResults(pre_read_chrome_monitor, kNumCycles, "PreReadImage"); |
| 1608 #endif // NDEBUG | 1608 #endif // NDEBUG |
| 1609 } | 1609 } |
| OLD | NEW |