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

Unified Diff: chrome/test/data/indexeddb/perf_test.js

Issue 1238393003: [IndexedDB] Adding traces, perf tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: forgot to start the old test Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/browser/indexed_db/indexed_db_backing_store.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/indexeddb/perf_test.js
diff --git a/chrome/test/data/indexeddb/perf_test.js b/chrome/test/data/indexeddb/perf_test.js
index 853fbbfdf9e897fd26384b5b0dcebc7b09068c0e..bf0f6e853d45a774f583c02c9b72f2bb36995bbb 100644
--- a/chrome/test/data/indexeddb/perf_test.js
+++ b/chrome/test/data/indexeddb/perf_test.js
@@ -93,13 +93,16 @@ var tests = [
];
var currentTest = 0;
+var done = false;
function test() {
runNextTest();
}
+var testFilter;
+
function runNextTest() {
- var filter = window.location.hash.slice(1);
+ var filter = testFilter | window.location.hash.slice(1);
var test, f;
while (currentTest < tests.length) {
test = tests[currentTest];
@@ -122,6 +125,7 @@ function onAllTestsComplete() {
var overallDuration = window.performance.now() - overallTestStartTime;
automation.addResult("OverallTestDuration", overallDuration);
automation.setDone();
+ done = true;
}
// This is the only test that includes database creation and deletion in its
« no previous file with comments | « no previous file | content/browser/indexed_db/indexed_db_backing_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698