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

Unified Diff: LayoutTests/inspector/json-balanced-tokenizer-expected.txt

Issue 967853002: DevTools: n^2 -> n while loading heap snapshots and timeline files. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fixed the load test. Created 5 years, 10 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 | « LayoutTests/inspector/json-balanced-tokenizer.html ('k') | Source/devtools/front_end/common/Progress.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/inspector/json-balanced-tokenizer-expected.txt
diff --git a/LayoutTests/inspector/json-balanced-tokenizer-expected.txt b/LayoutTests/inspector/json-balanced-tokenizer-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f1829038801723dd55878781c8f32a59d6954a5e
--- /dev/null
+++ b/LayoutTests/inspector/json-balanced-tokenizer-expected.txt
@@ -0,0 +1,92 @@
+Test WebInspector.TextUtils.BalancedJSONTokenizer.
+
+Running: testMatchQuotes
+
+Parsing {"odd back slashes with text around":"tes\\\"t"}
+{"odd back slashes with text around":"tes\\\"t"}
+
+Parsing {"escaped double quotes":"\"test\""}
+{"escaped double quotes":"\"test\""}
+
+Parsing {"escaped back slash before double quote":"test\\"}
+{"escaped back slash before double quote":"test\\"}
+
+Parsing {"1":2}
+{"1":2}
+
+Parsing {"":""}
+{"":""}
+
+Parsing {"nested brackets":{}}
+{"nested brackets":{}}
+
+Parsing {"nested brackets with double quotes":{"":""}}
+{"nested brackets with double quotes":{"":""}}
+
+Parsing {"etc":{"\\":"\""}}
+{"etc":{"\\":"\""}}
+
+Parsing {"etc":{"\\\\":"\\"}}
+{"etc":{"\\\\":"\\"}}
+
+Parsing {"etc":{"\\\\\"":"\\\\\""}}
+{"etc":{"\\\\\"":"\\\\\""}}
+
+Running: testMatchSequenceUsingOneShot
+
+Parsing {"one":"one"}
+{"one":"one"}
+
+Parsing [{"one":"one"},{"two":"two"}]
+[{"one":"one"}
+
+Parsing [{"one":"one"},{"two":"two"},{"three":"three"}]
+[{"one":"one"}
+
+Running: testMatchSequenceUsingMultiple
+
+Parsing {"one":"one"}
+{"one":"one"}
+
+Parsing [{"one":"one"},{"two":"two"}]
+[{"one":"one"},{"two":"two"}
+
+Parsing [{"one":"one"},{"two":"two"},{"three":"three"}]
+[{"one":"one"},{"two":"two"},{"three":"three"}
+
+Running: testIncrementalWrites
+
+Running at once:
+[{"odd back slashes with text around":"tes\\\"t"},{"escaped double quotes":"\"test\""},{"escaped back slash before double quote":"test\\"},{"1":2},{"":""},{"nested brackets":{}},{"nested brackets with double quotes":{"":""}},{"etc":{"\\":"\""}},{"etc":{"\\\\":"\\"}},{"etc":{"\\\\\"":"\\\\\""}}
+
+Running by 3:
+[{"odd back slashes with text around":"tes\\\"t"}
+,{"escaped double quotes":"\"test\""}
+,{"escaped back slash before double quote":"test\\"}
+,{"1":2}
+,{"":""}
+,{"nested brackets":{}}
+,{"nested brackets with double quotes":{"":""}}
+,{"etc":{"\\":"\""}}
+,{"etc":{"\\\\":"\\"}}
+,{"etc":{"\\\\\"":"\\\\\""}}
+
+Running by 15:
+[{"odd back slashes with text around":"tes\\\"t"}
+,{"escaped double quotes":"\"test\""}
+,{"escaped back slash before double quote":"test\\"},{"1":2}
+,{"":""}
+,{"nested brackets":{}}
+,{"nested brackets with double quotes":{"":""}}
+,{"etc":{"\\":"\""}}
+,{"etc":{"\\\\":"\\"}}
+,{"etc":{"\\\\\"":"\\\\\""}}
+
+Running by 50:
+[{"odd back slashes with text around":"tes\\\"t"}
+,{"escaped double quotes":"\"test\""}
+,{"escaped back slash before double quote":"test\\"},{"1":2}
+,{"":""},{"nested brackets":{}}
+,{"nested brackets with double quotes":{"":""}},{"etc":{"\\":"\""}}
+,{"etc":{"\\\\":"\\"}},{"etc":{"\\\\\"":"\\\\\""}}
+
« no previous file with comments | « LayoutTests/inspector/json-balanced-tokenizer.html ('k') | Source/devtools/front_end/common/Progress.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698