Skip to content

Add/wasm build#31470

Merged
timneutkens merged 17 commits intovercel:canaryfrom
padmaia:add/wasm-build
Nov 17, 2021
Merged

Add/wasm build#31470
timneutkens merged 17 commits intovercel:canaryfrom
padmaia:add/wasm-build

Conversation

@padmaia
Copy link
Copy Markdown
Member

@padmaia padmaia commented Nov 16, 2021

This adds two new next-swc targets for wasm. In order to use the wasm targets you will need to explicitly define them as dependencies to override the native packages.

@ijjk ijjk added created-by: Next.js team PRs by the Next.js team. type: next labels Nov 16, 2021
@ijjk

This comment has been minimized.

@ijjk

This comment has been minimized.

@padmaia padmaia dismissed a stale review via 9c98ba6 November 16, 2021 03:43
@ijjk

This comment has been minimized.

@ijjk

This comment has been minimized.

@ijjk

This comment has been minimized.

@ijjk

This comment has been minimized.

@ijjk

This comment has been minimized.

@padmaia padmaia marked this pull request as ready for review November 17, 2021 17:13
@ijjk
Copy link
Copy Markdown
Member

ijjk commented Nov 17, 2021

Stats from current PR

Default Build (Increase detected ⚠️)
General Overall increase ⚠️
vercel/next.js canary padmaia/next.js add/wasm-build Change
buildDuration 18.5s 18.4s -71ms
buildDurationCached 3.6s 3.7s ⚠️ +44ms
nodeModulesSize 338 MB 338 MB ⚠️ +1.51 kB
Page Load Tests Overall increase ✓
vercel/next.js canary padmaia/next.js add/wasm-build Change
/ failed reqs 0 0
/ total time (seconds) 3.048 2.956 -0.09
/ avg req/sec 820.2 845.82 +25.62
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.467 1.43 -0.04
/error-in-render avg req/sec 1704.22 1747.66 +43.44
Client Bundles (main, webpack, commons)
vercel/next.js canary padmaia/next.js add/wasm-build Change
450.HASH.js gzip 179 B 179 B
framework-HASH.js gzip 42.2 kB 42.2 kB
main-HASH.js gzip 28.3 kB 28.3 kB
webpack-HASH.js gzip 1.45 kB 1.45 kB
Overall change 72.2 kB 72.2 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary padmaia/next.js add/wasm-build Change
polyfills-HASH.js gzip 31 kB 31 kB
Overall change 31 kB 31 kB
Client Pages
vercel/next.js canary padmaia/next.js add/wasm-build Change
_app-HASH.js gzip 1.37 kB 1.37 kB
_error-HASH.js gzip 194 B 194 B
amp-HASH.js gzip 312 B 312 B
css-HASH.js gzip 327 B 327 B
dynamic-HASH.js gzip 2.38 kB 2.38 kB
head-HASH.js gzip 350 B 350 B
hooks-HASH.js gzip 635 B 635 B
image-HASH.js gzip 4.44 kB 4.44 kB
index-HASH.js gzip 263 B 263 B
link-HASH.js gzip 1.87 kB 1.87 kB
routerDirect..HASH.js gzip 321 B 321 B
script-HASH.js gzip 383 B 383 B
withRouter-HASH.js gzip 318 B 318 B
85e02e95b279..7e3.css gzip 107 B 107 B
Overall change 13.3 kB 13.3 kB
Client Build Manifests
vercel/next.js canary padmaia/next.js add/wasm-build Change
_buildManifest.js gzip 460 B 460 B
Overall change 460 B 460 B
Rendered Page Sizes
vercel/next.js canary padmaia/next.js add/wasm-build Change
index.html gzip 524 B 524 B
link.html gzip 536 B 536 B
withRouter.html gzip 517 B 517 B
Overall change 1.58 kB 1.58 kB

Default Build with SWC (Decrease detected ✓)
General Overall increase ⚠️
vercel/next.js canary padmaia/next.js add/wasm-build Change
buildDuration 20s 20s ⚠️ +55ms
buildDurationCached 3.5s 3.6s ⚠️ +83ms
nodeModulesSize 338 MB 338 MB ⚠️ +1.51 kB
Page Load Tests Overall decrease ⚠️
vercel/next.js canary padmaia/next.js add/wasm-build Change
/ failed reqs 0 0
/ total time (seconds) 3.041 2.963 -0.08
/ avg req/sec 822.1 843.64 +21.54
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.387 1.417 ⚠️ +0.03
/error-in-render avg req/sec 1801.83 1764.78 ⚠️ -37.05
Client Bundles (main, webpack, commons)
vercel/next.js canary padmaia/next.js add/wasm-build Change
450.HASH.js gzip 179 B 179 B
framework-HASH.js gzip 42.3 kB 42.3 kB
main-HASH.js gzip 28.6 kB 28.6 kB
webpack-HASH.js gzip 1.44 kB 1.44 kB
Overall change 72.5 kB 72.5 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary padmaia/next.js add/wasm-build Change
polyfills-HASH.js gzip 31 kB 31 kB
Overall change 31 kB 31 kB
Client Pages
vercel/next.js canary padmaia/next.js add/wasm-build Change
_app-HASH.js gzip 1.35 kB 1.35 kB
_error-HASH.js gzip 180 B 180 B
amp-HASH.js gzip 305 B 305 B
css-HASH.js gzip 321 B 321 B
dynamic-HASH.js gzip 2.38 kB 2.38 kB
head-HASH.js gzip 342 B 342 B
hooks-HASH.js gzip 622 B 622 B
image-HASH.js gzip 4.46 kB 4.46 kB
index-HASH.js gzip 256 B 256 B
link-HASH.js gzip 1.91 kB 1.91 kB
routerDirect..HASH.js gzip 314 B 314 B
script-HASH.js gzip 375 B 375 B
withRouter-HASH.js gzip 309 B 309 B
85e02e95b279..7e3.css gzip 107 B 107 B
Overall change 13.2 kB 13.2 kB
Client Build Manifests
vercel/next.js canary padmaia/next.js add/wasm-build Change
_buildManifest.js gzip 460 B 460 B
Overall change 460 B 460 B
Rendered Page Sizes
vercel/next.js canary padmaia/next.js add/wasm-build Change
index.html gzip 524 B 524 B
link.html gzip 536 B 536 B
withRouter.html gzip 517 B 517 B
Overall change 1.58 kB 1.58 kB
Commit: 999a2b3

@timneutkens timneutkens merged commit b80c378 into vercel:canary Nov 17, 2021
@timneutkens timneutkens deleted the add/wasm-build branch November 17, 2021 19:01
@vercel vercel locked as resolved and limited conversation to collaborators Jan 27, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants