Commit Graph

26 Commits

Author SHA1 Message Date
Peter Hedenskog 5b7573b02d
Skip crux.setup messages https://github.com/sitespeedio/sitespeed.io/issues/4290 (#4291) 2024-10-09 16:45:40 +02:00
Peter Hedenskog f886e0b6ee
Bye bye wpt (#4085)
* Bye WebPageTest

* remove more
2024-04-29 08:37:29 +02:00
Peter Hedenskog c1c31ff90c
Add missing setup https://github.com/sitespeedio/sitespeed.io/issues/3994 (#3995) 2023-11-01 15:23:04 +01:00
Peter Hedenskog 631271126f
New plugins structure and esmodule (#3769)
* New plugins structure and esmodule
2023-02-25 11:16:58 +01:00
Peter Hedenskog cc798921ec
Ignore axe setup message when storing data. (#3703)
https://github.com/sitespeedio/sitespeed.io/issues/3701
2022-07-31 07:59:59 +02:00
Peter Hedenskog c3f215c312
New scp plugin for copying result to another server (#3691)
* New scp plugin for copying result to another server

* sync up

* use old

* new version
2022-07-10 10:39:05 +02:00
Peter Hedenskog 0f79c73bfa
Ignore sustainable.setup messages #3321 (#3587) 2022-03-04 08:26:08 +01:00
Peter Hedenskog 7a187c4062
Ignore Influx and Grafana setup messages https://github.com/sitespeedio/sitespeed.io/issues/3507 (#3508) 2021-11-09 15:42:29 +01:00
Peter Hedenskog 49a5af9c50
Ignore Graphite setup messages. (#3506)
https://github.com/sitespeedio/sitespeed.io/issues/3505
2021-11-06 09:39:05 +01:00
Peter Hedenskog a17a3b3904
Handle alias correctly (#3222) 2020-12-22 12:51:33 +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 05ae345b66
Renamed google cloud storge finish message to match https://github.com/sitespeedio/sitespeed.io/pull/2360 (#2362) 2019-03-06 16:03:01 +01:00
Peter Hedenskog e32282aae8
Don't act on script #2305 (#2306) 2019-02-12 07:54:36 +01:00
Peter Hedenskog 88f6fa2f80
first step to rephrase runindex and ise iteration instead (#2006) 2018-04-29 16:17:55 +02:00
Peter Hedenskog 1a93a63440
Ignore more messages when storing data in analysisstorer (#2005) 2018-04-28 18:50:00 +02:00
Peter Hedenskog 375d70160d
Upgrade to first alpha of Browsertime 3.0 (#1970)
* initial commit for getting BT 3.0 to work
2018-04-07 14:04:23 +02: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 ec8f27a02d Remove unused require statements. (#1765) 2017-10-29 15:17:43 +01:00
Peter Hedenskog 800c42a127 Switch from hooks to messages (#1732)
* Switch from hooks to messages

This is the first step to get rid off hooks:
* Introduce two new messages: setup and final
* Logs a warning messages for all plugins that uses old hooks

The setup message will make it possible for plugins to pass
configuration to each other (send pugs to the HTML plugin,
send javascript (that collects metrics) to Browsertime and can
hopefully remove the post/preOpen hooks. The final message
replaces the postClose and final hook (or do we need more messages?).

Keep the hoosk deperecated through 6 and remove them in 7.0.

* lint

* more messages, let take of hooks later

* renaming

* rename summarize to sitespeedio.summarize
2017-10-28 16:28:50 +02:00
Tobias Lidskog 6d75f51ac7 Store analysis per group (#1725)
* Avoid name collisions for stored analysis files.

Summary messages can be different based on group (most often per domain). Include group in file name, if present to avoid overwriting data in an existing file.

* Remove redundant summary messages.

The ”largestassets.summary” message with group:’total’ was sent with different structure for message data from what was sent earlier in this function.

* Additional validation of summary and pageSummary.

Check that url and group are specified correctly for all messages.

* Use ES6 template strings instead of util.format.

* Warn about duplicated summary messages.

This will be an error later, but need to update the assets plugin first.

* Only put summary data on index and detailed page.

Summaries with group=’total’ is data for the entire test (i.e. all url and domains). Previously the last group message (which might be just a subset of all data) would be used.

* No duplicate largestassets.summary messages.

Change so there’s only one largestassets.summary message per group, with data for all content types. Then enforce this for all summary messages.
2017-10-01 20:59:30 +02:00
Peter Hedenskog 2c93c39e5b skip storing toplists to disk #1718 (#1721) 2017-09-25 20:35:55 +02:00
Tobias Lidskog 3debfec0b4 Format code using the Prettier formatter. (#1677) 2017-07-20 21:24:12 +02:00
Tobias Lidskog 720d3b93c2 Set plugin name by default when loading it 2017-03-13 17:40:29 +01:00
Tobias Lidskog 468368ee8c Fix incorrect plugin names.
The ’name’ function wasn’t updated when these plugins moved from single files to directories. This resulted in multiple plugins being named ’index’.
2017-03-13 09:23:44 +01:00
soulgalore 55bba8f054 store the HAR file per default, closes #1174 2016-10-06 12:23:20 +02:00
soulgalore 46a128af17 moved analyisstorer and messagelogger to it own folders 2016-10-05 20:15:08 +02:00