garie-lighthouse icon indicating copy to clipboard operation
garie-lighthouse copied to clipboard

How to set custom plugin throttling

Open gschoenberger opened this issue 5 years ago • 0 comments

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

gschoenberger avatar May 14 '19 16:05 gschoenberger