OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 | 4 |
5 #include "base/basictypes.h" | 5 #include "base/basictypes.h" |
6 #include "base/command_line.h" | 6 #include "base/command_line.h" |
7 #include "base/file_path.h" | 7 #include "base/file_path.h" |
8 #include "base/file_util.h" | 8 #include "base/file_util.h" |
9 #include "base/path_service.h" | 9 #include "base/path_service.h" |
10 #include "base/process_util.h" | 10 #include "base/process_util.h" |
11 #include "base/string_number_conversions.h" | 11 #include "base/string_number_conversions.h" |
12 #include "base/sys_string_conversions.h" | 12 #include "base/sys_string_conversions.h" |
13 #include "base/test/test_timeouts.h" | 13 #include "base/test/test_timeouts.h" |
14 #include "base/utf_string_conversions.h" | 14 #include "base/utf_string_conversions.h" |
15 #include "chrome/browser/net/url_fixer_upper.h" | 15 #include "chrome/browser/net/url_fixer_upper.h" |
16 #include "chrome/common/chrome_constants.h" | 16 #include "chrome/common/chrome_constants.h" |
17 #include "chrome/common/chrome_paths.h" | 17 #include "chrome/common/chrome_paths.h" |
18 #include "chrome/common/chrome_switches.h" | 18 #include "chrome/common/chrome_switches.h" |
19 #include "chrome/test/automation/tab_proxy.h" | 19 #include "chrome/test/automation/tab_proxy.h" |
20 #include "chrome/test/automation/window_proxy.h" | 20 #include "chrome/test/automation/window_proxy.h" |
21 #include "chrome/test/base/chrome_process_util.h" | 21 #include "chrome/test/base/chrome_process_util.h" |
22 #include "chrome/test/test_switches.h" | 22 #include "chrome/test/base/test_switches.h" |
23 #include "chrome/test/ui/ui_perf_test.h" | 23 #include "chrome/test/ui/ui_perf_test.h" |
24 #include "googleurl/src/gurl.h" | 24 #include "googleurl/src/gurl.h" |
25 #include "net/base/net_util.h" | 25 #include "net/base/net_util.h" |
26 | 26 |
27 #ifndef NDEBUG | 27 #ifndef NDEBUG |
28 static const int kTestIterations = 2; | 28 static const int kTestIterations = 2; |
29 static const int kDatabaseTestIterations = 2; | 29 static const int kDatabaseTestIterations = 2; |
30 #else | 30 #else |
31 static const int kTestIterations = 10; | 31 static const int kTestIterations = 10; |
32 // For some unknown reason, the DB perf tests are much much slower on the | 32 // For some unknown reason, the DB perf tests are much much slower on the |
(...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
527 PAGE_CYCLER_DATABASE_TESTS("delete-transactions", | 527 PAGE_CYCLER_DATABASE_TESTS("delete-transactions", |
528 DeleteTransactions); | 528 DeleteTransactions); |
529 PAGE_CYCLER_DATABASE_TESTS("pseudo-random-transactions", | 529 PAGE_CYCLER_DATABASE_TESTS("pseudo-random-transactions", |
530 PseudoRandomTransactions); | 530 PseudoRandomTransactions); |
531 #endif | 531 #endif |
532 | 532 |
533 // Indexed DB tests. | 533 // Indexed DB tests. |
534 PAGE_CYCLER_IDB_TESTS("basic_insert", BasicInsert); | 534 PAGE_CYCLER_IDB_TESTS("basic_insert", BasicInsert); |
535 | 535 |
536 } // namespace | 536 } // namespace |
OLD | NEW |