Commit Graph

61 Commits

Author SHA1 Message Date
Peter Hedenskog 631271126f
New plugins structure and esmodule (#3769)
* New plugins structure and esmodule
2023-02-25 11:16:58 +01:00
Peter Hedenskog 6a926d79ec
Fix more alias bugs (#3223) 2020-12-22 13:34:38 +01:00
Peter Hedenskog a17a3b3904
Handle alias correctly (#3222) 2020-12-22 12:51:33 +01:00
Peter Hedenskog 6000536aa2
Remove passing result urls (#3175) 2020-11-02 11:05:20 +01:00
Peter Hedenskog 9c3afa5fdb
Remove HTML/Slack data on remove.url (#3174) 2020-11-01 17:19:00 +01:00
Peter Hedenskog 99190352de
Add prepareToRender message that fixes the timing of the budget message. (#3172)
One long term "bug/feature" has been that the budget message was passed late
(in the render phase). By adding a phase "prepareToRender", we can pass on
te budget message in that phase and the HTML plugin can use that message instead
of the old "context" hack. This also opens up for some really cool features
coming soon :)
2020-11-01 14:01:02 +01:00
Peter Hedenskog de4e06b619
Only set visual metrics for pages when you haven't configured columns #3111. (#3112)
There's a bug that we always add Visual Metrics whatever you as a use has
configured.
2020-07-31 20:55:35 +02:00
Peter Hedenskog 0fd6d9edbb
Get CrUx data for a URL (or more) and origin. (#3061)
* Get CrUx data for a URL (or more) and origin.

Use the CrUx API to get Crux Data

* Correct cli
2020-06-30 09:09:47 +02:00
Peter Hedenskog 3b9b7fa2cf
Sync metrics name and make sure we show them on all places. (#3004)
* Sync metrics name and make sure we show them on all places.

* lint
2020-05-19 12:20:54 +02:00
Peter Hedenskog 5c9b8cbf76
Unify stat collection and collect per summary for sustainable. (#2890) 2020-02-24 15:51:39 +01:00
Peter Hedenskog 792b598e5a
new browsertime with ttb and maxPotentialFid (#2783)
* new browsertime with ttb and maxPotentialFid

* lint

* show cpu info per run
2019-11-14 10:14:30 +01:00
Peter Hedenskog 50433de063
Handle errors that do not belong to a URL. (#2772) 2019-11-09 21:54:44 +01:00
soulgalore db729de512 cleanup list 2019-11-04 14:19:11 +01:00
Peter Hedenskog 164f7e6abb
Use friendly names for configuring summary boxes (#2747) 2019-11-04 14:16:35 +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
thapasya-m c4d70d190e fix(pkg.json, html parser): restrict user given param (#2716) 2019-10-24 14:41:16 +02: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 5093b6c6c4
Add axe violations to summary and detailed summary (#2622) 2019-09-05 21:57:41 +02:00
Peter Hedenskog 4a0d47dcfb
Use the third party web to categorise requests (#2394)
* Use the third party web to categorise requests
2019-03-26 23:37:25 +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
Peter Hedenskog 289a9c1b7b
Bt alias (#2247)
* Pickup alias from Browsertime.

Only Graphite/InfluxDb use it in this release, but we should fix so
the HTML also pick is up.

Also we should change the old alias so that it's passed around
with messages instead ... but that can happen later.

* Link to Grafana setup
2019-01-11 22:08:19 +01:00
Peter Hedenskog 049d1ebc63 Use total group for detailed and summary page #2134 2018-08-09 13:07:58 +02:00
Peter Hedenskog b2cedab993
Show console messages in the HTML and send errors to Graphite #2029 (#2030)
And some refactoring.
2018-05-12 00:31:56 +02:00
Peter Hedenskog 184af2aa8c
Use sharp to change screenshot size or convert to JPG (#1838) 2017-12-05 19:48:32 +01:00
Peter Hedenskog b226233876
Register data for pug (#1810)
* register data for pug

* doc how we handles ids
2017-11-23 14:07:05 +01:00
Peter Hedenskog 9847224d19 Move gpsi (#1803) 2017-11-18 23:44:33 +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
Peter Hedenskog e81be5d689
Feed plugins with messageMaker (#1760) 2017-10-29 09:22:27 +01:00
Peter Hedenskog 9d18533579
Remove hooks and use messages instead (#1758)
* remove hooks and use messages instead
* remove hooks

* fix the ifs

* send
2017-10-29 08:24:18 +01:00
soulgalore bb03983def also pickup HAR for the summary page 2017-10-16 02:54:36 +02: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 720d3b93c2 Set plugin name by default when loading it 2017-03-13 17:40:29 +01:00
Peter Hedenskog 0990cc90e5 Move cli defaults to plugins (#1238) 2016-10-11 00:01:05 +02:00
soulgalore 30dc3fcee8 Merge and restructure @moos --summary option(s) to get text summary to stdout
Changed the structure so we now have a dataCollector plugin that collects the
default data and is shared through the context. Tried to make the HTML plugin
only handle HTML. And some restructuring. Lets go through the naming before
the final release.
2016-09-26 07:58:51 +02:00
Moos 057bf3007d Added --summary option(s) to get text summary to stdout 2016-09-26 07:56:25 +02:00
Peter Hedenskog 233efda4e0 Create a toplist/hotlist tab (#1183)
* Collect the largest assets by type.
* Moved display shortURL to front end code 
* Collect cookie stats
* Collect slowest responses
* Styling quick links
* Styling coach score (now when we can)
2016-09-14 21:39:16 +02:00
soulgalore 3c05021d8b show the date the test was performed on each HTML page 2016-07-27 15:43:10 +02:00
soulgalore a40356980d pickup right gpsi data (only for summary page for now) 2016-07-27 15:07:43 +02:00
Peter Hedenskog 27c1e7eea3 Detailed summary page #899 (#1016)
Lets have a detailed summary page.
2016-06-24 21:10:26 +02:00
Peter Hedenskog 42450ec5dd Collect screenshots from Browsertime
Chrome is easy, Firefox needs to crop the image to the current viewport.
There's also changes to the layout, to make the image fit in better (and
we can do this much better).

See this as a first move for #952 and let us improve.
2016-06-22 09:44:27 +02:00
Tobias Lidskog c5379dbf6e Show other results even if one plugin has error. (#950)
- always show results from plugins that succeed
- provide some context to the error by including the plugin name
- style errors with beautiful pink background

Test by running:
bin/sitespeed.js http://www.expressen.se -n1 -b chrome --webpagetest.key foo
2016-05-24 08:15:51 +02:00
soulgalore c459adc420 show browsertime summary metrics on summary page 2016-05-13 11:41:13 +02:00
soulgalore ed8ae9fdc8 rename browsertime.page to browsertime.pageSummary to follow the standard 2016-05-13 10:31:03 +02:00
Tobias Lidskog 072e4bcde0 Add pageSummary for coach data.
Allows for html template to be slightly cleaner as well.
2016-05-12 00:32:50 +02:00
Tobias Lidskog 5a751cf4b1 Structure assets data similar to domains data. 2016-05-09 22:47:55 +02:00
Tobias Lidskog a02dea9b02 Remove irrelevant comment. 2016-05-09 00:41:40 +02:00
Tobias Lidskog 794cb95adb Fix indenting. 2016-05-09 00:27:27 +02:00
Tobias Lidskog d00261b82e Push requests per domain to graphite and influxdb.
Also fixes an issue where dots, spaces etc. weren't removed from metrics keys.
2016-05-09 00:26:49 +02:00