Commit Graph

100 Commits

Author SHA1 Message Date
Peter Hedenskog 50433de063
Handle errors that do not belong to a URL. (#2772) 2019-11-09 21:54:44 +01:00
Peter Hedenskog bd35cb7b7c
Get the timestamp from the summary from the first run #2766. (#2768) 2019-11-08 09:41:53 +01:00
Peter Hedenskog 6b2f38d6ba
Documentation changes for 11.0 (#2756) 2019-11-07 09:45:39 +01:00
thapasya-m 34ee102630 feat:summary box on result page (#2736)
customizable summary box on result index page
handle summary for tool axe separately
fix summary key mismatch
2019-11-01 15:22:37 +01:00
Peter Hedenskog 1f1434963e
Follow the same pattern to handle multiple cli params (#2731)
* Follow the same pattern to handle multiple cli params
2019-10-31 20:18:27 +01:00
thapasya-m 4fdd121912 feat-metric page display change, by new user entered arg (#2711)
cli args to display metric tests require
ISSUES CLOSED: 2001
2019-10-23 14:48:41 +02:00
Peter Hedenskog 368636b24a
Fix logic when choosing HAR #2703 (#2704) 2019-10-17 20:29:39 +02:00
Peter Hedenskog 395e311b52
Add filmstrip URL and data in the HAR (#2696) 2019-10-11 12:38:02 +02:00
Peter Hedenskog fd8909431a
Add link to compare HAR files (#2680)
* Add link to compare HAR files

* fix link on run page

* new structure
2019-10-04 15:28:33 +02:00
Peter Hedenskog 8cdace351d
If we have filmstrip from the Chrome trace log, let us use that (#2661)
* If we have filmstrip from the Chrome trace log, let us use that

* removed debug output
2019-09-26 22:49:06 +02:00
soulgalore 9d3ca3c0a5 lint 2019-03-01 08:20:21 +01:00
Ferdinand Holzer fbdf293b6e Add --html.assetsBaseURL option (#2321)
* Add --html.assetsBaseURL option

The base URL to the server serving the assets of HTML results.
In the format of https://result.sitespeed.io. This can be used
to reduce size in large setups. If set, disables writing of assets.

* Clarify html.assetsBaseURL parameter description
2019-03-01 08:19:01 +01:00
soulgalore a888f8ab6a latest bt 2019-02-19 23:44:50 +01:00
Peter Hedenskog cebad1424d
Make it possible to show the used script(s) in the HTML. (#2298)
* Make it possible to show the used script(s) in the HTML.
2019-02-07 13:51:10 +01:00
Peter Hedenskog c627fc387d
Use alias from Browsertime (if availible) #2296 (#2297)
* Use alias from Browsertime (if availible) #2296

* Use alias in table
2019-02-07 13:45:02 +01:00
soulgalore 035107b4f0 cleanup readdir 2019-01-31 22:08:29 +01:00
Peter Hedenskog 38b743e221
Show the filmstrip #1555 (#2274)
Inspired by [Stefan Burnickis](https://github.com/sburnicki) work on https://github.com/iteratec/wpt-filmstrip
2019-01-31 13:44:50 +01:00
soulgalore 7e6ad35116 pick the right run in the HAR 2019-01-05 23:14:11 +01:00
Peter Hedenskog b62d93194a
Use Browsertime 4.0 (alpha) (#2236)
* Use Browsertime 4.0 (alpha)

With support for testing multiple pages.
2018-12-30 15:57:55 +01:00
Peter Hedenskog 7cc5562204
Remove Bluebird promises and use await/sync where we can. (#2205) 2018-11-20 09:14:05 +01:00
Peter Hedenskog 7747476a0a
add markdown support in the pug (#2161) 2018-10-03 12:56:57 +02:00
Peter Hedenskog 7d812d2e0d
Copy assets before generating individual HTML pages, it is more fail safe (#2081) 2018-06-19 11:04:27 +02:00
Peter Hedenskog 833e6796a7
remove compare link and let that land in a later release (#2077) 2018-06-12 13:53:30 +02:00
Peter Hedenskog 3d052509f2
Add compare button if you configured resultBaseURL (#2073) 2018-06-05 16:24:22 +02:00
soulgalore 03f077ef57 bugfix: more fixes for waterfalls, start at 0 2018-05-13 13:18:59 +02:00
Peter Hedenskog 88f6fa2f80
first step to rephrase runindex and ise iteration instead (#2006) 2018-04-29 16:17:55 +02:00
Peter Hedenskog 61609d3fe1
name first run number 1 instead of 0 (#1993) 2018-04-23 21:38:59 +02:00
Peter Hedenskog 36e78875a7
Make it easier to understand what each tab do (#1985)
* Make it easier to understand what each tab do
2018-04-20 08:30:23 +02:00
Tobias Lidskog 1e57e27ebe Bump dev dependencies and reformat.
Prettier formatting has changed slightly, so reformat accordingly.
2018-03-15 23:20:40 +01:00
Peter Hedenskog f83796762d
Remove merge when creating HTML summary/page and run pages #1901 (#1910)
* remove merge when creating HTML summary pages #1901

* Remove merge when creating HTML summary pages/page and run page #1901

* fixes

* make sure plugins is parsed against the same data

* fixed runs
2018-02-08 13:53:35 +01:00
Peter Hedenskog 4ee8a514ba
Merge once instead of twice #1901 (#1909)
* Merge once instead of twice #1901

* move helpers to init
2018-02-08 11:00:01 +01:00
Peter Hedenskog abd5abacc0
debug log HTML creation (#1908) 2018-02-08 10:05:58 +01:00
Peter Hedenskog 184af2aa8c
Use sharp to change screenshot size or convert to JPG (#1838) 2017-12-05 19:48:32 +01:00
Tobias Lidskog ac02f7549c Bump to latest prettier and reformat. (#1805) 2017-11-19 08:47:36 +01:00
Tobias Lidskog 56bfc48bac Simplify storagemanager (#1799)
* Remove unused gzip parameter for writing html.

* Simplify storagemanager.

* Simplify how promises are handled, and directories created.
* Move out gzip handling to the plugins that use it, so storagemanager just writes strings and buffers unmodified.
* Make argument order consistent for write methods.
2017-11-18 21:52:53 +01:00
Tobias Lidskog d621049827 Plugin tab polish (#1794)
* Avoid crash for plugin has nothing to render.

Plugins that register a pug file, but has nothing to render (e.g. when WPT timed out for all urls), would still have their pugs rendered. This would break the assumption there was data to render, leading to a crash.

Unhandled rejection TypeError: Cannot read property 'run' of undefined on line 13

Filtering out the plugin pugs where there’s data from messages fixes this crash.

* Allow eslinting on js-files in html templates.

* Simplify css/js/pug for tab rendering.

* Split inline js into separate .js file (to allow linting and syntax highlighting in editor).
* Update js/css to show all tabs by default, and then hide them on page load via javascript. That way all content is visible if js fails to load, instead of all content being hidden.

* Don’t scroll page when switching result tab.

* Rename pagexray image for consistency.

* More granular checks for missing plugin data.

* Reflect tab switches in url fragment.
2017-11-15 20:03:00 +01:00
Peter Hedenskog aafbff2813
generic way for plugins to override css (#1787) 2017-11-09 12:25:42 +01:00
Peter Hedenskog 2ae94525db
Let plugins register pugs = generate HTML (#1784)
* Let plugins register pugs = generate HTML

There are three types (two implemented here):
* pug for the page summary page
* pug for the run pages
* pug for a summary page

This commit moves out the pugs for WebPageTest and GPSI so we
have them as example plugins.

There are still some love needed for the CSS.

* fix generic css

* lint

* js fix for right tabs and adding name to each tab

* plugins doc
2017-11-09 05:54:37 +01:00
Peter Hedenskog ba1d40d9e9
Datacollector break free (#1767) 2017-10-29 19:57:00 +01:00
Tobias Lidskog ec8f27a02d Remove unused require statements. (#1765) 2017-10-29 15:17:43 +01:00
Peter Hedenskog cadea2b305 Let every plugin collect the data it needs. (#1731)
Don't use global state to collect data for plugins.
2017-10-10 09:06:06 +02:00
Tobias Lidskog bdc0947861 Less noisy logging. 2017-09-22 18:34:03 +02:00
soulgalore 99bb31dc85 Remove errors when you run without Browsertim #1700 2017-08-31 22:24:40 +02:00
Tobias Lidskog 3debfec0b4 Format code using the Prettier formatter. (#1677) 2017-07-20 21:24:12 +02:00
soulgalore 31e4d81fd7 Show browser version on run pages closes #1628 2017-05-24 10:18:43 +02:00
Peter Hedenskog 876830bcc6 Add metrics from the run in the HTML description #1554 2017-03-31 05:38:56 +02:00
soulgalore 34c5e444ca use start timestamp as backup if you don't have browsertime run time 2017-03-30 00:46:32 +02:00
soulgalore 6a38ab9b15 use timestamps from the runs and the first run in the summary 2017-03-29 23:43:17 +02:00
Peter Hedenskog de3099653b Choose medianRun HAR from SpeedIndex or RUMSpeedIndex #1505 (#1547) 2017-03-24 13:26:05 +01:00
Peter Hedenskog 1e528f65fd set sitespeedio as root name of all loggers (#1545) 2017-03-23 12:21:11 +01:00