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

Side by Side Diff: third_party/WebKit/PerformanceTests/Editing/mouse-move-with-hidden-elements.html

Issue 2734823006: Add performance mousemove (Closed)
Patch Set: update Created 3 years, 9 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 unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/PerformanceTests/Skipped » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="../resources/runner.js"></script>
3
4 <div id="div" hidden></div>
5 <p id="container" contenteditable>foo</p>
6
7 <script>
8 const kElements = 20000;
9 div.innerHTML = '<div>test</div>'.repeat(kElements);
10 container.focus();
11 container.hidden = true;
12
13 var div2 = document.createElement('div');
14 PerfTestRunner.measureTime({
15 description: `Measures performance of WebViewImpl::handleInputEvent when selec tion null and has ${kElements} hidden elements`,
16 setup: () => {
17 eventSender.mouseMoveTo(0, 0);
18 document.body.appendChild(div2);
19 },
20 run: () => {
21 eventSender.mouseMoveTo(100, 100);
22 },
23 done: () => {
24 document.body.removeChild(div2);
25 }
26 });
27 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/PerformanceTests/Skipped » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698