Commit Graph

24 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 2c6eb18003
Timings from the HAR file in Chrome seems to be faulty #2159 (#2160) 2018-10-02 13:16:42 +02:00
Peter Hedenskog 34caec2e28
Enable domains info if you only collect data using WebPageTest (#1876) 2018-01-13 16:23:47 +01:00
Peter Hedenskog a12e4016af Feed plugins with filterRegistry (#1761) 2017-10-29 10:41:06 +01:00
Peter Hedenskog e81be5d689
Feed plugins with messageMaker (#1760) 2017-10-29 09:22:27 +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 3debfec0b4 Format code using the Prettier formatter. (#1677) 2017-07-20 21:24:12 +02:00
Peter Hedenskog 1e528f65fd set sitespeedio as root name of all loggers (#1545) 2017-03-23 12:21:11 +01:00
Peter Hedenskog e46a7026eb Add log channel names per plugin thank you @jpvincent (#1544) 2017-03-23 08:57:03 +01:00
Tobias Lidskog 720d3b93c2 Set plugin name by default when loading it 2017-03-13 17:40:29 +01:00
Peter Hedenskog 45fc6c6b68 Group domains (#1292)
Let add groups also for domains metrics. Fixes #1290 and part of #1289
2016-10-31 22:24:21 +01:00
Tobias Lidskog 187eb3e0dd Replace custom isEmpty with lodash. 2016-09-29 20:29:46 +02:00
soulgalore 0900c2f2ff report only total amount of domains by default, not each domain in the summary 2016-05-16 11:24:52 +02:00
Tobias Lidskog 1cb0562223 Account for entry.time missing on har files.
It's mandatory, but still missing in generated hars from time to time.
2016-05-12 00:32:50 +02:00
soulgalore bfd443593a lower log levels for missing timings in HAR 2016-05-11 19:46:17 +02:00
Tobias Lidskog 3ad3324740 More error checking for use of statistics.
Trying to nail down an elusive error.
2016-05-10 22:06:29 +02:00
Tobias Lidskog 90c5c91e72 Only count first iteration of page for domain data 2016-05-09 23:55:32 +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
Tobias Lidskog 34df84f7de Leave out empty stats from domains summary.
statsHelpers.summarizeStats returns undefined for stats with no values. Since some timings are optional (e.g. ssl) we need to check before adding to summary.
2016-05-08 10:42:12 +02:00
Tobias Lidskog b1c79af0be Sort domains and only display top 200. 2016-04-24 00:19:16 +02:00
Tobias Lidskog 8dbce0ae78 Remove obsolete eslint config. 2016-04-23 23:24:23 +02:00
soulgalore ff31fd77d1 get number of requests and total median time for domains #873 2016-04-14 14:05:05 +02:00
Tobias Lidskog ab0bf26ce2 Enforce same naming for summary messages.
Either .pageSummary or .summary, depending on if it's for one url or not.
2016-03-22 23:18:38 +01:00
Tobias Lidskog 781dc03072 Intial commit of sitespeed.io 4.0. 2016-03-10 23:07:36 +01:00