ai / ai/size-limit

Unexpected behavior in preset-app

未關閉
#143 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
JavaScript
星號
6.9k
分支
1.8k
平均合併
44 分鐘
30 天內合併 PR
1

描述

Hey. Thank you for your project.

I use a size-limit for the application. It weighs in at about 80KB.

The problem is that runs on a laptop and CI, give a difference of almost 2 times the time.

In laptop:
```
$ size-limit

Time limit: 2 s
Size: 46.43 KB
Loading time: 929 ms on slow 3G
Running time: 830 ms on Snapdragon 410
Total time: 1.8 s

✨ Done in 35.67s.
```

In CI:
```
$ size-limit

Total time limit has exceeded
Time limit: 2 s
Size: 46.38 KB
Loading time: 928 ms on slow 3G
Running time: 2.3 s on Snapdragon 410
Total time: 3.2 s
```

My size-limit config:
```json
"size-limit": [
{
"path": "dist/public/*.js",
"limit": "2s"
}
],
```

What do you think this may be due to?

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。