Skip to content

Instantly share code, notes, and snippets.

@Manishearth
Last active December 8, 2017 02:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Manishearth/09477dd1feda579a84d6cb419b7792bd to your computer and use it in GitHub Desktop.
Save Manishearth/09477dd1feda579a84d6cb419b7792bd to your computer and use it in GitHub Desktop.
firefox frame construction and layout measurements
Pages were opened and refreshed a few times to let the cache settle down before measuring.
"fc" is time spent in the frame constructor NOT including any style resolution that the frame constructor did.
fc-style is the amount of time the frame constructor spent resolving styles; i.e. fc + fc-style is the total amount of time spent
in the frame constructor. fc is the number that indicates potential wins from speeding up the frame constructor
Measured with https://github.com/Manishearth/gecko/commit/42d3d0d810423e07ae410a3f64c4e443be6510a7
https://en.wikipedia.org/wiki/Main_Page: [ load ] painting(13.0439 ms) fc(36.3641 ms) style(74.8975 ms) layout(11.144 ms) fc-style(9.68468 ms) total(424 ms)
https://en.wikipedia.org/wiki/Main_Page: [quiescent] painting(16.7484 ms) fc(37.0357 ms) style(76.6358 ms) layout(12.4481 ms) fc-style(9.79646 ms) total(498.192 ms)
https://en.wikipedia.org/wiki/Main_Page: [ load ] painting(16.7381 ms) fc(40.4796 ms) style(58.0077 ms) layout(12.8113 ms) fc-style(8.91242 ms) total(502 ms)
https://en.wikipedia.org/wiki/Main_Page: [quiescent] painting(16.7381 ms) fc(40.4418 ms) style(57.3096 ms) layout(12.3462 ms) fc-style(8.91139 ms) total(461.882 ms)
https://en.wikipedia.org/wiki/Main_Page: [ load ] painting(17.3111 ms) fc(43.1388 ms) style(57.288 ms) layout(12.6312 ms) fc-style(12.1636 ms) total(472 ms)
https://en.wikipedia.org/wiki/Main_Page: [quiescent] painting(17.3111 ms) fc(43.1352 ms) style(57.288 ms) layout(12.6312 ms) fc-style(12.1636 ms) total(440.62 ms)
https://twitter.com/servodev: [ load ] painting(51.0976 ms) fc(38.3588 ms) style(75.3687 ms) layout(48.0203 ms) fc-style(44.3885 ms) total(1333 ms)
https://twitter.com/servodev: [quiescent] painting(51.0976 ms) fc(38.3586 ms) style(75.3687 ms) layout(48.0203 ms) fc-style(44.3885 ms) total(1320.6 ms)
https://twitter.com/servodev: [ load ] painting(48.7885 ms) fc(36.4938 ms) style(68.3739 ms) layout(41.1744 ms) fc-style(43.0357 ms) total(1395 ms)
https://twitter.com/servodev: [quiescent] painting(47.0468 ms) fc(36.4352 ms) style(67.9796 ms) layout(40.8297 ms) fc-style(43.0338 ms) total(1376.32 ms)
https://twitter.com/servodev: [ load ] painting(21.1613 ms) fc(36.8897 ms) style(68.5186 ms) layout(40.3116 ms) fc-style(39.5533 ms) total(1330 ms)
https://twitter.com/servodev: [quiescent] painting(21.1613 ms) fc(36.8897 ms) style(68.5186 ms) layout(40.3116 ms) fc-style(39.5533 ms) total(1316.96 ms)
(facebook measurements done whilst logged in)
https://www.facebook.com/: [ load ] painting(180.95 ms) fc(34.9784 ms) style(525.454 ms) layout(83.5728 ms) fc-style(22.312 ms) total(2734 ms)
https://www.facebook.com/: [quiescent] painting(166.025 ms) fc(34.9672 ms) style(342.871 ms) layout(65.4145 ms) fc-style(22.312 ms) total(2225.93 ms)
https://www.facebook.com/: [ load ] painting(234.226 ms) fc(40.3905 ms) style(436.165 ms) layout(84.3077 ms) fc-style(24.5631 ms) total(2712 ms)
https://www.facebook.com/: [quiescent] painting(198.56 ms) fc(40.3875 ms) style(379.153 ms) layout(69.1248 ms) fc-style(24.5631 ms) total(2426.07 ms)
https://www.facebook.com/: [ load ] painting(188.444 ms) fc(37.209 ms) style(570.518 ms) layout(75.9788 ms) fc-style(22.4316 ms) total(2627 ms)
https://www.facebook.com/: [quiescent] painting(145.304 ms) fc(36.3144 ms) style(242.37 ms) layout(27.3921 ms) fc-style(22.424 ms) total(1629.18 ms)
https://www.google.com/: [ load ] painting(8.04692 ms) fc(5.10103 ms) style(23.4838 ms) layout(1.80977 ms) fc-style(3.82082 ms) total(356 ms)
https://www.google.com/: [quiescent] painting(3.22551 ms) fc(3.63763 ms) style(11.6018 ms) layout(1.46587 ms) fc-style(3.01856 ms) total(202.563 ms)
https://www.google.com/: [ load ] painting(7.52772 ms) fc(5.30102 ms) style(23.6416 ms) layout(1.8692 ms) fc-style(3.85875 ms) total(306 ms)
https://www.google.com/: [quiescent] painting(3.077 ms) fc(3.72645 ms) style(9.91804 ms) layout(1.16543 ms) fc-style(3.08358 ms) total(204.327 ms)
https://www.google.com/: [ load ] painting(7.4722 ms) fc(5.49249 ms) style(23.7179 ms) layout(1.93229 ms) fc-style(3.92931 ms) total(292 ms)
https://www.google.com/: [quiescent] painting(3.16607 ms) fc(4.01314 ms) style(11.8741 ms) layout(1.60075 ms) fc-style(3.14835 ms) total(199.995 ms)
(no TTQ on nytimes because it has lots of activity and doesn't easily reach quiescence)
https://www.nytimes.com/: [ load ] painting(152.724 ms) fc(79.5218 ms) style(274.268 ms) layout(60.3427 ms) fc-style(20.214 ms) total(3808 ms)
https://www.nytimes.com/: [ load ] painting(195.784 ms) fc(81.4333 ms) style(267.929 ms) layout(70.9335 ms) fc-style(20.2968 ms) total(3865 ms)
https://www.nytimes.com/: [ load ] painting(174.194 ms) fc(81.1344 ms) style(288.875 ms) layout(64.4564 ms) fc-style(21.1141 ms) total(3442 ms)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment