-
Notifications
You must be signed in to change notification settings - Fork 27k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(next/image): remove sharp
for wasm variant
#22253
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This comment has been minimized.
This comment has been minimized.
Stats from current PRDefault Server Mode (Increase detected
|
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
buildDuration | 11.4s | 11.1s | -286ms |
nodeModulesSize | 69.8 MB | 42.5 MB | -27.3 MB |
Page Load Tests Overall increase ✓
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
/ failed reqs | 0 | 0 | ✓ |
/ total time (seconds) | 2.209 | 2.181 | -0.03 |
/ avg req/sec | 1131.88 | 1146.26 | +14.38 |
/error-in-render failed reqs | 0 | 0 | ✓ |
/error-in-render total time (seconds) | 1.546 | 1.501 | -0.05 |
/error-in-render avg req/sec | 1616.74 | 1665.64 | +48.9 |
Client Bundles (main, webpack, commons)
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
677f882d2ed8..5cb0.js gzip | 13.1 kB | 13.1 kB | ✓ |
framework.HASH.js gzip | 39 kB | 39 kB | ✓ |
main-HASH.js gzip | 6.63 kB | 6.63 kB | ✓ |
webpack-HASH.js gzip | 751 B | 751 B | ✓ |
Overall change | 59.5 kB | 59.5 kB | ✓ |
Legacy Client Bundles (polyfills)
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
polyfills-HASH.js gzip | 31.3 kB | 31.3 kB | ✓ |
Overall change | 31.3 kB | 31.3 kB | ✓ |
Client Pages
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
_app-2a09aa2..4a98.js gzip | 1.28 kB | 1.28 kB | ✓ |
_error-8b758..aef6.js gzip | 3.46 kB | 3.46 kB | ✓ |
amp-e3e9bc99..932c.js gzip | 536 B | 536 B | ✓ |
hooks-5023ef..3670.js gzip | 888 B | 888 B | ✓ |
index-3a2b03..c677.js gzip | 227 B | 227 B | ✓ |
link-177412b..043e.js gzip | 1.67 kB | 1.67 kB | ✓ |
routerDirect..1a66.js gzip | 303 B | 303 B | ✓ |
withRouter-9..1b7d.js gzip | 302 B | 302 B | ✓ |
Overall change | 8.66 kB | 8.66 kB | ✓ |
Client Build Manifests
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
_buildManifest.js gzip | 347 B | 347 B | ✓ |
Overall change | 347 B | 347 B | ✓ |
Rendered Page Sizes
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
index.html gzip | 614 B | 614 B | ✓ |
link.html gzip | 621 B | 621 B | ✓ |
withRouter.html gzip | 609 B | 609 B | ✓ |
Overall change | 1.84 kB | 1.84 kB | ✓ |
Serverless Mode (Decrease detected ✓)
General Overall decrease ✓
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
buildDuration | 13.3s | 13.8s | |
nodeModulesSize | 69.8 MB | 42.5 MB | -27.3 MB |
Client Bundles (main, webpack, commons)
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
677f882d2ed8..5cb0.js gzip | 13.1 kB | 13.1 kB | ✓ |
framework.HASH.js gzip | 39 kB | 39 kB | ✓ |
main-HASH.js gzip | 6.63 kB | 6.63 kB | ✓ |
webpack-HASH.js gzip | 751 B | 751 B | ✓ |
Overall change | 59.5 kB | 59.5 kB | ✓ |
Legacy Client Bundles (polyfills)
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
polyfills-HASH.js gzip | 31.3 kB | 31.3 kB | ✓ |
Overall change | 31.3 kB | 31.3 kB | ✓ |
Client Pages
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
_app-2a09aa2..4a98.js gzip | 1.28 kB | 1.28 kB | ✓ |
_error-8b758..aef6.js gzip | 3.46 kB | 3.46 kB | ✓ |
amp-e3e9bc99..932c.js gzip | 536 B | 536 B | ✓ |
hooks-5023ef..3670.js gzip | 888 B | 888 B | ✓ |
index-3a2b03..c677.js gzip | 227 B | 227 B | ✓ |
link-177412b..043e.js gzip | 1.67 kB | 1.67 kB | ✓ |
routerDirect..1a66.js gzip | 303 B | 303 B | ✓ |
withRouter-9..1b7d.js gzip | 302 B | 302 B | ✓ |
Overall change | 8.66 kB | 8.66 kB | ✓ |
Client Build Manifests
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
_buildManifest.js gzip | 347 B | 347 B | ✓ |
Overall change | 347 B | 347 B | ✓ |
Serverless bundles
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
_error.js | 1.01 MB | 1.01 MB | ✓ |
404.html | 2.67 kB | 2.67 kB | ✓ |
amp.amp.html | 10.4 kB | 10.4 kB | ✓ |
amp.html | 1.86 kB | 1.86 kB | ✓ |
hooks.html | 1.92 kB | 1.92 kB | ✓ |
index.js | 1.01 MB | 1.01 MB | ✓ |
link.js | 1.06 MB | 1.06 MB | ✓ |
routerDirect.js | 1.06 MB | 1.06 MB | ✓ |
withRouter.js | 1.06 MB | 1.06 MB | ✓ |
Overall change | 5.2 MB | 5.2 MB | ✓ |
Webpack 5 Mode (Decrease detected ✓)
General Overall decrease ✓
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
buildDuration | 13.6s | 13.6s | -13ms |
nodeModulesSize | 69.8 MB | 42.5 MB | -27.3 MB |
Page Load Tests Overall decrease ⚠️
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
/ failed reqs | 0 | 0 | ✓ |
/ total time (seconds) | 2.182 | 2.201 | |
/ avg req/sec | 1145.54 | 1135.65 | |
/error-in-render failed reqs | 0 | 0 | ✓ |
/error-in-render total time (seconds) | 1.554 | 1.585 | |
/error-in-render avg req/sec | 1608.42 | 1577.28 |
Client Bundles (main, webpack, commons)
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
597-d08f5fe5..d690.js gzip | 13.1 kB | 13.1 kB | ✓ |
framework.HASH.js gzip | 39.3 kB | 39.3 kB | ✓ |
main-HASH.js gzip | 6.58 kB | 6.58 kB | ✓ |
webpack-HASH.js gzip | 954 B | 954 B | ✓ |
Overall change | 59.9 kB | 59.9 kB | ✓ |
Legacy Client Bundles (polyfills)
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
polyfills-HASH.js gzip | 31.1 kB | 31.1 kB | ✓ |
Overall change | 31.1 kB | 31.1 kB | ✓ |
Client Pages
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
_app-6e0a903..b885.js gzip | 1.26 kB | 1.26 kB | ✓ |
_error-9e190..f9d6.js gzip | 3.38 kB | 3.38 kB | ✓ |
amp-7fd79cc4..99ee.js gzip | 538 B | 538 B | ✓ |
hooks-f7e199..11b9.js gzip | 904 B | 904 B | ✓ |
index-3dc22c..ffbb.js gzip | 232 B | 232 B | ✓ |
link-7cc9e62..ef27.js gzip | 1.66 kB | 1.66 kB | ✓ |
routerDirect..323a.js gzip | 308 B | 308 B | ✓ |
withRouter-a..2ef8.js gzip | 304 B | 304 B | ✓ |
Overall change | 8.59 kB | 8.59 kB | ✓ |
Client Build Manifests
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
_buildManifest.js gzip | 322 B | 322 B | ✓ |
Overall change | 322 B | 322 B | ✓ |
Rendered Page Sizes
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
index.html gzip | 586 B | 586 B | ✓ |
link.html gzip | 594 B | 594 B | ✓ |
withRouter.html gzip | 580 B | 580 B | ✓ |
Overall change | 1.76 kB | 1.76 kB | ✓ |
Diffs
Diff for index.html
@@ -43,7 +43,7 @@
"props": { "pageProps": {} },
"page": "/",
"query": {},
- "buildId": "c78MqQoTWZPIzm7E_prdo",
+ "buildId": "LdBKfx3wVOowcUefuSiwl",
"isFallback": false,
"gip": true
}
@@ -77,11 +77,11 @@
async=""
></script>
<script
- src="/_next/static/c78MqQoTWZPIzm7E_prdo/_buildManifest.js"
+ src="/_next/static/LdBKfx3wVOowcUefuSiwl/_buildManifest.js"
async=""
></script>
<script
- src="/_next/static/c78MqQoTWZPIzm7E_prdo/_ssgManifest.js"
+ src="/_next/static/LdBKfx3wVOowcUefuSiwl/_ssgManifest.js"
async=""
></script>
</body>
Diff for link.html
@@ -48,7 +48,7 @@
"props": { "pageProps": {} },
"page": "/link",
"query": {},
- "buildId": "c78MqQoTWZPIzm7E_prdo",
+ "buildId": "LdBKfx3wVOowcUefuSiwl",
"isFallback": false,
"gip": true
}
@@ -82,11 +82,11 @@
async=""
></script>
<script
- src="/_next/static/c78MqQoTWZPIzm7E_prdo/_buildManifest.js"
+ src="/_next/static/LdBKfx3wVOowcUefuSiwl/_buildManifest.js"
async=""
></script>
<script
- src="/_next/static/c78MqQoTWZPIzm7E_prdo/_ssgManifest.js"
+ src="/_next/static/LdBKfx3wVOowcUefuSiwl/_ssgManifest.js"
async=""
></script>
</body>
Diff for withRouter.html
@@ -43,7 +43,7 @@
"props": { "pageProps": {} },
"page": "/withRouter",
"query": {},
- "buildId": "c78MqQoTWZPIzm7E_prdo",
+ "buildId": "LdBKfx3wVOowcUefuSiwl",
"isFallback": false,
"gip": true
}
@@ -77,11 +77,11 @@
async=""
></script>
<script
- src="/_next/static/c78MqQoTWZPIzm7E_prdo/_buildManifest.js"
+ src="/_next/static/LdBKfx3wVOowcUefuSiwl/_buildManifest.js"
async=""
></script>
<script
- src="/_next/static/c78MqQoTWZPIzm7E_prdo/_ssgManifest.js"
+ src="/_next/static/LdBKfx3wVOowcUefuSiwl/_ssgManifest.js"
async=""
></script>
</body>
Timer
requested review from
divmain,
ijjk,
lfades and
timneutkens
as code owners
February 17, 2021 15:07
cc @TrySound |
TrySound
previously approved these changes
Feb 17, 2021
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is awesome!
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Stats from current PRDefault Server Mode (Increase detected
|
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
buildDuration | 11.4s | 11.2s | -182ms |
nodeModulesSize | 69.8 MB | 42.5 MB | -27.3 MB |
Page Load Tests Overall increase ✓
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
/ failed reqs | 0 | 0 | ✓ |
/ total time (seconds) | 2.019 | 2.021 | 0 |
/ avg req/sec | 1238.31 | 1237.22 | |
/error-in-render failed reqs | 0 | 0 | ✓ |
/error-in-render total time (seconds) | 1.274 | 1.243 | -0.03 |
/error-in-render avg req/sec | 1962.09 | 2011.68 | +49.59 |
Client Bundles (main, webpack, commons)
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
677f882d2ed8..5cb0.js gzip | 13.1 kB | 13.1 kB | ✓ |
framework.HASH.js gzip | 39 kB | 39 kB | ✓ |
main-HASH.js gzip | 6.63 kB | 6.63 kB | ✓ |
webpack-HASH.js gzip | 751 B | 751 B | ✓ |
Overall change | 59.5 kB | 59.5 kB | ✓ |
Legacy Client Bundles (polyfills)
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
polyfills-HASH.js gzip | 31.3 kB | 31.3 kB | ✓ |
Overall change | 31.3 kB | 31.3 kB | ✓ |
Client Pages
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
_app-2a09aa2..4a98.js gzip | 1.28 kB | 1.28 kB | ✓ |
_error-8b758..aef6.js gzip | 3.46 kB | 3.46 kB | ✓ |
amp-e3e9bc99..932c.js gzip | 536 B | 536 B | ✓ |
hooks-5023ef..3670.js gzip | 888 B | 888 B | ✓ |
index-3a2b03..c677.js gzip | 227 B | 227 B | ✓ |
link-177412b..043e.js gzip | 1.67 kB | 1.67 kB | ✓ |
routerDirect..1a66.js gzip | 303 B | 303 B | ✓ |
withRouter-9..1b7d.js gzip | 302 B | 302 B | ✓ |
Overall change | 8.66 kB | 8.66 kB | ✓ |
Client Build Manifests
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
_buildManifest.js gzip | 347 B | 347 B | ✓ |
Overall change | 347 B | 347 B | ✓ |
Rendered Page Sizes
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
index.html gzip | 614 B | 614 B | ✓ |
link.html gzip | 621 B | 621 B | ✓ |
withRouter.html gzip | 609 B | 609 B | ✓ |
Overall change | 1.84 kB | 1.84 kB | ✓ |
Serverless Mode (Decrease detected ✓)
General Overall decrease ✓
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
buildDuration | 13.4s | 13.4s | |
nodeModulesSize | 69.8 MB | 42.5 MB | -27.3 MB |
Client Bundles (main, webpack, commons)
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
677f882d2ed8..5cb0.js gzip | 13.1 kB | 13.1 kB | ✓ |
framework.HASH.js gzip | 39 kB | 39 kB | ✓ |
main-HASH.js gzip | 6.63 kB | 6.63 kB | ✓ |
webpack-HASH.js gzip | 751 B | 751 B | ✓ |
Overall change | 59.5 kB | 59.5 kB | ✓ |
Legacy Client Bundles (polyfills)
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
polyfills-HASH.js gzip | 31.3 kB | 31.3 kB | ✓ |
Overall change | 31.3 kB | 31.3 kB | ✓ |
Client Pages
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
_app-2a09aa2..4a98.js gzip | 1.28 kB | 1.28 kB | ✓ |
_error-8b758..aef6.js gzip | 3.46 kB | 3.46 kB | ✓ |
amp-e3e9bc99..932c.js gzip | 536 B | 536 B | ✓ |
hooks-5023ef..3670.js gzip | 888 B | 888 B | ✓ |
index-3a2b03..c677.js gzip | 227 B | 227 B | ✓ |
link-177412b..043e.js gzip | 1.67 kB | 1.67 kB | ✓ |
routerDirect..1a66.js gzip | 303 B | 303 B | ✓ |
withRouter-9..1b7d.js gzip | 302 B | 302 B | ✓ |
Overall change | 8.66 kB | 8.66 kB | ✓ |
Client Build Manifests
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
_buildManifest.js gzip | 347 B | 347 B | ✓ |
Overall change | 347 B | 347 B | ✓ |
Serverless bundles
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
_error.js | 1.01 MB | 1.01 MB | ✓ |
404.html | 2.67 kB | 2.67 kB | ✓ |
amp.amp.html | 10.4 kB | 10.4 kB | ✓ |
amp.html | 1.86 kB | 1.86 kB | ✓ |
hooks.html | 1.92 kB | 1.92 kB | ✓ |
index.js | 1.01 MB | 1.01 MB | ✓ |
link.js | 1.06 MB | 1.06 MB | ✓ |
routerDirect.js | 1.06 MB | 1.06 MB | ✓ |
withRouter.js | 1.06 MB | 1.06 MB | ✓ |
Overall change | 5.2 MB | 5.2 MB | ✓ |
Webpack 5 Mode (Increase detected ⚠️ )
General Overall decrease ✓
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
buildDuration | 13s | 13.1s | |
nodeModulesSize | 69.8 MB | 42.5 MB | -27.3 MB |
Page Load Tests Overall increase ✓
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
/ failed reqs | 0 | 0 | ✓ |
/ total time (seconds) | 2.026 | 2.01 | -0.02 |
/ avg req/sec | 1233.86 | 1244.01 | +10.15 |
/error-in-render failed reqs | 0 | 0 | ✓ |
/error-in-render total time (seconds) | 1.36 | 1.235 | -0.12 |
/error-in-render avg req/sec | 1837.67 | 2024.05 | +186.38 |
Client Bundles (main, webpack, commons)
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
597-d08f5fe5..d690.js gzip | 13.1 kB | 13.1 kB | ✓ |
framework.HASH.js gzip | 39.3 kB | 39.3 kB | ✓ |
main-HASH.js gzip | 6.58 kB | 6.58 kB | ✓ |
webpack-HASH.js gzip | 954 B | 954 B | ✓ |
Overall change | 59.9 kB | 59.9 kB | ✓ |
Legacy Client Bundles (polyfills)
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
polyfills-HASH.js gzip | 31.1 kB | 31.1 kB | ✓ |
Overall change | 31.1 kB | 31.1 kB | ✓ |
Client Pages
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
_app-6e0a903..b885.js gzip | 1.26 kB | 1.26 kB | ✓ |
_error-9e190..f9d6.js gzip | 3.38 kB | 3.38 kB | ✓ |
amp-7fd79cc4..99ee.js gzip | 538 B | 538 B | ✓ |
hooks-f7e199..11b9.js gzip | 904 B | 904 B | ✓ |
index-3dc22c..ffbb.js gzip | 232 B | 232 B | ✓ |
link-7cc9e62..ef27.js gzip | 1.66 kB | 1.66 kB | ✓ |
routerDirect..323a.js gzip | 308 B | 308 B | ✓ |
withRouter-a..2ef8.js gzip | 304 B | 304 B | ✓ |
Overall change | 8.59 kB | 8.59 kB | ✓ |
Client Build Manifests
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
_buildManifest.js gzip | 322 B | 322 B | ✓ |
Overall change | 322 B | 322 B | ✓ |
Rendered Page Sizes
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
index.html gzip | 586 B | 586 B | ✓ |
link.html gzip | 594 B | 594 B | ✓ |
withRouter.html gzip | 580 B | 580 B | ✓ |
Overall change | 1.76 kB | 1.76 kB | ✓ |
Diffs
Diff for index.html
@@ -43,7 +43,7 @@
"props": { "pageProps": {} },
"page": "/",
"query": {},
- "buildId": "hfWXjvL_GFnBQ2PrRzYuk",
+ "buildId": "mKJHNP8jbkJs7Z0lwoXof",
"isFallback": false,
"gip": true
}
@@ -77,11 +77,11 @@
async=""
></script>
<script
- src="/_next/static/hfWXjvL_GFnBQ2PrRzYuk/_buildManifest.js"
+ src="/_next/static/mKJHNP8jbkJs7Z0lwoXof/_buildManifest.js"
async=""
></script>
<script
- src="/_next/static/hfWXjvL_GFnBQ2PrRzYuk/_ssgManifest.js"
+ src="/_next/static/mKJHNP8jbkJs7Z0lwoXof/_ssgManifest.js"
async=""
></script>
</body>
Diff for link.html
@@ -48,7 +48,7 @@
"props": { "pageProps": {} },
"page": "/link",
"query": {},
- "buildId": "hfWXjvL_GFnBQ2PrRzYuk",
+ "buildId": "mKJHNP8jbkJs7Z0lwoXof",
"isFallback": false,
"gip": true
}
@@ -82,11 +82,11 @@
async=""
></script>
<script
- src="/_next/static/hfWXjvL_GFnBQ2PrRzYuk/_buildManifest.js"
+ src="/_next/static/mKJHNP8jbkJs7Z0lwoXof/_buildManifest.js"
async=""
></script>
<script
- src="/_next/static/hfWXjvL_GFnBQ2PrRzYuk/_ssgManifest.js"
+ src="/_next/static/mKJHNP8jbkJs7Z0lwoXof/_ssgManifest.js"
async=""
></script>
</body>
Diff for withRouter.html
@@ -43,7 +43,7 @@
"props": { "pageProps": {} },
"page": "/withRouter",
"query": {},
- "buildId": "hfWXjvL_GFnBQ2PrRzYuk",
+ "buildId": "mKJHNP8jbkJs7Z0lwoXof",
"isFallback": false,
"gip": true
}
@@ -77,11 +77,11 @@
async=""
></script>
<script
- src="/_next/static/hfWXjvL_GFnBQ2PrRzYuk/_buildManifest.js"
+ src="/_next/static/mKJHNP8jbkJs7Z0lwoXof/_buildManifest.js"
async=""
></script>
<script
- src="/_next/static/hfWXjvL_GFnBQ2PrRzYuk/_ssgManifest.js"
+ src="/_next/static/mKJHNP8jbkJs7Z0lwoXof/_ssgManifest.js"
async=""
></script>
</body>
Stats from current PRDefault Server Mode (Increase detected
|
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
buildDuration | 11s | 11s | |
nodeModulesSize | 69.8 MB | 42.5 MB | -27.3 MB |
Page Load Tests Overall increase ✓
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
/ failed reqs | 0 | 0 | ✓ |
/ total time (seconds) | 2.049 | 2.011 | -0.04 |
/ avg req/sec | 1220.11 | 1243.05 | +22.94 |
/error-in-render failed reqs | 0 | 0 | ✓ |
/error-in-render total time (seconds) | 1.249 | 1.203 | -0.05 |
/error-in-render avg req/sec | 2001.51 | 2078.74 | +77.23 |
Client Bundles (main, webpack, commons)
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
677f882d2ed8..5cb0.js gzip | 13.1 kB | 13.1 kB | ✓ |
framework.HASH.js gzip | 39 kB | 39 kB | ✓ |
main-HASH.js gzip | 6.63 kB | 6.63 kB | ✓ |
webpack-HASH.js gzip | 751 B | 751 B | ✓ |
Overall change | 59.5 kB | 59.5 kB | ✓ |
Legacy Client Bundles (polyfills)
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
polyfills-HASH.js gzip | 31.3 kB | 31.3 kB | ✓ |
Overall change | 31.3 kB | 31.3 kB | ✓ |
Client Pages
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
_app-2a09aa2..4a98.js gzip | 1.28 kB | 1.28 kB | ✓ |
_error-8b758..aef6.js gzip | 3.46 kB | 3.46 kB | ✓ |
amp-e3e9bc99..932c.js gzip | 536 B | 536 B | ✓ |
hooks-5023ef..3670.js gzip | 888 B | 888 B | ✓ |
index-3a2b03..c677.js gzip | 227 B | 227 B | ✓ |
link-177412b..043e.js gzip | 1.67 kB | 1.67 kB | ✓ |
routerDirect..1a66.js gzip | 303 B | 303 B | ✓ |
withRouter-9..1b7d.js gzip | 302 B | 302 B | ✓ |
Overall change | 8.66 kB | 8.66 kB | ✓ |
Client Build Manifests
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
_buildManifest.js gzip | 347 B | 347 B | ✓ |
Overall change | 347 B | 347 B | ✓ |
Rendered Page Sizes
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
index.html gzip | 614 B | 614 B | ✓ |
link.html gzip | 621 B | 621 B | ✓ |
withRouter.html gzip | 609 B | 609 B | ✓ |
Overall change | 1.84 kB | 1.84 kB | ✓ |
Serverless Mode (Decrease detected ✓)
General Overall decrease ✓
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
buildDuration | 13s | 13.1s | |
nodeModulesSize | 69.8 MB | 42.5 MB | -27.3 MB |
Client Bundles (main, webpack, commons)
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
677f882d2ed8..5cb0.js gzip | 13.1 kB | 13.1 kB | ✓ |
framework.HASH.js gzip | 39 kB | 39 kB | ✓ |
main-HASH.js gzip | 6.63 kB | 6.63 kB | ✓ |
webpack-HASH.js gzip | 751 B | 751 B | ✓ |
Overall change | 59.5 kB | 59.5 kB | ✓ |
Legacy Client Bundles (polyfills)
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
polyfills-HASH.js gzip | 31.3 kB | 31.3 kB | ✓ |
Overall change | 31.3 kB | 31.3 kB | ✓ |
Client Pages
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
_app-2a09aa2..4a98.js gzip | 1.28 kB | 1.28 kB | ✓ |
_error-8b758..aef6.js gzip | 3.46 kB | 3.46 kB | ✓ |
amp-e3e9bc99..932c.js gzip | 536 B | 536 B | ✓ |
hooks-5023ef..3670.js gzip | 888 B | 888 B | ✓ |
index-3a2b03..c677.js gzip | 227 B | 227 B | ✓ |
link-177412b..043e.js gzip | 1.67 kB | 1.67 kB | ✓ |
routerDirect..1a66.js gzip | 303 B | 303 B | ✓ |
withRouter-9..1b7d.js gzip | 302 B | 302 B | ✓ |
Overall change | 8.66 kB | 8.66 kB | ✓ |
Client Build Manifests
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
_buildManifest.js gzip | 347 B | 347 B | ✓ |
Overall change | 347 B | 347 B | ✓ |
Serverless bundles
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
_error.js | 1.01 MB | 1.01 MB | ✓ |
404.html | 2.67 kB | 2.67 kB | ✓ |
amp.amp.html | 10.4 kB | 10.4 kB | ✓ |
amp.html | 1.86 kB | 1.86 kB | ✓ |
hooks.html | 1.92 kB | 1.92 kB | ✓ |
index.js | 1.01 MB | 1.01 MB | ✓ |
link.js | 1.06 MB | 1.06 MB | ✓ |
routerDirect.js | 1.06 MB | 1.06 MB | ✓ |
withRouter.js | 1.06 MB | 1.06 MB | ✓ |
Overall change | 5.2 MB | 5.2 MB | ✓ |
Webpack 5 Mode (Increase detected ⚠️ )
General Overall decrease ✓
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
buildDuration | 12.9s | 12.8s | -127ms |
nodeModulesSize | 69.8 MB | 42.5 MB | -27.3 MB |
Page Load Tests Overall increase ✓
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
/ failed reqs | 0 | 0 | ✓ |
/ total time (seconds) | 2.045 | 2.006 | -0.04 |
/ avg req/sec | 1222.63 | 1246.51 | +23.88 |
/error-in-render failed reqs | 0 | 0 | ✓ |
/error-in-render total time (seconds) | 1.261 | 1.249 | -0.01 |
/error-in-render avg req/sec | 1983.29 | 2001.04 | +17.75 |
Client Bundles (main, webpack, commons)
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
597-d08f5fe5..d690.js gzip | 13.1 kB | 13.1 kB | ✓ |
framework.HASH.js gzip | 39.3 kB | 39.3 kB | ✓ |
main-HASH.js gzip | 6.58 kB | 6.58 kB | ✓ |
webpack-HASH.js gzip | 954 B | 954 B | ✓ |
Overall change | 59.9 kB | 59.9 kB | ✓ |
Legacy Client Bundles (polyfills)
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
polyfills-HASH.js gzip | 31.1 kB | 31.1 kB | ✓ |
Overall change | 31.1 kB | 31.1 kB | ✓ |
Client Pages
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
_app-6e0a903..b885.js gzip | 1.26 kB | 1.26 kB | ✓ |
_error-9e190..f9d6.js gzip | 3.38 kB | 3.38 kB | ✓ |
amp-7fd79cc4..99ee.js gzip | 538 B | 538 B | ✓ |
hooks-f7e199..11b9.js gzip | 904 B | 904 B | ✓ |
index-3dc22c..ffbb.js gzip | 232 B | 232 B | ✓ |
link-7cc9e62..ef27.js gzip | 1.66 kB | 1.66 kB | ✓ |
routerDirect..323a.js gzip | 308 B | 308 B | ✓ |
withRouter-a..2ef8.js gzip | 304 B | 304 B | ✓ |
Overall change | 8.59 kB | 8.59 kB | ✓ |
Client Build Manifests
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
_buildManifest.js gzip | 322 B | 322 B | ✓ |
Overall change | 322 B | 322 B | ✓ |
Rendered Page Sizes
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
index.html gzip | 586 B | 586 B | ✓ |
link.html gzip | 594 B | 594 B | ✓ |
withRouter.html gzip | 580 B | 580 B | ✓ |
Overall change | 1.76 kB | 1.76 kB | ✓ |
Diffs
Diff for index.html
@@ -43,7 +43,7 @@
"props": { "pageProps": {} },
"page": "/",
"query": {},
- "buildId": "-PZSvuKxMIlItlgs1-efr",
+ "buildId": "pmraqkobROGPwRM2UNOYs",
"isFallback": false,
"gip": true
}
@@ -77,11 +77,11 @@
async=""
></script>
<script
- src="/_next/static/-PZSvuKxMIlItlgs1-efr/_buildManifest.js"
+ src="/_next/static/pmraqkobROGPwRM2UNOYs/_buildManifest.js"
async=""
></script>
<script
- src="/_next/static/-PZSvuKxMIlItlgs1-efr/_ssgManifest.js"
+ src="/_next/static/pmraqkobROGPwRM2UNOYs/_ssgManifest.js"
async=""
></script>
</body>
Diff for link.html
@@ -48,7 +48,7 @@
"props": { "pageProps": {} },
"page": "/link",
"query": {},
- "buildId": "-PZSvuKxMIlItlgs1-efr",
+ "buildId": "pmraqkobROGPwRM2UNOYs",
"isFallback": false,
"gip": true
}
@@ -82,11 +82,11 @@
async=""
></script>
<script
- src="/_next/static/-PZSvuKxMIlItlgs1-efr/_buildManifest.js"
+ src="/_next/static/pmraqkobROGPwRM2UNOYs/_buildManifest.js"
async=""
></script>
<script
- src="/_next/static/-PZSvuKxMIlItlgs1-efr/_ssgManifest.js"
+ src="/_next/static/pmraqkobROGPwRM2UNOYs/_ssgManifest.js"
async=""
></script>
</body>
Diff for withRouter.html
@@ -43,7 +43,7 @@
"props": { "pageProps": {} },
"page": "/withRouter",
"query": {},
- "buildId": "-PZSvuKxMIlItlgs1-efr",
+ "buildId": "pmraqkobROGPwRM2UNOYs",
"isFallback": false,
"gip": true
}
@@ -77,11 +77,11 @@
async=""
></script>
<script
- src="/_next/static/-PZSvuKxMIlItlgs1-efr/_buildManifest.js"
+ src="/_next/static/pmraqkobROGPwRM2UNOYs/_buildManifest.js"
async=""
></script>
<script
- src="/_next/static/-PZSvuKxMIlItlgs1-efr/_ssgManifest.js"
+ src="/_next/static/pmraqkobROGPwRM2UNOYs/_ssgManifest.js"
async=""
></script>
</body>
ijjk
approved these changes
Feb 17, 2021
Stats from current PRDefault Server Mode (Decrease detected ✓)General Overall decrease ✓
Page Load Tests Overall decrease
|
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
/ failed reqs | 0 | 0 | ✓ |
/ total time (seconds) | 2.434 | 2.443 | |
/ avg req/sec | 1027.06 | 1023.38 | |
/error-in-render failed reqs | 0 | 0 | ✓ |
/error-in-render total time (seconds) | 1.668 | 1.677 | |
/error-in-render avg req/sec | 1498.92 | 1490.91 |
Client Bundles (main, webpack, commons)
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
677f882d2ed8..5cb0.js gzip | 13.1 kB | 13.1 kB | ✓ |
framework.HASH.js gzip | 39 kB | 39 kB | ✓ |
main-HASH.js gzip | 6.63 kB | 6.63 kB | ✓ |
webpack-HASH.js gzip | 751 B | 751 B | ✓ |
Overall change | 59.5 kB | 59.5 kB | ✓ |
Legacy Client Bundles (polyfills)
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
polyfills-HASH.js gzip | 31.3 kB | 31.3 kB | ✓ |
Overall change | 31.3 kB | 31.3 kB | ✓ |
Client Pages
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
_app-2a09aa2..4a98.js gzip | 1.28 kB | 1.28 kB | ✓ |
_error-8b758..aef6.js gzip | 3.46 kB | 3.46 kB | ✓ |
amp-e3e9bc99..932c.js gzip | 536 B | 536 B | ✓ |
hooks-5023ef..3670.js gzip | 888 B | 888 B | ✓ |
index-3a2b03..c677.js gzip | 227 B | 227 B | ✓ |
link-177412b..043e.js gzip | 1.67 kB | 1.67 kB | ✓ |
routerDirect..1a66.js gzip | 303 B | 303 B | ✓ |
withRouter-9..1b7d.js gzip | 302 B | 302 B | ✓ |
Overall change | 8.66 kB | 8.66 kB | ✓ |
Client Build Manifests
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
_buildManifest.js gzip | 347 B | 347 B | ✓ |
Overall change | 347 B | 347 B | ✓ |
Rendered Page Sizes
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
index.html gzip | 615 B | 615 B | ✓ |
link.html gzip | 621 B | 621 B | ✓ |
withRouter.html gzip | 608 B | 608 B | ✓ |
Overall change | 1.84 kB | 1.84 kB | ✓ |
Serverless Mode (Decrease detected ✓)
General Overall decrease ✓
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
buildDuration | 14.8s | 15s | |
nodeModulesSize | 69.8 MB | 42.5 MB | -27.3 MB |
Client Bundles (main, webpack, commons)
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
677f882d2ed8..5cb0.js gzip | 13.1 kB | 13.1 kB | ✓ |
framework.HASH.js gzip | 39 kB | 39 kB | ✓ |
main-HASH.js gzip | 6.63 kB | 6.63 kB | ✓ |
webpack-HASH.js gzip | 751 B | 751 B | ✓ |
Overall change | 59.5 kB | 59.5 kB | ✓ |
Legacy Client Bundles (polyfills)
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
polyfills-HASH.js gzip | 31.3 kB | 31.3 kB | ✓ |
Overall change | 31.3 kB | 31.3 kB | ✓ |
Client Pages
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
_app-2a09aa2..4a98.js gzip | 1.28 kB | 1.28 kB | ✓ |
_error-8b758..aef6.js gzip | 3.46 kB | 3.46 kB | ✓ |
amp-e3e9bc99..932c.js gzip | 536 B | 536 B | ✓ |
hooks-5023ef..3670.js gzip | 888 B | 888 B | ✓ |
index-3a2b03..c677.js gzip | 227 B | 227 B | ✓ |
link-177412b..043e.js gzip | 1.67 kB | 1.67 kB | ✓ |
routerDirect..1a66.js gzip | 303 B | 303 B | ✓ |
withRouter-9..1b7d.js gzip | 302 B | 302 B | ✓ |
Overall change | 8.66 kB | 8.66 kB | ✓ |
Client Build Manifests
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
_buildManifest.js gzip | 347 B | 347 B | ✓ |
Overall change | 347 B | 347 B | ✓ |
Serverless bundles
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
_error.js | 1.01 MB | 1.01 MB | ✓ |
404.html | 2.67 kB | 2.67 kB | ✓ |
amp.amp.html | 10.4 kB | 10.4 kB | ✓ |
amp.html | 1.86 kB | 1.86 kB | ✓ |
hooks.html | 1.92 kB | 1.92 kB | ✓ |
index.js | 1.01 MB | 1.01 MB | ✓ |
link.js | 1.06 MB | 1.06 MB | ✓ |
routerDirect.js | 1.06 MB | 1.06 MB | ✓ |
withRouter.js | 1.06 MB | 1.06 MB | ✓ |
Overall change | 5.2 MB | 5.2 MB | ✓ |
Webpack 5 Mode (Decrease detected ✓)
General Overall decrease ✓
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
buildDuration | 14.8s | 15.1s | |
nodeModulesSize | 69.8 MB | 42.5 MB | -27.3 MB |
Page Load Tests Overall decrease ⚠️
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
/ failed reqs | 0 | 0 | ✓ |
/ total time (seconds) | 2.416 | 2.44 | |
/ avg req/sec | 1034.98 | 1024.56 | |
/error-in-render failed reqs | 0 | 0 | ✓ |
/error-in-render total time (seconds) | 1.619 | 1.668 | |
/error-in-render avg req/sec | 1544.39 | 1498.73 |
Client Bundles (main, webpack, commons)
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
597-d08f5fe5..d690.js gzip | 13.1 kB | 13.1 kB | ✓ |
framework.HASH.js gzip | 39.3 kB | 39.3 kB | ✓ |
main-HASH.js gzip | 6.58 kB | 6.58 kB | ✓ |
webpack-HASH.js gzip | 954 B | 954 B | ✓ |
Overall change | 59.9 kB | 59.9 kB | ✓ |
Legacy Client Bundles (polyfills)
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
polyfills-HASH.js gzip | 31.1 kB | 31.1 kB | ✓ |
Overall change | 31.1 kB | 31.1 kB | ✓ |
Client Pages
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
_app-6e0a903..b885.js gzip | 1.26 kB | 1.26 kB | ✓ |
_error-9e190..f9d6.js gzip | 3.38 kB | 3.38 kB | ✓ |
amp-7fd79cc4..99ee.js gzip | 538 B | 538 B | ✓ |
hooks-f7e199..11b9.js gzip | 904 B | 904 B | ✓ |
index-3dc22c..ffbb.js gzip | 232 B | 232 B | ✓ |
link-7cc9e62..ef27.js gzip | 1.66 kB | 1.66 kB | ✓ |
routerDirect..323a.js gzip | 308 B | 308 B | ✓ |
withRouter-a..2ef8.js gzip | 304 B | 304 B | ✓ |
Overall change | 8.59 kB | 8.59 kB | ✓ |
Client Build Manifests
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
_buildManifest.js gzip | 322 B | 322 B | ✓ |
Overall change | 322 B | 322 B | ✓ |
Rendered Page Sizes
vercel/next.js canary | Timer/next.js feat/wasm-images | Change | |
---|---|---|---|
index.html gzip | 585 B | 585 B | ✓ |
link.html gzip | 593 B | 593 B | ✓ |
withRouter.html gzip | 580 B | 580 B | ✓ |
Overall change | 1.76 kB | 1.76 kB | ✓ |
Diffs
Diff for index.html
@@ -43,7 +43,7 @@
"props": { "pageProps": {} },
"page": "/",
"query": {},
- "buildId": "-eVoXl9o0Us0bfSv1YSKg",
+ "buildId": "GG5HoxBYpZBwFRXHlRHFW",
"isFallback": false,
"gip": true
}
@@ -77,11 +77,11 @@
async=""
></script>
<script
- src="/_next/static/-eVoXl9o0Us0bfSv1YSKg/_buildManifest.js"
+ src="/_next/static/GG5HoxBYpZBwFRXHlRHFW/_buildManifest.js"
async=""
></script>
<script
- src="/_next/static/-eVoXl9o0Us0bfSv1YSKg/_ssgManifest.js"
+ src="/_next/static/GG5HoxBYpZBwFRXHlRHFW/_ssgManifest.js"
async=""
></script>
</body>
Diff for link.html
@@ -48,7 +48,7 @@
"props": { "pageProps": {} },
"page": "/link",
"query": {},
- "buildId": "-eVoXl9o0Us0bfSv1YSKg",
+ "buildId": "GG5HoxBYpZBwFRXHlRHFW",
"isFallback": false,
"gip": true
}
@@ -82,11 +82,11 @@
async=""
></script>
<script
- src="/_next/static/-eVoXl9o0Us0bfSv1YSKg/_buildManifest.js"
+ src="/_next/static/GG5HoxBYpZBwFRXHlRHFW/_buildManifest.js"
async=""
></script>
<script
- src="/_next/static/-eVoXl9o0Us0bfSv1YSKg/_ssgManifest.js"
+ src="/_next/static/GG5HoxBYpZBwFRXHlRHFW/_ssgManifest.js"
async=""
></script>
</body>
Diff for withRouter.html
@@ -43,7 +43,7 @@
"props": { "pageProps": {} },
"page": "/withRouter",
"query": {},
- "buildId": "-eVoXl9o0Us0bfSv1YSKg",
+ "buildId": "GG5HoxBYpZBwFRXHlRHFW",
"isFallback": false,
"gip": true
}
@@ -77,11 +77,11 @@
async=""
></script>
<script
- src="/_next/static/-eVoXl9o0Us0bfSv1YSKg/_buildManifest.js"
+ src="/_next/static/GG5HoxBYpZBwFRXHlRHFW/_buildManifest.js"
async=""
></script>
<script
- src="/_next/static/-eVoXl9o0Us0bfSv1YSKg/_ssgManifest.js"
+ src="/_next/static/GG5HoxBYpZBwFRXHlRHFW/_ssgManifest.js"
async=""
></script>
</body>
timneutkens
approved these changes
Feb 18, 2021
This was referenced Mar 8, 2021
Closed
This was referenced Mar 11, 2021
This was referenced Mar 12, 2021
Closed
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request removes the native
sharp
dependency (which doesn't work on some Linux variants, nor M1 Mac) and replaces it with a wasm equivalent.It also reduces Next.js' installed size by 27.3 MB.
The code is adapted from the Squoosh CLI.
This PR still supports:
However, it (temporarily) removes support for:
(these formats still get served and rendered correctly by the image component)
Fixes #20456
Closes #20738
Closes #21762