tests(smokehouse): loosen wastedMs for unused-javascript (#10561)

This commit is contained in:
Patrick Hulce 2020-04-08 12:49:31 -05:00 коммит произвёл GitHub
Родитель 7c205392f4
Коммит 6056bbb169
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 8 добавлений и 2 удалений

Просмотреть файл

@ -96,8 +96,10 @@ const expectations = [
'unminified-javascript': {
score: '<1',
details: {
overallSavingsBytes: '>45000',
// the specific ms value is not meaningful for this smoketest
// *some largish amount* of savings should be reported
overallSavingsMs: '>500',
overallSavingsBytes: '>45000',
items: [
{
url: 'http://localhost:10200/byte-efficiency/script.js',
@ -134,8 +136,10 @@ const expectations = [
'unused-javascript': {
score: '<1',
details: {
// the specific ms value here is not meaningful for this smoketest
// *some* savings should be reported
overallSavingsMs: '>0',
overallSavingsBytes: '>=25000',
overallSavingsMs: '>300',
items: [
{
url: 'http://localhost:10200/byte-efficiency/script.js',
@ -196,6 +200,8 @@ const expectations = [
'uses-text-compression': {
score: '<1',
details: {
// the specific ms value is not meaningful for this smoketest
// *some largish amount* of savings should be reported
overallSavingsMs: '>700',
overallSavingsBytes: '>50000',
items: {