boyney123 / garie-lighthouse

Lighthouse Garie plugin. Polls websites to checkout performance metrics also supports webhooks.
MIT License
50 stars 24 forks source link

How to set custom plugin throttling #18

Open gschoenberger opened 5 years ago

gschoenberger commented 5 years ago

Unfortunately I cannot pass custom throttling settings to lighthouse. This is my plugin config:

    "plugins": [
              {
                  "name": "lighthouse",
                  "label": "desktop",
                  "report": true,
                  "config": {
                       "extends": "lighthouse:default",
                       "settings": {
                               "emulatedFormFactor": "desktop",
                               "throttling" : {
                                       "rttMs": "40",
                                       "throughputKbps": "10240"
                               }
                        }
                   }
              }
      ]

According to the generated report the settings are set correctly: image

But the performance score only shows an error: image

When I am removing the "throttling" section the report is generated correctly, with correct performance score.

Any hints on how to set throttling or get more error reporting, why performance cannot be calculated?

THX, Georg