Commit Graph

266 Commits

Author SHA1 Message Date
Peter Hedenskog 0bfbdba69c
Use the API Luke (#3825) 2023-05-03 09:31:54 +02:00
soulgalore cab5f79f8b New Browsertime with support for enableProfileRun 2023-04-21 05:50:49 +02:00
Peter Hedenskog 32007f75ac
A better and more safe check for Android (#3789) 2023-03-16 14:16:41 +01:00
Peter Hedenskog 54325b47f8
Android fix (#3787)
* 27.0.0-beta.3

* Make sure Android flag is set correct
2023-03-15 15:07:44 +01:00
soulgalore 8b92b2b1ea Visual metrics portable by default 2023-03-13 12:46:35 +01:00
Peter Hedenskog 2d7ac71c2b
Influx fixes (#3777)
* Add missing influx options

* remove console.log
2023-03-05 19:37:57 +01:00
Peter Hedenskog 08c4291a65
Fix broken --version (#3775) 2023-03-05 17:07:11 +01:00
soulgalore c7f87ac628 add missing config 2023-03-01 08:18:54 +01:00
soulgalore 0f0a2fd410 fix broken config 2023-02-28 15:00:52 +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 84a3498d50
Update browsertime 17.0.0 beta (#3747) 2022-10-31 21:58:11 +01:00
Peter Hedenskog 343ae32e2a typeos 2022-10-12 22:01:07 +02: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 a57f965994
Make it easy to send run data to Graphite in a sane way (#3721)
* Bump to use latest Grafana and Graphite

* Do not send metrics from each run, only pageSummary by default

* Add limited run metrics to datasource and more sane setup

* limited by default

* Also collect cpu benchmark metric in the limited metrics
2022-09-13 19:00:26 +02:00
soulgalore 87e1bc8684 typeo 2022-07-16 12:59:18 +02:00
Peter Hedenskog b2eba5d1fa
More scp fixes (#3694) 2022-07-12 16:49:40 +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
soulgalore 230c28bc14 Add max load time 2022-06-15 10:50:59 +02:00
Peter Hedenskog 06732a337b
Add --debug mode (#3672) 2022-06-10 09:51:02 +02:00
soulgalore 112e1b8be2 Ner Browasertime 2022-05-17 05:37:27 +02:00
soulgalore 91e711063c Clarify what is used if you do not set --firstParty. 2022-05-04 21:05:38 +02:00
soulgalore 518122e8c6 Add flush option 2022-04-06 08:50:40 +02:00
soulgalore 4f4babda13 new bt 2022-03-30 17:36:00 +02:00
Peter Hedenskog 9cd19d4c3c
Use xdg-open for open default browser on Linux (#3597) 2022-03-10 23:13:34 +01:00
Peter Hedenskog 0f31c4e7d9
Add --view as alias on Mac to open the result page (#3596) 2022-03-10 22:21:38 +01:00
soulgalore f6e620ebfb Browsertime 15.0.0 2022-02-20 14:05:34 +01:00
soulgalore 52b1151833 Add option to append to user agent 2022-01-12 17:29:45 +01:00
Peter Hedenskog b0dcce807d
Update Browsertime, Chrome and Edge (#3528) 2022-01-10 15:48:42 +01:00
soulgalore 7b0dbd7b5f Add option to append to user agent 2021-12-30 22:19:33 +01:00
Peter Hedenskog e452fb532d
Add option --open/-o to open the result in your default browser. (#3493)
https://github.com/sitespeedio/sitespeed.io/issues/3492
2021-10-29 08:42:52 +02:00
Saurav Kumar 39d44d4eec
added type string for deviceserial args (#3490) 2021-10-20 19:59:02 +02:00
Peter Hedenskog 1e9bea8bf0
Update to latest prettier/eslint setup (#3478) 2021-10-11 18:44:59 +02:00
Peter Hedenskog fb218096c4
Use Moto G4 as default for --mobile instead of iPhone 6 (#3467) 2021-09-28 09:41:36 +02:00
Peter Hedenskog 4be680547e
Use throttle by default on Mac OS and Linux (#3433)
* Use throttle by default on Mac OS

* smarter defaults for Mac OS and Linux
2021-09-27 13:42:34 +02:00
soulgalore 958d22bfe9 Use boolean type for ignoring robots 2021-09-03 21:23:24 +02:00
dammg 094f9fda56
Add option for crawler to ignore robots.txt (#3454)
* Add option for crawler to ignore robots.txt

For example we have an internal test site (a sort of showcase of all our modules), that has a noFollow rule on all its pages. With that the crawler refuses to discover any pages. However there is an option in the crawler to ignore the robots.txt. This is basically my attempt at passing that option through. I have this currently running as a patched version on our site.
2021-09-03 21:16:30 +02:00
Peter Hedenskog 8d624ddcb1
Add option to add friendly name to junit test cases. (#3448)
https://github.com/sitespeedio/sitespeed.io/issues/3447
2021-08-27 11:42:59 +02:00
Peter Hedenskog af3dbf937e
Add cli for keeping the original video. (#3430)
That option already exists but it was hidden in sitespeed.io.
2021-07-28 18:13:08 +02:00
Peter Hedenskog a368dfe3a4
Update to latest yarg version (#3413)
* Update to latest BT and make sure yarg-versions match

* fix for changed coerce functionality

* Use 12
2021-07-22 09:43:51 +02:00
Peter Hedenskog 504e22a133
Update to latest PerfCascade. (#3407)
* Update to latest PerfCascade.

This enables showing LCP in the waterfall chart and Chrome internal info
about if a request is render blocking or not (updates in Chrome 92).

We also change the CHrome timeline config to be try by default to be
able to show the information in the waterfall.

* Updated
2021-07-21 16:47:23 +02:00
Peter Hedenskog 3b6671611e
Add support for Firefox memory report. (#3416) 2021-07-07 22:19:52 +02:00
Peter Hedenskog d2292333f0
Guard if you try to run Safari in Docker (#3405) 2021-06-03 14:08:54 +02:00
soulgalore b0b2e0da8a Fix correct chrome.args handling in configuration.json https://github.com/sitespeedio/sitespeed.io/issues/3192 2021-04-15 21:08:24 +02:00
Peter Hedenskog e386fcdb52
Add preWarm functionality as in latest browsertime (#3317) 2021-03-19 13:36:08 +01:00
Peter Hedenskog b970374284
Update browsertime (#3281) 2021-02-16 12:23:49 +01:00
soulgalore b818064ff0 New Browsertime 11.3.0 with better iOS simulator support 2021-01-30 15:12:10 +01:00
Peter Hedenskog e9d28b53ba
Automatically create resultbaseurl for GCS if it doesn't exist. (#3259) 2021-01-18 08:21:52 +01:00
Peter Hedenskog c69010389f
new cli option (#3247) 2021-01-12 09:09:37 +01:00
Peter Hedenskog dee1303983
Populate alias from file to Browsertime. (#3245)
https://github.com/sitespeedio/sitespeed.io/issues/3244
2021-01-12 05:36:02 +01:00
Peter Hedenskog c54fe29f67
Make it possible to add the slug of the test as a key to the namespace. (#3240)
Also cleanup the old experimental setup.
2021-01-09 12:59:40 +01:00
soulgalore 69955af6eb new browsertime 2021-01-05 21:27:17 +01:00
Peter Hedenskog ddeb72be91
Make sure cli-alias is propagated to Browsertime. (#3227)
I've made a mistake in the stable release and didn't add the
right alias to Browsertime when you run sitspeed.io.

https://github.com/sitespeedio/sitespeed.io/issues/3226
2020-12-30 23:00:10 +01:00
Peter Hedenskog f37e0b9d89
Move the WebPageTest plugin out of sitespeed.io (#3205)
* Move the WebPageTest plugin out of sitespeed.io

You can find the plugin at:
https://github.com/sitespeedio/plugin-webpagetest
2020-12-15 08:10:47 +01:00
Peter Hedenskog 5c32deeaef
Introducing slug for your test and a new experimental setup (#3203) 2020-12-08 19:48:51 +01:00
soulgalore 9775872def Run Firefox nightly/beta easier on Android 2020-11-18 13:26:45 +01:00
soulgalore a75a2b7727 Geckodriver flags 2020-11-18 13:21:18 +01:00
Peter Hedenskog ca4e389e9b
Setup basic structure to send messages to Matrix #2947 (#3086) 2020-11-02 13:22:57 +01:00
Peter Hedenskog 6000536aa2
Remove passing result urls (#3175) 2020-11-02 11:05:20 +01:00
Peter Hedenskog 6d37a98fbd
cli: verfiy that a phone has a internet connection before a test (#3152) 2020-09-26 20:19:20 +02:00
soulgalore 96db43d7fc Add video params convert flag 2020-09-04 14:01:44 +02:00
Peter Hedenskog a0359c4746
Browsertime 10.0.0-alpha.2 (#3142)
* Browsertime 10.0.0-alpha.1

* Support setting perceptual/contentful speed index

* Guard against missing PerceptualSpeedIndex

* new alpha
2020-09-04 12:32:29 +02:00
soulgalore 42edc68071 Add check for multi vs crux 2020-07-04 10:32:22 +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 fc975cd8d3
Add error (to all cli errors) (#3013) 2020-05-27 05:43:00 +02:00
Peter Hedenskog fd9f02abf7
Add --android to wpr (#3012)
* follow the same pattern to run WPR and Android as Browsertime

* remove set for now

* no need for edge yet
2020-05-25 09:58:14 +02:00
Erick Wilder 2c0ba7928e
feat(plugins): move influxdb CLI options to the plugin defintion (#3005) 2020-05-21 17:44:49 +02:00
Peter Hedenskog cc3ca04380
Add xvfb cli args (#3003) 2020-05-18 12:01:02 +02:00
Peter Hedenskog 6cf357869e
Cli help and catch if the config files don't exist (#3000) 2020-05-16 21:16:58 +02:00
Peter Hedenskog 89f51d47dc
Make it possible to set the limit/thresholds on the summary page (#2997) 2020-05-15 12:09:32 +02:00
Erick Wilder c750fe2b4a
Move graphite cli options to plugin (#2991)
* test(cli): add graphite coverage for current cli options

* refactor(plugins/graphite): move CLI option definitions to plugin
2020-05-13 12:14:20 +02:00
soulgalore f01cc84ed3 typeo 2020-05-12 09:43:35 +02:00
soulgalore ec570d3fe0 Added new CLI options.
Run:
* Rooted Android phones
* Safari Technology Preview
* Make it possible to enable Tracking protection and safe browsing.
2020-05-12 09:40:58 +02:00
Erick Wilder 8cf3c24722
Refactor grafana cli options (#2984)
* test(cli): add basic coverage to test cli help output

- Add basic coverated when invoking the command without arguments
- Basic checks for grafana help

* feat(cli): delegate command line options configuration to the Grafana plugin

It uses the name of the plugin as a namespace for all options. Plugin authors _may_ use this
in the future to show helpful messages in the default sitespeed CLI help output.

- Move CLI options to its own module to not pollute the plugin's `index.js` file.
- Change the plugin interface to define a `.cliOptions` property or method containing the `yargs`
  configuration to be used by the CLI code
- Add code coverage for the existing plugin API to ensure no regressions are introduced for Grafana
- Move parts of the `yargs`-related code to `cli/util.js`. Tests to ensure the initial proposition for
  plugin-based CLI options are included.

Co-authored-by: Peter Hedenskog <peter@soulgalore.com>
2020-05-11 20:31:52 +02:00
soulgalore bbd5adbbc7 Group Alias do not for for scripting (yet) 2020-04-29 09:18:32 +02:00
Peter Hedenskog 1448e5e468
First go at adding configurable groups #2958 (#2964)
* First go at adding configurable groups #2958

* Fix broken group

* simplify group handling

* Adjust test to the new structure
2020-04-27 08:19:41 +02:00
soulgalore 289980a683 Add new CLI options from BT 8.7.0 2020-04-24 14:09:29 +02:00
soulgalore 71023b9dcd Add iqr option for Browsertime 2020-04-06 09:34:16 +02:00
soulgalore 732f8e3b56 Add example on how to add one Chrome trace category 2020-03-26 08:52:44 +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 12268fef05
Verify NodeJS version (#2901) 2020-02-27 14:37:40 +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 cea0b68f95
Do not silently ignore crawl/multi now working together #2765. (#2889) 2020-02-24 15:52:08 +01:00
soulgalore 45c5b4efea You don't need to give the path to edgedriver anymore 2020-02-24 08:31:22 +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
Peter Hedenskog e07ba6b8a8
Make it easy to use tcpdump. (#2862) 2020-02-06 08:24:18 +01:00
soulgalore f2d4bbe7a3 Adjust to new browsertime names 2020-02-05 14:22:01 +01:00
soulgalore fdf73179e3 Browsertime 8.0.0 beta 2 and Chrome 80 2020-02-05 08:30:28 +01:00
soulgalore e752fa7201 Ignore certificate errors by default, as before with Chrome 2020-01-29 08:21:50 +01:00
soulgalore fd28a7a413 Follow the same pageLoadStrategy changes as in Browsertime 2020-01-28 19:34:11 +01:00
Peter Hedenskog b854bac769
Disable --cpu for Firefox so we can investigate if all configs are right. (#2855)
And we don't add too much over head.
2020-01-27 15:15:52 +01:00
Peter Hedenskog 55b8e5dd70
Add support to run edge (#2852) 2020-01-23 13:50:29 +01:00
Peter Hedenskog e3dcd3fdb7
Add support to download Geckoprofiler trace. (#2838) 2020-01-08 22:43:22 +01:00
Peter Hedenskog 5ca4c272f4
Add new CLI params from Browsertime 8 (#2830) 2019-12-29 08:26:39 +01:00
soulgalore c56b217a5a Removed one extra pageLoadStrategy item 2019-12-05 04:51:15 +01:00
Peter Hedenskog 6ce0ff5e87
Add new complete check params from BT (#2811) 2019-12-04 20:10:57 +01:00
Peter Hedenskog cd6c961055
Handle URLs with Arabic characters (#2813) 2019-12-04 20:10:27 +01:00
Peter Hedenskog 92cf54f9ba
Let Grafana annotations have same functionality as Graphite annotations. (#2798) 2019-11-24 14:26:47 -05:00
Samuli Reijonen b97dce509e Add --crawler.include (#2763) 2019-11-09 21:55:03 +01:00
Peter Hedenskog 6b2f38d6ba
Documentation changes for 11.0 (#2756) 2019-11-07 09:45:39 +01:00