Commit Graph

31 Commits

Author SHA1 Message Date
Peter Hedenskog 25c5f38f54
Replace lodash.isEmpty (#4391) 2025-01-07 23:24:38 +01:00
Peter Hedenskog c6001611fe
Fix broken first party check. (#3823)
https://github.com/sitespeedio/sitespeed.io/issues/3822
2023-04-28 21:56:17 +02: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 1e9bea8bf0
Update to latest prettier/eslint setup (#3478) 2021-10-11 18:44:59 +02:00
Peter Hedenskog a17a3b3904
Handle alias correctly (#3222) 2020-12-22 12:51:33 +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
Peter Hedenskog c17a4a33e3 Use PageXray 1.0.0 (#1693) 2017-10-03 15:22:38 +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
soulgalore 99bb31dc85 Remove errors when you run without Browsertim #1700 2017-08-31 22:24:40 +02:00
Peter Hedenskog bc5379164c always add the first asset to the size list #1676 (#1678) 2017-07-21 09:04:13 +02:00
Tobias Lidskog 3debfec0b4 Format code using the Prettier formatter. (#1677) 2017-07-20 21:24:12 +02:00
Peter Hedenskog 841c8fadd5 Slowest and heaviest 3rd party assets #1613 (#1614) 2017-06-23 13:19:26 +02:00
Peter Hedenskog fc79b2cad4 Configurable number of assets (#1643)
* Configure maximum number of assets in the toplists #1639
* hidden configuration for max assets
2017-06-23 08:02:21 +02:00
Tobias Lidskog 29fbcaa2db Refactor result storage/url handling, and tweak S3 (#1552)
* Allow S3 upload even when using custom outputFolder.
* Add new s3.path option, to override the default storage path in the S3 bucket.
* Change the default storage path in the S3 bucket to no longer include the prefix 'sitespeed-result’.
* Remove broken/not useful progress load for S3 upload (was producing 100000+ log lines.
* Extract result url building into separate module that’s made available to plugins via context.resultUrls.
2017-03-28 15:12:30 +02:00
Tobias Lidskog 720d3b93c2 Set plugin name by default when loading it 2017-03-13 17:40:29 +01:00
Peter Hedenskog aac223cf3d rollback the URL in toplists, that can make the data grow in Graphite (#1315) 2016-11-04 22:41:35 +01:00
Peter Hedenskog 89215fe04c Possibility to send asset toplists to Graphite (#1301)
Restructure the toplist (largest/slowest/aggregated assets) to follow the message key structure with summary/pageSummary to simplify key generation. We also now includes the URL in the slowestassets list that can be sent to Graphite. Ping #1289 and closes #1294
2016-11-01 23:54:21 +01:00
Peter Hedenskog 07fb47a4c4 Change toplist data structure (#1226)
* New data structure for toplist, making it easier to use in graphite/budget
* Renamed message assets.aggregateSizePerContentTyp to assets.largest
2016-10-05 09:32:08 +02:00
Tobias Lidskog 187eb3e0dd Replace custom isEmpty with lodash. 2016-09-29 20:29:46 +02:00
Tobias Lidskog 97a34405b2 Correctly set ’group’ for assets summaries. 2016-09-28 21:39:57 +02:00
soulgalore 344cbc7133 a little safer handling when we collect assets by speed 2016-09-19 20:19:04 +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
Peter Hedenskog df5e82290f Lets group summaries (by domain for now) #1145 (#1153) 2016-08-25 14:01:55 +02:00
Jonathan Lee f7edf8551c Shrink URLs on asset HTML report for any URL longer than 40 characters (#977) 2016-07-06 21:05:04 -05:00
Tobias Lidskog 5a751cf4b1 Structure assets data similar to domains data. 2016-05-09 22:47:55 +02:00
Tobias Lidskog f47f234ce1 Remove unneeded null checks. 2016-04-23 23:24:23 +02:00
soulgalore 8905972ab3 rename snufkin to pagexray 2016-04-17 21:20:51 +02:00
soulgalore 40e0e768cf Simple CSS/HTML to get it all going. This is only the beginning. 2016-04-14 00:19:49 +02:00
Tobias Lidskog 781dc03072 Intial commit of sitespeed.io 4.0. 2016-03-10 23:07:36 +01:00