Blog and updated docs for 7.5 (coming soon) (#2176)
This commit is contained in:
parent
d61c009965
commit
1be38d4e7f
15
CHANGELOG.md
15
CHANGELOG.md
|
|
@ -3,7 +3,7 @@
|
|||
## UNRELEASED
|
||||
### Added
|
||||
* Upgraded to Browsertime 3.5.0 with the following additions:
|
||||
* We support timings for visual elements (by adding ```--visuaElements```). Browsertime picks up the largest image and the largest H1. You can also configure your own elements ```--scriptInput.visualElements```. First let give creds to the ones that deserves it: As far as we know [Sergey Chernyshev](https://twitter.com/sergeyche) was the first one that introduced the idea of measuring individual elements in his talk [Using Heat Maps to improve Web Performance Metrics](https://www.youtube.com/watch?v=t6l9U5bC8jA). A couple of years later this was implemented by the [Joseph Wynn](https://twitter.com/joseph_wynn) of SpeedCurve, that later on contributed back the implementation to WebPageTest (calling it "hero"-elements). [Patrick Meenan](https://twitter.com/patmeenan) (the creator of WebPageTest) moved on the implementation to [Visual Metrics](https://github.com/WPO-Foundation/visualmetrics) that Browsertime uses to pickup visual metrics from the video. We removed the [hero naming]() and now it's ready to use.
|
||||
* We support timings for visual elements (by adding ```--visuaElements```). Browsertime picks up the largest image and the largest H1. You can also configure your own elements ```--scriptInput.visualElements```. First let give credit to the ones that deserves it: As far as we know [Sergey Chernyshev](https://twitter.com/sergeyche) was the first one that introduced the idea of measuring individual elements in his talk [Using Heat Maps to improve Web Performance Metrics](https://www.youtube.com/watch?v=t6l9U5bC8jA). A couple of years later this was implemented by the [Joseph Wynn](https://twitter.com/joseph_wynn) of SpeedCurve, that later on contributed back the implementation to WebPageTest (calling it "hero"-elements). [Patrick Meenan](https://twitter.com/patmeenan) (the creator of WebPageTest) moved on the implementation to [Visual Metrics](https://github.com/WPO-Foundation/visualmetrics) that Browsertime uses to pickup visual metrics from the video. We removed the [hero naming]() and now it's ready to use.
|
||||
|
||||
* We also added a new feature: If you run your own custom script you can now feed it with different input by using ```--browsertime.scriptInput.*```. Say you have a script named myScript you can pass on data to it with ```--browsertime.scriptInput.myScript 'super-secret-string' ```. More about this in the documentation the coming weeks.
|
||||
|
||||
|
|
@ -15,15 +15,15 @@
|
|||
|
||||
* You can use ```--injectJs``` to inject JavaScript into the current page (only Firefox at the moment) at document_start. More info: https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/contentScripts
|
||||
|
||||
* Browsertime collects the Firefox only metric *timeToDomContentFlushed*. It is also pushed to Graphite/InfluxDB by deafult. There are rumours saying that this metric will be betterthat time to non blank for some web sites.
|
||||
* Browsertime collects the Firefox only metric *timeToDomContentFlushed*. It is also pushed to Graphite/InfluxDB by default. There are rumours saying that this metric will be betterthat time to non blank for some web sites.
|
||||
|
||||
* All metrics in the Paint Timing API (First Paint and First Contentful Paint in Chrome) are also pushed to Graphite/InfluxDB by deafult.
|
||||
* All metrics in the Paint Timing API (First Paint and First Contentful Paint in Chrome) are also pushed to Graphite/InfluxDB by default.
|
||||
|
||||
* All metrics are also reported with stddev (not only median stdev).
|
||||
|
||||
* There's a standalone Lighthouse pluging that can be used from 7.5: https://github.com/sitespeedio/plugin-lighthouse
|
||||
* There's a standalone [Lighthouse](https://github.com/GoogleChrome/lighthouse) plugin that can be used from 7.5: https://github.com/sitespeedio/plugin-lighthouse
|
||||
And we made it easy to use Lighthouse and the GPSI plugin by releasing the +1 Docker container [#2175](https://github.com/sitespeedio/sitespeed.io/pull/2175). You can run it with
|
||||
```docker run --shm-size=1g --rm -v "$(pwd)":/sitespeed.io sitespeedio/sitespeed.io:7.5.0-plus1 https://www.sitespeed.io/``` and you will also automatically run Lighthouse and GPSI. We will automatically release a new version of the container per release by adding *-plus1* to the tag. If you use Graphite/InfluxDb the score from Lighthouse and GPSI will be automatically stored. If you want to add functionallity pleae send PRs to https://github.com/sitespeedio/plugin-lighthouse and https://github.com/sitespeedio/plugin-gpsi.
|
||||
```docker run --shm-size=1g --rm -v "$(pwd)":/sitespeed.io sitespeedio/sitespeed.io:7.5.0-plus1 https://www.sitespeed.io/``` and you will also automatically run Lighthouse and GPSI. We will automatically release a new version of the container per release by adding *-plus1* to the tag. If you use Graphite/InfluxDb the score from Lighthouse and GPSI will be automatically stored. If you want to add functionality pleae send PRs to https://github.com/sitespeedio/plugin-lighthouse and https://github.com/sitespeedio/plugin-gpsi.
|
||||
|
||||
* We added support for Grafana annotations (instead of using Graphite/InfluxDB annotations). In Grafana 5.3.0-beta2 (and later) the annotations has template support. Use Grafana annotations by configure ```--grafana.host``` and ```--grafana.port```.
|
||||
|
||||
|
|
@ -40,12 +40,15 @@ And we made it easy to use Lighthouse and the GPSI plugin by releasing the +1 Do
|
|||
|
||||
* We updated to PageXray 2.4.0 that correctly pick up mime types for video/audio/xml and pdf (that was missed before).
|
||||
|
||||
* Updated to [Coach 2.3.0](https://github.com/sitespeedio/coach/blob/master/CHANGELOG.md) that fixes so that the CSS advice never can be a negative score.
|
||||
|
||||
* Fixed the bug that made us show wrong video/screenshot on page summary[#2169](https://github.com/sitespeedio/sitespeed.io/pull/2169). Before we always showed the first screenshot/video. Now we show the median pick (so it correlates to the right waterfall and metrics tab).
|
||||
|
||||
* There's been multiple problems with navigations with hash route see for example [#2091](https://github.com/sitespeedio/sitespeed.io/issues/2091). We fixed so we don't get that error + Chrome 69 changed the internal trace log so it (at least on our side) seems to work better. Please report back if you still see issues.
|
||||
* There have been multiple problems with navigations with hash route see for example [#2091](https://github.com/sitespeedio/sitespeed.io/issues/2091). We fixed so we don't get that error + Chrome 69 changed the internal trace log so it (at least on our side) seems to work better. Please report back if you still see issues.
|
||||
|
||||
### Tech
|
||||
* You can now use markdown in the pug templates - ```!{markdown.toHTML(value)}```
|
||||
|
||||
## 7.4.0 - 2018-09-14
|
||||
|
||||
### Added
|
||||
|
|
|
|||
|
|
@ -0,0 +1,134 @@
|
|||
---
|
||||
layout: default
|
||||
title: sitespeed.io 7.5
|
||||
description: Let us celebrate that it is six years since we released 1.0 of sitespeed.io!
|
||||
authorimage: /img/aboutus/peter.jpg
|
||||
intro: Let us celebrate that it is six years since we released 1.0 of sitespeed.io! Today we are releasing 7.5 (release number 200) with a couple of really cool features.
|
||||
keywords: sitespeed.io, sitespeed, 7.5
|
||||
nav: blog
|
||||
---
|
||||
|
||||
# sitespeed.io version 7.5
|
||||
Today (the 10th of October) is six years ago we [released sitespeed.io 1.0](https://github.com/sitespeedio/sitespeed.io/blob/master/CHANGELOG.md#version-10---2012-10-10). A lot have changed (for the better) over the years and today we are doing release number 200!
|
||||
|
||||
## New in 7.5
|
||||
We have been collecting a couple of features and fixes over the last months that's finally being released.
|
||||
|
||||
- [Screenshots in Grafana annotations](#screenshots-in-grafana-annotations)
|
||||
- [Annotations in Grafana (instead of Graphite/InfluxDB)](#annotations-in-grafana-instead-of-graphiteinfluxdb)
|
||||
- [Lighthouse support](#lighthouse-support)
|
||||
- [Collect timing metrics from visual elements](#collect-timing-metrics-from-visual-elements)
|
||||
- [Feed your own script with data](#feed-your-own-script-with-data)
|
||||
- [Direct links to the summary page](#direct-links-to-the-summary-page)
|
||||
- [Inject JavaScript in your page as early as possible (in Firefox)](#inject-javascript-in-your-page-as-early-as-possible-in-firefox)
|
||||
- [More metrics](#more-metrics)
|
||||
- [Give your URL alias from the command line](#give-your-url-alias-from-the-command-line)
|
||||
- [Using hash in the URL is now ok](#using-hash-in-the-url-is-now-ok)
|
||||
- [Updated dashboards](#updated-dashboards)
|
||||
- [Bug fixes](#bug-fixes)
|
||||
|
||||
|
||||
### Screenshots in Grafana annotations
|
||||
|
||||
You can include a screenshot from the run in the annotation by adding <code>--graphite.annotationScreenshot</code> to your configuration.
|
||||
|
||||

|
||||
{: .img-thumbnail-center}
|
||||
|
||||
This bridges the gap between what you test and graph and actually seeing that page. It's super helpful in some cases to really fast understand a change.
|
||||
|
||||
### Annotations in Grafana (instead of Graphite/InfluxDB)
|
||||
Instead of using Graphite annotations you can use Grafana built in annotations since sitespeed.io 7.5 and Grafana 5.3.0.
|
||||
|
||||
To use Grafana annotations, make sure you setup a *resultBaseURL* and add the host and port to Grafana: <code>--grafana.host</code> and <code>--grafana.port</code>.
|
||||
|
||||
Everything will continue to work as before with this release and you can yourself choose to use the Grafana annotations. This is good since the annotations in Grafana will be independent of storage backend (you can use the annotations independently how you store your metrics) and in the future you can use Grafana built in functionality to remove old annotations.
|
||||
|
||||
|
||||
### Lighthouse support
|
||||
We've been missing an plugin for [Lighthouse](https://github.com/GoogleChrome/lighthouse) for a long time. But now it's time (thank you [Lorenzo Urbini](https://github.com/siteriaitaliana) for sharing your version a long time ago).
|
||||
|
||||
You can find the plugin at [https://github.com/sitespeedio/plugin-lighthouse](https://github.com/sitespeedio/plugin-lighthouse) and it will work with sitespeed.io 7.5 and later.
|
||||
|
||||
We also made it easy to use Lighthouse and the Google PageSpeed Insights plugin by releasing the +1 Docker container [#2175](https://github.com/sitespeedio/sitespeed.io/pull/2175)!
|
||||
|
||||
You can run it with:
|
||||
|
||||
```bash
|
||||
docker run --shm-size=1g --rm -v "$(pwd)":/sitespeed.io sitespeedio/sitespeed.io:7.5.0-plus1 https://www.sitespeed.io/
|
||||
```
|
||||
|
||||
And you will also automatically run Lighthouse and GPSI. We will release a new version of the container per release by adding *-plus1* to the tag. If you use Graphite/InfluxDb the score from Lighthouse and GPSI will be automatically stored.
|
||||
|
||||
This is a really simple implementatiom and if you miss any functionality please send PRs to [https://github.com/sitespeedio/plugin-lighthouse](https://github.com/sitespeedio/plugin-lighthouse) and [https://github.com/sitespeedio/plugin-gpsi](https://github.com/sitespeedio/plugin-gpsi).
|
||||
|
||||

|
||||
{: .img-thumbnail-center}
|
||||
|
||||
### Collect timing metrics from visual elements
|
||||
We have upgraded Browsertime to the latest version and one of the new features are timings from visual elements. Try it by adding ```--visuaElements```. Browsertime picks up the largest image and the largest H1. You can also configure your own elements ```--scriptInput.visualElements```.
|
||||
|
||||
First let give credit to the ones that deserves it: As far as we know [Sergey Chernyshev](https://twitter.com/sergeyche) was the first one that introduced the idea of measuring individual elements in his talk [Using Heat Maps to improve Web Performance Metrics](https://www.youtube.com/watch?v=t6l9U5bC8jA). A couple of years later this was implemented by the [Joseph Wynn](https://twitter.com/joseph_wynn) of SpeedCurve, that later on contributed back the implementation to WebPageTest (calling it "hero"-elements). [Patrick Meenan](https://twitter.com/patmeenan) (the creator of WebPageTest) moved on the implementation to [Visual Metrics](https://github.com/WPO-Foundation/visualmetrics) that Browsertime uses to pickup visual metrics from the video. We removed the [hero naming]({{site.baseurl}}/img/why-hero-is-a-bad-name.jpg) and now it's ready to try out. There can still be bugs so please send issues/PRs our way if you see something strange.
|
||||
|
||||
You can choose to collect when visual elements are visible (and on their final position) on the screen. Turn on with <code>--visualElement</code> and collect Visual Metrics from elements. Works only with <code>--visualMetrics</code> turned on (default in Docker). By default you will get visual metrics from the largest image within the view port and the largest H1.
|
||||
|
||||
You can also configure to pickup your own defined elements with <code>--scriptInput.visualElements</code>. Give the element a name
|
||||
and select it with <code>document.body.querySelector</code>. Use it like this: <code>--scriptInput.visualElements name:domSelector</code> . Add multiple instances to measure multiple elements. Visual Metrics will use these elements and calculate when they are visible and fully rendered. These metrics will also be included in HAR file so you can look at the waterfall and see when elements are visual within the viewport.
|
||||
|
||||

|
||||
{: .img-thumbnail-center}
|
||||
|
||||
### Feed your own script with data
|
||||
We also added a new feature: If you run your own custom script you can now feed it with different input by using ```--browsertime.scriptInput.*```. Say you have a script named myScript you can pass on data to it with ```--browsertime.scriptInput.myScript 'super-secret-string' ```. More about this in the documentation the coming weeks.
|
||||
|
||||
### Direct links to the summary page
|
||||
|
||||
When linking to a sitespeed.io result we include index.html in the URL, so that you can use storages that doesn't automagically redirect from / to /index.html (a.k.a Digital Ocean storage).
|
||||
|
||||
### Inject JavaScript in your page as early as possible (in Firefox)
|
||||
|
||||
You can use ```--injectJs``` to inject JavaScript into the current page (only Firefox at the moment) at document_start. More info: [https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/contentScripts](https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/contentScripts).
|
||||
|
||||
### More metrics
|
||||
Browsertime collects the Firefox only metric *timeToDomContentFlushed*. It is also pushed to Graphite/InfluxDB by default. There are rumours saying that this metric will be better than time to non blank for some web sites.
|
||||
|
||||
All metrics in the Paint Timing API (First Paint and First Contentful Paint in Chrome) are also pushed to Graphite/InfluxDB by default.
|
||||
|
||||
All metrics are also reported with stddev (not only median stdev). This is good when you want to keep track of how stable metrics you have.
|
||||
|
||||
### Give your URL alias from the command line
|
||||
|
||||
You can give alias for URLs in the CLI with ```--urlAlias```. The number of alias needs to match the number of URLs. If you add the cli parameter, it will override alias that you can give to an URL within a file [#2133](https://github.com/sitespeedio/sitespeed.io/pull/2133)
|
||||
|
||||
### Using hash in the URL is now ok
|
||||
We have been old and conservative in how we use # when creating URLs: From the beginning (6+ years ago) we always left out # from URLs when we decided if a URL is unique or not. Now you can choose yourself with ```--useHash``` [#2142](https://github.com/sitespeedio/sitespeed.io/pull/2142).
|
||||
|
||||
### Updated dashboards
|
||||
There's a new version of the [page summary](https://github.com/sitespeedio/grafana-bootstrap-docker/blob/master/dashboards/graphite/PageSummary.json) and [page timing](https://github.com/sitespeedio/grafana-bootstrap-docker/blob/master/dashboards/graphite/PageTimingMetrics.json) dashboards for Graphite, trying to make it easier to find regressions: [https://github.com/sitespeedio/grafana-bootstrap-docker](https://github.com/sitespeedio/grafana-bootstrap-docker)
|
||||
|
||||

|
||||
{: .img-thumbnail-center}
|
||||
|
||||
## Bug fixes
|
||||
|
||||
* Upgraded to Browsertime 3.7.0 that changed how Basic Auth is handled: We send a basic auth request header instead of using the build in Web Extension [#2151](https://github.com/sitespeedio/sitespeed.io/issues/2151).
|
||||
|
||||
* Chrome in some case(s) generates a HAR with broken timings that caused sitespeed.io to log error and not being able to collect timings per domain [#2159](https://github.com/sitespeedio/sitespeed.io/issues/2159). Fixed by [#2160](https://github.com/sitespeedio/sitespeed.io/pull/2160).
|
||||
|
||||
* We updated to PageXray 2.4.0 that correctly pick up mime types for video/audio/xml and pdf (that was missed before).
|
||||
|
||||
* Updated to [Coach 2.3.0](https://github.com/sitespeedio/coach/blob/master/CHANGELOG.md) that fixes so that the CSS advice never can be a negative score.
|
||||
|
||||
* Fixed the bug that made us show wrong video/screenshot on page summary[#2169](https://github.com/sitespeedio/sitespeed.io/pull/2169). Before we always showed the first screenshot/video. Now we show the median pick (so it correlates to the right waterfall and metrics tab).
|
||||
|
||||
* There have been multiple problems with navigations with hash route see for example [#2091](https://github.com/sitespeedio/sitespeed.io/issues/2091). We fixed so we don't get that error + Chrome 69 changed the internal trace log so it (at least on our side) seems to work better. Please report back if you still see issues.
|
||||
|
||||
|
||||
### Tech
|
||||
* You can now use markdown in the pug templates - ```!{markdown.toHTML(value)}```
|
||||
|
||||
|
||||
## Summary
|
||||
Checkout the full [Changelog](https://github.com/sitespeedio/sitespeed.io/blob/master/CHANGELOG.md) for all the changes.
|
||||
|
||||
/Peter
|
||||
|
|
@ -69,6 +69,15 @@ And run it:
|
|||
docker run --shm-size=1g --rm -v "$(pwd)":/sitespeed.io sitespeedio/sitespeed.io:{% include version/sitespeed.io.txt %} urls.txt
|
||||
~~~
|
||||
|
||||
You can also add alias directly from the command line. Make yore that you pass on the same amount of alias and URLs.
|
||||
|
||||
~~~bash
|
||||
docker run --shm-size=1g --rm -v "$(pwd)":/sitespeed.io sitespeedio/sitespeed.io:{% include version/sitespeed.io.txt %} --urlAlias doc https://www.sitespeed.io/documumentation/
|
||||
~~~
|
||||
|
||||
Pass on multiple --urlAlias for multiple alias/URLs.
|
||||
|
||||
|
||||
### Analyse by crawling
|
||||
|
||||
If you want to find pages that are not so performant it's a good idea to crawl. Sitespeed.io will start with the URL and fetch all links on that page and continue to dig deeper into the site structure. You can choose how deep to crawl (1=only one page, 2=include links from first page, etc.):
|
||||
|
|
|
|||
|
|
@ -103,8 +103,17 @@ Append a message to the annotation with <code>--graphite.annotationMessage</code
|
|||
You can add extra tags with <code>--graphite.annotationTag</code>. For multiple tags, add the parameter multiple times. Just make sure that the tags doesn't collide with our internal tags.
|
||||
|
||||

|
||||
{: .img-thumbnail}
|
||||
{: .img-thumbnail-center}
|
||||
|
||||
You can also include a screenshot from the run in the annotation by adding <code>--graphite.annotationScreenshot</code> to your configuration.
|
||||
|
||||

|
||||
{: .img-thumbnail-center}
|
||||
|
||||
### Use Grafana annotations
|
||||
Instead of using Graphite annotations you can use Grafana built in annotations since sitespeed.io 7.5 and Grafana 5.3.0.
|
||||
|
||||
To use Grafana annotations, make sure you setup a *resultBaseURL* and add the host and port to Grafana: <code>--grafana.host</code> and <code>--grafana.port</code>.
|
||||
|
||||
## Warning: Crawling and Graphite
|
||||
If you crawl a site that is not static, you will pick up new pages each run or each day, which will make the Graphite database grow daily. When you add metrics to Graphite, it prepares space for those metrics ahead of time, depending on your storage configuration (in Graphite). If you configured Graphite to store individual metrics every 15 minutes for 60 days, Graphite will allocate storage for that URL: 4 (per hour) * 24 (hours per day) * 60 (days), even though you might only test that URL once.
|
||||
|
|
|
|||
|
|
@ -35,6 +35,7 @@ Sitespeed.io is the complete toolbox to test the web performance of your web sit
|
|||
* [Upgrade](upgrade/) - upgrading from 5.x to 6.0 check out our guide here.
|
||||
* [Mobile phones](mobile-phones/) - test using your mobile phone (Android only).
|
||||
* [WebPageTest](webpagetest/) - drive WebPageTest and fetch metrics and graph them.
|
||||
* [Lighthouse](lighthouse/) - run Lighthouse and Google PageSpeed Insights from sitespeed.io.
|
||||
* [WebPageReplay](webpagereplay/) - WebPageReplay is proxy that first records your web site and then replay it locally. That can help you find performance regression in the front-end code easier: Latency/server timings are constant.
|
||||
* [Developers](developers/) - start here when you want to do PRs or create a plugin.
|
||||
* [How to Write a Good Bug Report](bug-report/) - if you write a good bug report, we can spend more time helping you fixing the problem instead of asking you questions.
|
||||
|
|
|
|||
|
|
@ -0,0 +1,27 @@
|
|||
---
|
||||
layout: default
|
||||
title: Run Lighthouse and Google PageSpeed Insights from sitespeed.io
|
||||
description: Since 7.5 you can also run Lighthouse from sitespeed.io
|
||||
keywords: lighthouse, sitespeed.io
|
||||
nav: documentation
|
||||
category: sitespeed.io
|
||||
image: https://www.sitespeed.io/img/sitespeed-2.0-twitter.png
|
||||
twitterdescription: Run Lighthouse and Google PageSpeed Insights from sitespeed.io.
|
||||
---
|
||||
[Documentation](/documentation/sitespeed.io/) / Lighthouse
|
||||
|
||||
# Lighthouse
|
||||
|
||||
We've been missing an plugin for [Lighthouse](https://github.com/GoogleChrome/lighthouse) for a long time. But now it's time (thank you [Lorenzo Urbini](https://github.com/siteriaitaliana) for sharing your version a long time ago).
|
||||
|
||||
You can find the plugin at [https://github.com/sitespeedio/plugin-lighthouse](https://github.com/sitespeedio/plugin-lighthouse) and it will work with sitespeed.io 7.5 and later.
|
||||
|
||||
We also made it easy to use Lighthouse and the Google PageSpeed Insights plugin by releasing the +1 Docker container [#2175](https://github.com/sitespeedio/sitespeed.io/pull/2175)!
|
||||
|
||||
You can run it with:
|
||||
|
||||
```bash
|
||||
docker run --shm-size=1g --rm -v "$(pwd)":/sitespeed.io sitespeedio/sitespeed.io:{% include version/sitespeed.io.txt %}-plus1 https://www.sitespeed.io/
|
||||
```
|
||||
|
||||
And you will also automatically run Lighthouse and GPSI. We will automatically release a new version of the container per release by adding *-plus1* to the tag. If you use Graphite/InfluxDb the score from Lighthouse and GPSI will be automatically stored. If you want to add functionality please send PRs to [https://github.com/sitespeedio/plugin-lighthouse](https://github.com/sitespeedio/plugin-lighthouse) and [https://github.com/sitespeedio/plugin-gpsi](https://github.com/sitespeedio/plugin-gpsi).
|
||||
|
|
@ -60,6 +60,16 @@ If you want to change the quality (compression level 0-100) of the images you do
|
|||
### XVFB
|
||||
If you run the Docker container we will automatically setup XVFB as a virtual frame buffer. If you run without Docker but still want to use XVFB, you add <code>--xvfb</code> and sitespeed.io will then start XVFB automatically, you only need to make sure it is installed.
|
||||
|
||||
### Collect visual elements metrics
|
||||
You can choose to collect when visual elements are visible (and on their final position) on the screen. Turn on with <code>--visualElement</code> and collect Visual Metrics from elements. Works only with <code>--visualMetrics</code> turned on (default in Docker). By default you will get visual metrics from the largest image within the view port and the largest H1.
|
||||
|
||||
You can also configure to pickup your own defined elements with <code>--scriptInput.visualElements</code>. Give the element a name
|
||||
and select it with <code>document.body.querySelector</code>. Use it like this: <code>--scriptInput.visualElements name:domSelector</code> . Add multiple instances to measure multiple elements. Visual Metrics will use these elements and calculate when they are visible and fully rendered. These metrics will also be included in HAR file so you can look at the waterfall and see when elements are visual within the viewport.
|
||||
|
||||
|
||||

|
||||
{: .img-thumbnail-center}
|
||||
|
||||
## Compare two video runs (combine two videos)
|
||||
One of the things we love with [WebPageTest](https://www.webpagetest.org/) is the video where you can compare two different runs. Since sitespeed.io is serverless, it is nothing you can do on the fly. Instead we created a simple tool you can use. Only thing you need is Docker!
|
||||
|
||||
|
|
|
|||
Binary file not shown.
|
After Width: | Height: | Size: 79 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 39 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 126 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 29 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 104 KiB |
Loading…
Reference in New Issue