Commit Graph

20 Commits

Author SHA1 Message Date
Peter Hedenskog 3741366d45
Upgrade to eslint/unicorn 54 (#4213) 2024-07-08 08:19:41 +02:00
Peter Hedenskog a5d96292f2
Upgrade to co2 0.14.2 (#4074)
https://github.com/sitespeedio/sitespeed.io/issues/4073
2024-02-02 20:37:12 +01:00
Peter Hedenskog 5211c51d0d
Move functionality from co2 to sitespeed.io. (#4034)
* Move functionality from co2 to sitespeed.io.

See https://github.com/thegreenwebfoundation/co2.js/issues/182

* lint
2023-12-21 05:47:06 +01:00
Peter Hedenskog 6b245ad139
Add co2 version to the HTML output (#3954) 2023-08-31 05:56:32 +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 1d40a9da48
Update to 0.10.4 co2 and make it possible change model. (#3736) 2022-10-03 09:45:20 -04:00
Peter Hedenskog c78c6f9919
co2 0.8.0 (#3519) 2021-11-28 21:40:27 +01:00
Peter Hedenskog 4403dfd5eb
Only load the domain JSON when needed. (#2923) 2020-03-15 15:03:21 +01:00
Chris Adams 00fbe62c22
Check against green domain list in JSON, instead of SQLite database (#2922)
* Add check to load JSON instead of use the sqlite DB

* Replace sqlite dataset with JSON
2020-03-15 13:36:13 +01:00
Peter Hedenskog 9dacb295a4
Show third/first party total size (#2920) 2020-03-13 08:50:27 +01:00
Chris Adams ff05a0e4bb
Polish the carbon copy + update/showing total transfer size (#2909)
Co-authored-by: Peter Hedenskog <peter@soulgalore.com>
2020-03-13 08:31:05 +01:00
Chris Adams c8ccb907fe
Bump co2 to 0.5.0 and remove tests now in external co2 module (#2906)
* Remove tests which are now in the external module

* remove test

* Adjust to the new CO2 API

Co-authored-by: Peter Hedenskog <peter@soulgalore.com>
2020-03-03 14:14:51 +01:00
Peter Hedenskog 39218878d4
Send first/third party co2 to Graphite/Influx (#2904) 2020-02-29 11:09:15 +01:00
Chris Adams 3fba6b2e01
Extract co2 and hosting checks into separate module (#2899)
Co-authored-by: Peter Hedenskog <peter@soulgalore.com>
2020-02-29 09:29:22 +01:00
Peter Hedenskog 75c91708ff
Make it possible to disable the hosting check (#2902) 2020-02-27 17:31:33 +01:00
Peter Hedenskog 579d168413
CO2 per type (#2897) 2020-02-25 10:54:25 +01:00
Peter Hedenskog 3305b61a1d
Remove --sustainable.hosting since we will soon get the data locally (#2893) 2020-02-24 22:12:01 +01:00
Peter Hedenskog 5c9b8cbf76
Unify stat collection and collect per summary for sustainable. (#2890) 2020-02-24 15:51:39 +01:00
Peter Hedenskog c4e1ac6169
Display first run data on pageSummary. (#2886) 2020-02-21 22:52:09 +01:00
Chris Adams b1d40bec16
Add carbon emissions figures for data over the wire [sustainability plugin] (#2868) 2020-02-21 16:43:53 +01:00