Граф коммитов

277 Коммитов

Автор SHA1 Сообщение Дата
Patrick Hulce d99b5ada80 perf: make network quiet threshold configurable per pass (#2220)
* perf: make network quiet threshold configurable per pass

* lower it more

* split into 3 thresholds

* add comments
2017-05-13 11:43:23 -07:00
Michael Stramel 00373ed7fb Fix: Catch all images as non-critical (#2233) 2017-05-12 10:17:26 -07:00
Patrick Hulce 7d7bac668a perf: enable speedline fastMode (#2230) 2017-05-11 12:10:37 -07:00
Patrick Hulce d2cb5a2117 feat: add consistently interactive audit (#2023) 2017-05-10 10:24:32 -07:00
Patrick Hulce d0e0d35d7d optimize-images: don't toggle Network domain. TTFB: fix tests (#2199) 2017-05-09 18:38:19 -07:00
Patrick Hulce d99778b4f1 perf: consolidate DBW pass into defaultPass (#2160) 2017-05-09 17:24:38 -07:00
Patrick Hulce fb3cfbd533 refactor: makes non-finished network records available (#2197)
* refactor: makes non-finished network records available internally

* update comments
2017-05-09 15:32:25 -07:00
Patrick Hulce c2435e7855 test: make travis green again (#2196) 2017-05-09 13:40:35 -07:00
Michael Stramel bd7f862df5 Update: Use array of non-critical resource types (#2191) 2017-05-09 13:09:36 -07:00
Paul Irish 740c2e99d4 perf(gather-runner): Clear cache selectively per-pass (#2156)
* Don't _disable_ disk cache, just clear it once for perf.
* Move cache clearing to be per-pass and conditional
2017-05-09 12:23:31 -07:00
Bacon b5bf067ba6 Remove images from critical request chains. (#2085) 2017-05-09 12:16:25 -07:00
Patrick Hulce d0cb646a36 perf(gatherers): skip optimization of cross origin images (#2154) 2017-05-09 12:15:23 -07:00
Brendan Kenny 5dc01be664 perf: prevent computing computed artifacts multiple times due to race condition (#2185) 2017-05-09 12:02:01 -07:00
Patrick Hulce 4c515cfa89 perf: request block stylesheets and images on redirect pass (#2168) 2017-05-09 12:00:44 -07:00
Ward Peeters 691157f295 Add audit to check if start_url is cached by SW (#2040) 2017-05-09 11:50:47 -07:00
Paul Irish 752b2b0133 merge fixup. 2017-05-04 22:58:42 -07:00
Paul Irish e5bd630551 Merge branch 'master' into netrecordspiecemeal 2017-05-04 22:58:20 -07:00
Brendan Kenny d7e4d1bb09 always construct networkRecords from devtoolsLog (#2133)
simplify devtoolsLog recording, url redirect tracking, and eliminate explicit network recording
2017-05-04 22:44:48 -07:00
Brendan Kenny 75d8f4d1f1 fixup types 2017-05-04 22:43:10 -07:00
Paul Irish 11a1db3c95 networkRecords => computed artifact.
generate networkRecords during gather via the networkRecorder dispatcher
breaking change: performanceLog => devtoolsLogs
2017-05-04 22:41:05 -07:00
Eric Bidelman d3a0692549 DOMStat Audit: shadow roots don't have .classList (#2131)
* DOMStat Audit: handle shadow roots (dont have .classList)

* Users should target < optimalVal

* isShadowHost
2017-05-02 21:11:02 -07:00
Brendan Kenny 40033d8148 handle multiple javascript modal prompts (#2120)
* warn when a JS dialog is suppressed
* add a window.confirm to dbw_tester
2017-05-02 13:45:20 -07:00
Paul Irish 07e0aab100 Remove recordNetwork (#2102)
* always record network and save in artifacts
2017-05-01 15:29:02 -07:00
cedricbellet 283af8718b handleJavascriptDialogs (#1939) (#2106) 2017-05-01 15:00:39 -07:00
Patrick Hulce 0549cca79d fix: always use navStart as speedline timeOrigin (#2114) 2017-05-01 12:27:55 -07:00
Patrick Hulce da8e097957 feat: add firstInteractive (#2013) 2017-04-30 16:37:09 -07:00
Ward Peeters 4c34e28fab Fix service worker gatherer by waiting for active state (#1864)
* Wait for active serviceworker

* Fix test cases

* Review fixes

* Review fix
2017-04-25 18:49:34 -07:00
Brendan Kenny 552eb54a3c refactor: move instantiateComputedArtifacts to Runner (#2033)
also removes `requestundefined()` from ComputedArtifact base class
2017-04-20 19:22:04 -07:00
Brendan Kenny 2b7a3607cf browserify axe-core as a string, not a Buffer (#2045) 2017-04-20 17:04:49 -07:00
Brendan Kenny bbe7f3b905 allow computed artifacts to request other computed artifacts (#2018) 2017-04-18 12:07:11 -07:00
Paul Irish 9349c894a6 styles gather errors (gonzales) shouldn't spam stderr 2017-04-15 00:33:12 -07:00
Ward Peeters ba01e2a276 Added audit for request compression (gzip & br) (#1513)
* Added audit for request compression (gzip & br)

* Review fixes ^^

* Review updates

- Moved to wastedBytes approach and wastedTime

* Added unit tests

* Added toLocalString for better number formatting

* Add zlib to do gzip compression

* Rebased and use byte-efficiency audit

* Review changes

* Remove duplicates

* Change waste threshold to 10kb

* Review changes

* Ignore pako inflate from browserify

* Put debug flag back on browserify

* Update nit on web-inspector

* Rebase stuff
2017-04-14 23:30:15 +02:00
Will Chen afa4789921 Add user agent to lighthouse report (#1968) 2017-04-11 15:26:37 -04:00
Will Chen c43eb09829 plots: measure and visualize perf metrics (#1936) 2017-04-07 16:02:19 -07:00
Patrick Hulce 1eea2a3932 feat(tti): Add 2 new TTI candidates. Increase robustness of TTI-vα & EIL wrt screenshots. (#1947)
- Adds two additional TTI candidates that don't rely on visual completeness.
	- First 500ms window after fMP where 90th percentile EIL is <50ms
	- First 5000ms window after fMP where 90th percentile EIL is <50ms (if at the end of trace, uses a minimum window of up to 1000ms)
- Falls back to fMP when speedline fails to find screenshots in trace.
- Adds timing data to trace-of-tab computed artifact.
- Adds these new candidates to the injected usertiming trace events
2017-04-03 13:59:50 -07:00
Patrick Hulce ef52025615 feat(image-usage): add support for CSS images (#1868) 2017-03-30 16:08:35 -07:00
Patrick Hulce 33f1c38839 fix: simpler https audit (#1918)
* fix: simpler https audit
* feedback
* test cleanup
2017-03-28 11:57:11 -07:00
Patrick Hulce 476e7806ef fix: remove afterPass throttling (#1901) 2017-03-27 17:40:36 -07:00
Paul Irish 503496138a Collapse the 9 manifest PWA audits into 3 (#1847)
Introduces 3 new audits:  webapp-install-banner (née _add to homescreen_), themed-omnibox, splash-screen.
These audits subsume and deprecate the following audits: theme-color-meta, manifest-{background-color, display, exists, icons-min-{144,192}, name, start_url, theme-color}.

A new manifestValue computed artifact is introduced and used as helper for the 3 audits.
2017-03-27 17:04:47 -07:00
Brendan Kenny e822cbea89 handle driver.getObjectProperty results with no value property (#1892)
also handle errors thrown in driver.getObjectProperty
2017-03-26 20:22:46 -07:00
Paul Irish ca2600acc5 Improve reliability of finding navStart (#1895)
* Improve reliability of finding navStart

* feedback.
2017-03-23 19:41:15 -07:00
Patrick Hulce 902585b8be feat: add OffscreenImages Audit (#1807)
* refactor: rename ContentWidth to ViewportDimensions
2017-03-23 11:59:09 -07:00
Rob Dodson 2a12d5c4ef Add non-experimental axe tests. (#1768)
* Add non-experimental axe tests.
* More consistent language in descriptions
* Roll a11y tests into buckets
2017-03-22 11:49:15 -07:00
Patrick Hulce 65bec1bddb feat(cli): add support for custom trace categories (#1866) 2017-03-21 19:50:49 -07:00
Patrick Hulce 86875fedad feat(uses-optimized-images): add support for CORS images (#1855) 2017-03-15 12:39:05 +11:00
Addy Osmani ade2d88fc7 Enable CPU throttling (4.5x) (#1778) 2017-03-15 10:10:46 +11:00
Patrick Hulce 773b51683c fix: loosen blocking tags audit (#1804)
* fix: loosen blocking tags audit

* add explanations & undo script removal

* remove generateAuditResult

* lower to 50ms

* update comment
2017-03-14 17:50:44 +11:00
Paul Irish f1d0e62aae Add compat note about /json/new and m59
ref #970
2017-03-14 10:25:02 +11:00
Ward Peeters 91ad83a37c Fixes no rel noopener when properties of anchor element cannot be resolved anymore (#1818)
* Fixes no rel noopener when anchor element is not available anymore. #1802
* Change rellnoopener to getAttribute('href')
2017-03-06 15:58:29 -08:00
Patrick Hulce d89ec9461c fix: deflake TTI audit by extending trace (#1785) 2017-02-27 13:48:11 -08:00