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

Side by Side Diff: chrome/test/data/page_load_metrics/page_with_css.html

Issue 2533783003: Add metrics for style update time before FCP. (Closed)
Patch Set: value_or(base::TimeDelta()) Created 4 years 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <title>Page with some CSS</title> 2 <title>Page with some CSS</title>
3 <!-- 3 <!--
4 Load a bunch of stylesheets to ensure that we spent more than 1ms of time 4 Load a bunch of stylesheets to ensure that we spent more than 1ms of time
5 parsing. 5 parsing.
6 --> 6 -->
7 <script> 7 <script>
8 for (var i = 0; i < 50; i++) { 8 for (var i = 0; i < 50; i++) {
9 document.write('<link rel="stylesheet" href="/page_load_metrics/simple.css?' + i + '">'); 9 document.write('<link rel="stylesheet" href="/page_load_metrics/simple.css?' + i + '">');
10 document.write('<div><p><a>Mark me up! We need a few of these tags to cause a long enough aggregate UpdateStyle');
10 } 11 }
11 </script> 12 </script>
12 <p>Mark me up!</p>
OLDNEW
« no previous file with comments | « chrome/renderer/page_load_metrics/metrics_render_frame_observer.cc ('k') | third_party/WebKit/Source/core/css/CSSTiming.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698