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

Unified Diff: third_party/WebKit/PerformanceTests/Layout/word-wrap-break-word.html

Issue 2284113003: Add performance tests for long words/lines (Closed)
Patch Set: eae review Created 4 years, 4 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 | « third_party/WebKit/PerformanceTests/Layout/word-break-break-word.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/PerformanceTests/Layout/word-wrap-break-word.html
diff --git a/third_party/WebKit/PerformanceTests/Layout/word-wrap-break-word.html b/third_party/WebKit/PerformanceTests/Layout/word-wrap-break-word.html
new file mode 100644
index 0000000000000000000000000000000000000000..411ac6c7eb608ddca64aa1a326b5abe1a4db87a2
--- /dev/null
+++ b/third_party/WebKit/PerformanceTests/Layout/word-wrap-break-word.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<script src="../resources/runner.js"></script>
+<script src="resources/line-layout-perf-test.js"></script>
+<style>
+#container {
+ width: 400px;
+ word-wrap: break-word;
+}
+</style>
+<body onload="run()">
+<div id="container"></div>
+<script>
+'use strict';
+
+function run() {
+ var test = new LongWordPerfTest(container, 100 * 1000);
+ test.run('Measures performance of "word-wrap: break-word" with a very long word.');
+}
+</script>
+</body>
« no previous file with comments | « third_party/WebKit/PerformanceTests/Layout/word-break-break-word.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698