Skip to content

Commit 5d61056

Browse files
authored
feat: add base fast mode config (#2702)
1 parent fedc76a commit 5d61056

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
/**
2+
* @license Copyright 2017 Google Inc. All Rights Reserved.
3+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
4+
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
5+
*/
6+
'use strict';
7+
8+
module.exports = {
9+
extends: 'lighthouse:default',
10+
settings: {
11+
skipAudits: [
12+
// disabled for now because they are too slow
13+
'no-mutation-events',
14+
'uses-optimized-images',
15+
'uses-webp-images',
16+
'speed-index-metric',
17+
'screenshot-thumbnails',
18+
19+
// disabled for now because their results are not meaningful/cannot be computed anymore
20+
'first-interactive',
21+
'consistently-interactive',
22+
'offscreen-images',
23+
'load-fast-enough-for-pwa',
24+
],
25+
},
26+
passes: [
27+
{
28+
passName: 'defaultPass',
29+
useThrottling: false,
30+
pauseAfterLoadMs: 0,
31+
networkQuietThresholdMs: 500,
32+
cpuQuietThresholdMs: 500,
33+
gatherers: [],
34+
},
35+
],
36+
};

0 commit comments

Comments
 (0)