Skip to content
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

Add custom profiler / tracer #8378

Merged
merged 14 commits into from
Aug 18, 2019
Merged

Conversation

timneutkens
Copy link
Member

@timneutkens timneutkens commented Aug 15, 2019

This captures both client/production builds and everything before and after is cpu profiled, which makes sure that the whole process instead of just webpack is included in the final report.

When opting in through experimental.profiling we'll output a profile-events.json in .next that can be dropped into the Chrome DevTools performance tab.

We can add more events around Next.js internals after this lands, eg tracking the automatic static export etc.

This captures both client/production builds and everything before and after is cpu profiled, which makes sure that the whole process instead of just webpack is included in the final report.
@timneutkens timneutkens changed the title This captures both client/production builds and everything before and after is cpu profiled, which makes sure that the whole process instead of just webpack is included in the final report. Add custom profiler / tracer Aug 15, 2019
@ijjk
Copy link
Member

ijjk commented Aug 15, 2019

Stats from current PR

Default Server Mode (Decrease detected ✓)
General Overall decrease ✓
zeit/next.js canary timneutkens/next.js add/new-tracer Change
buildDuration 22.1s 439ms -21.6s
nodeModulesSize 41.3 MB 41.1 MB -127 kB
Client Bundles (main, webpack, commons)
zeit/next.js canary timneutkens/next.js add/new-tracer Change
main-HASH.js 13.8 kB N/A N/A
main-HASH.js gzip 4.86 kB N/A N/A
webpack-HASH.js 1.53 kB N/A N/A
webpack-HASH.js gzip 746 B N/A N/A
commons.HASH.js 194 kB N/A N/A
commons.HASH.js gzip 63.1 kB N/A N/A
Overall change
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary timneutkens/next.js add/new-tracer Change
main-HASH.module.js 11.4 kB N/A N/A
main-HASH.module.js gzip 4.3 kB N/A N/A
webpack-HASH.module.js 1.53 kB N/A N/A
webpack-HASH.module.js gzip 746 B N/A N/A
commons.HASH.module.js 176 kB N/A N/A
commons.HASH.module.js gzip 57.2 kB N/A N/A
Overall change
Client Pages
zeit/next.js canary timneutkens/next.js add/new-tracer Change
_app.js 1.9 kB N/A N/A
_app.js gzip 905 B N/A N/A
_error.js 8.02 kB N/A N/A
_error.js gzip 3.12 kB N/A N/A
index.js 343 B N/A N/A
index.js gzip 237 B N/A N/A
link.js 4.07 kB N/A N/A
link.js gzip 1.79 kB N/A N/A
routerDirect.js 423 B N/A N/A
routerDirect.js gzip 290 B N/A N/A
withRouter.js 435 B N/A N/A
withRouter.js gzip 287 B N/A N/A
Overall change
Client Pages Modern
zeit/next.js canary timneutkens/next.js add/new-tracer Change
_app.module.js 1.79 kB N/A N/A
_app.module.js gzip 865 B N/A N/A
_error.module.js 5.82 kB N/A N/A
_error.module.js gzip 2.33 kB N/A N/A
index.module.js 319 B N/A N/A
index.module.js gzip 238 B N/A N/A
link.module.js 3.78 kB N/A N/A
link.module.js gzip 1.7 kB N/A N/A
routerDirect.module.js 411 B N/A N/A
routerDirect.module.js gzip 291 B N/A N/A
withRouter.module.js 423 B N/A N/A
withRouter.module.js gzip 288 B N/A N/A
Overall change
Fetched pages Overall decrease ✓
zeit/next.js canary timneutkens/next.js add/new-tracer Change
link 2.81 kB 0 B -2.81 kB
link gzip 849 B 0 B -849 B
index 2.76 kB 0 B -2.76 kB
index gzip 843 B 0 B -843 B
withRouter 2.82 kB 0 B -2.82 kB
withRouter gzip 838 B 0 B -838 B
Overall change -8.38 kB

Serverless Mode (Decrease detected ✓)
General Overall decrease ✓
zeit/next.js canary timneutkens/next.js add/new-tracer Change
buildDuration 23.5s 423ms -23.1s
nodeModulesSize 41.3 MB 41.1 MB -127 kB
Client Bundles (main, webpack, commons)
zeit/next.js canary timneutkens/next.js add/new-tracer Change
main-HASH.js 13.8 kB N/A N/A
main-HASH.js gzip 4.86 kB N/A N/A
webpack-HASH.js 1.53 kB N/A N/A
webpack-HASH.js gzip 746 B N/A N/A
commons.HASH.js 194 kB N/A N/A
commons.HASH.js gzip 63.1 kB N/A N/A
Overall change
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary timneutkens/next.js add/new-tracer Change
main-HASH.module.js 11.4 kB N/A N/A
main-HASH.module.js gzip 4.3 kB N/A N/A
webpack-HASH.module.js 1.53 kB N/A N/A
webpack-HASH.module.js gzip 746 B N/A N/A
commons.HASH.module.js 176 kB N/A N/A
commons.HASH.module.js gzip 57.2 kB N/A N/A
Overall change
Client Pages
zeit/next.js canary timneutkens/next.js add/new-tracer Change
_app.js 1.9 kB N/A N/A
_app.js gzip 905 B N/A N/A
_error.js 8.02 kB N/A N/A
_error.js gzip 3.12 kB N/A N/A
index.js 343 B N/A N/A
index.js gzip 237 B N/A N/A
link.js 4.07 kB N/A N/A
link.js gzip 1.79 kB N/A N/A
routerDirect.js 423 B N/A N/A
routerDirect.js gzip 290 B N/A N/A
withRouter.js 435 B N/A N/A
withRouter.js gzip 287 B N/A N/A
Overall change
Client Pages Modern
zeit/next.js canary timneutkens/next.js add/new-tracer Change
_app.module.js 1.79 kB N/A N/A
_app.module.js gzip 865 B N/A N/A
_error.module.js 5.82 kB N/A N/A
_error.module.js gzip 2.33 kB N/A N/A
index.module.js 319 B N/A N/A
index.module.js gzip 238 B N/A N/A
link.module.js 3.78 kB N/A N/A
link.module.js gzip 1.7 kB N/A N/A
routerDirect.module.js 411 B N/A N/A
routerDirect.module.js gzip 291 B N/A N/A
withRouter.module.js 423 B N/A N/A
withRouter.module.js gzip 288 B N/A N/A
Overall change
Serverless bundles
zeit/next.js canary timneutkens/next.js add/new-tracer Change
_error.js 247 kB N/A N/A
_error.js gzip 66.2 kB N/A N/A
index.js 247 kB N/A N/A
index.js gzip 66.6 kB N/A N/A
link.js 255 kB N/A N/A
link.js gzip 68.7 kB N/A N/A
routerDirect.js 248 kB N/A N/A
routerDirect.js gzip 66.5 kB N/A N/A
withRouter.js 248 kB N/A N/A
withRouter.js gzip 66.6 kB N/A N/A
Overall change

@ijjk
Copy link
Member

ijjk commented Aug 15, 2019

Stats from current PR

Default Server Mode (Decrease detected ✓)
General Overall decrease ✓
zeit/next.js canary timneutkens/next.js add/new-tracer Change
buildDuration 25.2s 470ms -24.8s
nodeModulesSize 41.3 MB 41.1 MB -127 kB
Client Bundles (main, webpack, commons)
zeit/next.js canary timneutkens/next.js add/new-tracer Change
main-HASH.js 13.8 kB N/A N/A
main-HASH.js gzip 4.86 kB N/A N/A
webpack-HASH.js 1.53 kB N/A N/A
webpack-HASH.js gzip 746 B N/A N/A
commons.HASH.js 194 kB N/A N/A
commons.HASH.js gzip 63.1 kB N/A N/A
Overall change
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary timneutkens/next.js add/new-tracer Change
main-HASH.module.js 11.4 kB N/A N/A
main-HASH.module.js gzip 4.3 kB N/A N/A
webpack-HASH.module.js 1.53 kB N/A N/A
webpack-HASH.module.js gzip 746 B N/A N/A
commons.HASH.module.js 176 kB N/A N/A
commons.HASH.module.js gzip 57.2 kB N/A N/A
Overall change
Client Pages
zeit/next.js canary timneutkens/next.js add/new-tracer Change
_app.js 1.9 kB N/A N/A
_app.js gzip 905 B N/A N/A
_error.js 8.02 kB N/A N/A
_error.js gzip 3.12 kB N/A N/A
index.js 343 B N/A N/A
index.js gzip 237 B N/A N/A
link.js 4.07 kB N/A N/A
link.js gzip 1.79 kB N/A N/A
routerDirect.js 423 B N/A N/A
routerDirect.js gzip 290 B N/A N/A
withRouter.js 435 B N/A N/A
withRouter.js gzip 287 B N/A N/A
Overall change
Client Pages Modern
zeit/next.js canary timneutkens/next.js add/new-tracer Change
_app.module.js 1.79 kB N/A N/A
_app.module.js gzip 865 B N/A N/A
_error.module.js 5.82 kB N/A N/A
_error.module.js gzip 2.33 kB N/A N/A
index.module.js 319 B N/A N/A
index.module.js gzip 238 B N/A N/A
link.module.js 3.78 kB N/A N/A
link.module.js gzip 1.7 kB N/A N/A
routerDirect.module.js 411 B N/A N/A
routerDirect.module.js gzip 291 B N/A N/A
withRouter.module.js 423 B N/A N/A
withRouter.module.js gzip 288 B N/A N/A
Overall change
Fetched pages Overall decrease ✓
zeit/next.js canary timneutkens/next.js add/new-tracer Change
link 2.81 kB 0 B -2.81 kB
link gzip 847 B 0 B -847 B
index 2.76 kB 0 B -2.76 kB
index gzip 838 B 0 B -838 B
withRouter 2.82 kB 0 B -2.82 kB
withRouter gzip 837 B 0 B -837 B
Overall change -8.38 kB

Serverless Mode (Decrease detected ✓)
General Overall decrease ✓
zeit/next.js canary timneutkens/next.js add/new-tracer Change
buildDuration 26.7s 470ms -26.3s
nodeModulesSize 41.3 MB 41.1 MB -127 kB
Client Bundles (main, webpack, commons)
zeit/next.js canary timneutkens/next.js add/new-tracer Change
main-HASH.js 13.8 kB N/A N/A
main-HASH.js gzip 4.86 kB N/A N/A
webpack-HASH.js 1.53 kB N/A N/A
webpack-HASH.js gzip 746 B N/A N/A
commons.HASH.js 194 kB N/A N/A
commons.HASH.js gzip 63.1 kB N/A N/A
Overall change
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary timneutkens/next.js add/new-tracer Change
main-HASH.module.js 11.4 kB N/A N/A
main-HASH.module.js gzip 4.3 kB N/A N/A
webpack-HASH.module.js 1.53 kB N/A N/A
webpack-HASH.module.js gzip 746 B N/A N/A
commons.HASH.module.js 176 kB N/A N/A
commons.HASH.module.js gzip 57.2 kB N/A N/A
Overall change
Client Pages
zeit/next.js canary timneutkens/next.js add/new-tracer Change
_app.js 1.9 kB N/A N/A
_app.js gzip 905 B N/A N/A
_error.js 8.02 kB N/A N/A
_error.js gzip 3.12 kB N/A N/A
index.js 343 B N/A N/A
index.js gzip 237 B N/A N/A
link.js 4.07 kB N/A N/A
link.js gzip 1.79 kB N/A N/A
routerDirect.js 423 B N/A N/A
routerDirect.js gzip 290 B N/A N/A
withRouter.js 435 B N/A N/A
withRouter.js gzip 287 B N/A N/A
Overall change
Client Pages Modern
zeit/next.js canary timneutkens/next.js add/new-tracer Change
_app.module.js 1.79 kB N/A N/A
_app.module.js gzip 865 B N/A N/A
_error.module.js 5.82 kB N/A N/A
_error.module.js gzip 2.33 kB N/A N/A
index.module.js 319 B N/A N/A
index.module.js gzip 238 B N/A N/A
link.module.js 3.78 kB N/A N/A
link.module.js gzip 1.7 kB N/A N/A
routerDirect.module.js 411 B N/A N/A
routerDirect.module.js gzip 291 B N/A N/A
withRouter.module.js 423 B N/A N/A
withRouter.module.js gzip 288 B N/A N/A
Overall change
Serverless bundles
zeit/next.js canary timneutkens/next.js add/new-tracer Change
_error.js 247 kB N/A N/A
_error.js gzip 66.2 kB N/A N/A
index.js 247 kB N/A N/A
index.js gzip 66.6 kB N/A N/A
link.js 255 kB N/A N/A
link.js gzip 68.7 kB N/A N/A
routerDirect.js 248 kB N/A N/A
routerDirect.js gzip 66.5 kB N/A N/A
withRouter.js 248 kB N/A N/A
withRouter.js gzip 66.6 kB N/A N/A
Overall change

@ijjk
Copy link
Member

ijjk commented Aug 15, 2019

Stats from current PR

Default Server Mode (Decrease detected ✓)
General Overall decrease ✓
zeit/next.js canary timneutkens/next.js add/new-tracer Change
buildDuration 22.5s 469ms -22.1s
nodeModulesSize 41.3 MB 41.1 MB -127 kB
Client Bundles (main, webpack, commons)
zeit/next.js canary timneutkens/next.js add/new-tracer Change
main-HASH.js 13.8 kB N/A N/A
main-HASH.js gzip 4.86 kB N/A N/A
webpack-HASH.js 1.53 kB N/A N/A
webpack-HASH.js gzip 746 B N/A N/A
commons.HASH.js 194 kB N/A N/A
commons.HASH.js gzip 63.1 kB N/A N/A
Overall change
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary timneutkens/next.js add/new-tracer Change
main-HASH.module.js 11.4 kB N/A N/A
main-HASH.module.js gzip 4.3 kB N/A N/A
webpack-HASH.module.js 1.53 kB N/A N/A
webpack-HASH.module.js gzip 746 B N/A N/A
commons.HASH.module.js 176 kB N/A N/A
commons.HASH.module.js gzip 57.2 kB N/A N/A
Overall change
Client Pages
zeit/next.js canary timneutkens/next.js add/new-tracer Change
_app.js 1.9 kB N/A N/A
_app.js gzip 905 B N/A N/A
_error.js 8.02 kB N/A N/A
_error.js gzip 3.12 kB N/A N/A
index.js 343 B N/A N/A
index.js gzip 237 B N/A N/A
link.js 4.07 kB N/A N/A
link.js gzip 1.79 kB N/A N/A
routerDirect.js 423 B N/A N/A
routerDirect.js gzip 290 B N/A N/A
withRouter.js 435 B N/A N/A
withRouter.js gzip 286 B N/A N/A
Overall change
Client Pages Modern
zeit/next.js canary timneutkens/next.js add/new-tracer Change
_app.module.js 1.79 kB N/A N/A
_app.module.js gzip 865 B N/A N/A
_error.module.js 5.82 kB N/A N/A
_error.module.js gzip 2.33 kB N/A N/A
index.module.js 319 B N/A N/A
index.module.js gzip 238 B N/A N/A
link.module.js 3.78 kB N/A N/A
link.module.js gzip 1.7 kB N/A N/A
routerDirect.module.js 411 B N/A N/A
routerDirect.module.js gzip 291 B N/A N/A
withRouter.module.js 423 B N/A N/A
withRouter.module.js gzip 288 B N/A N/A
Overall change
Fetched pages Overall decrease ✓
zeit/next.js canary timneutkens/next.js add/new-tracer Change
link 2.81 kB 0 B -2.81 kB
link gzip 848 B 0 B -848 B
index 2.76 kB 0 B -2.76 kB
index gzip 837 B 0 B -837 B
withRouter 2.82 kB 0 B -2.82 kB
withRouter gzip 835 B 0 B -835 B
Overall change -8.38 kB

Serverless Mode (Decrease detected ✓)
General Overall decrease ✓
zeit/next.js canary timneutkens/next.js add/new-tracer Change
buildDuration 23.4s 430ms -23s
nodeModulesSize 41.3 MB 41.1 MB -127 kB
Client Bundles (main, webpack, commons)
zeit/next.js canary timneutkens/next.js add/new-tracer Change
main-HASH.js 13.8 kB N/A N/A
main-HASH.js gzip 4.86 kB N/A N/A
webpack-HASH.js 1.53 kB N/A N/A
webpack-HASH.js gzip 746 B N/A N/A
commons.HASH.js 194 kB N/A N/A
commons.HASH.js gzip 63.1 kB N/A N/A
Overall change
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary timneutkens/next.js add/new-tracer Change
main-HASH.module.js 11.4 kB N/A N/A
main-HASH.module.js gzip 4.3 kB N/A N/A
webpack-HASH.module.js 1.53 kB N/A N/A
webpack-HASH.module.js gzip 746 B N/A N/A
commons.HASH.module.js 176 kB N/A N/A
commons.HASH.module.js gzip 57.2 kB N/A N/A
Overall change
Client Pages
zeit/next.js canary timneutkens/next.js add/new-tracer Change
_app.js 1.9 kB N/A N/A
_app.js gzip 905 B N/A N/A
_error.js 8.02 kB N/A N/A
_error.js gzip 3.12 kB N/A N/A
index.js 343 B N/A N/A
index.js gzip 237 B N/A N/A
link.js 4.07 kB N/A N/A
link.js gzip 1.79 kB N/A N/A
routerDirect.js 423 B N/A N/A
routerDirect.js gzip 290 B N/A N/A
withRouter.js 435 B N/A N/A
withRouter.js gzip 287 B N/A N/A
Overall change
Client Pages Modern
zeit/next.js canary timneutkens/next.js add/new-tracer Change
_app.module.js 1.79 kB N/A N/A
_app.module.js gzip 865 B N/A N/A
_error.module.js 5.82 kB N/A N/A
_error.module.js gzip 2.33 kB N/A N/A
index.module.js 319 B N/A N/A
index.module.js gzip 238 B N/A N/A
link.module.js 3.78 kB N/A N/A
link.module.js gzip 1.7 kB N/A N/A
routerDirect.module.js 411 B N/A N/A
routerDirect.module.js gzip 291 B N/A N/A
withRouter.module.js 423 B N/A N/A
withRouter.module.js gzip 288 B N/A N/A
Overall change
Serverless bundles
zeit/next.js canary timneutkens/next.js add/new-tracer Change
_error.js 247 kB N/A N/A
_error.js gzip 66.3 kB N/A N/A
index.js 247 kB N/A N/A
index.js gzip 66.6 kB N/A N/A
link.js 255 kB N/A N/A
link.js gzip 68.7 kB N/A N/A
routerDirect.js 248 kB N/A N/A
routerDirect.js gzip 66.5 kB N/A N/A
withRouter.js 248 kB N/A N/A
withRouter.js gzip 66.6 kB N/A N/A
Overall change

@Timer Timer added this to the 9.0.5 milestone Aug 18, 2019
@ijjk
Copy link
Member

ijjk commented Aug 18, 2019

Stats from current PR

Default Server Mode (Increase detected ⚠️)
General Overall increase ⚠️
zeit/next.js canary timneutkens/next.js add/new-tracer Change
buildDuration 24.5s 23.5s -1s
nodeModulesSize 41.3 MB 41.3 MB ⚠️ +20.1 kB
Client Bundles (main, webpack, commons) Overall increase ⚠️
zeit/next.js canary timneutkens/next.js add/new-tracer Change
main-HASH.js 13.8 kB 13.8 kB ⚠️ +27 B
main-HASH.js gzip 4.86 kB 4.87 kB ⚠️ +3 B
webpack-HASH.js 1.53 kB 1.53 kB
webpack-HASH.js gzip 746 B 746 B
commons.HASH.js 194 kB 194 kB
commons.HASH.js gzip 63.1 kB 63.1 kB
Overall change ⚠️ +27 B
Client Bundles (main, webpack, commons) Modern Overall increase ⚠️
zeit/next.js canary timneutkens/next.js add/new-tracer Change
main-HASH.module.js 11.4 kB 11.4 kB ⚠️ +26 B
main-HASH.module.js gzip 4.31 kB 4.31 kB
webpack-HASH.module.js 1.53 kB 1.53 kB
webpack-HASH.module.js gzip 746 B 746 B
commons.HASH.module.js 176 kB 176 kB
commons.HASH.module.js gzip 57.2 kB 57.2 kB
Overall change ⚠️ +26 B
Client Pages Overall increase ⚠️
zeit/next.js canary timneutkens/next.js add/new-tracer Change
_app.js 1.9 kB 1.9 kB
_app.js gzip 905 B 905 B
_error.js 8.02 kB 8.02 kB
_error.js gzip 3.12 kB 3.12 kB
index.js 343 B 343 B
index.js gzip 237 B 237 B
link.js 4.04 kB 4.07 kB ⚠️ +28 B
link.js gzip 1.79 kB 1.79 kB ⚠️ +1 B
routerDirect.js 429 B 423 B -6 B
routerDirect.js gzip 293 B 290 B -3 B
withRouter.js 439 B 435 B -4 B
withRouter.js gzip 290 B 287 B -3 B
Overall change ⚠️ +18 B
Client Pages Modern Overall increase ⚠️
zeit/next.js canary timneutkens/next.js add/new-tracer Change
_app.module.js 1.79 kB 1.79 kB
_app.module.js gzip 865 B 865 B
_error.module.js 5.82 kB 5.82 kB
_error.module.js gzip 2.33 kB 2.33 kB
index.module.js 319 B 319 B
index.module.js gzip 238 B 238 B
link.module.js 3.75 kB 3.78 kB ⚠️ +28 B
link.module.js gzip 1.7 kB 1.7 kB ⚠️ +2 B
routerDirect.module.js 417 B 411 B -6 B
routerDirect.module.js gzip 293 B 291 B -2 B
withRouter.module.js 427 B 423 B -4 B
withRouter.module.js gzip 292 B 288 B -4 B
Overall change ⚠️ +18 B
Fetched pages Overall increase ⚠️
zeit/next.js canary timneutkens/next.js add/new-tracer Change
link 2.8 kB 2.81 kB ⚠️ +4 B
link gzip 848 B 845 B -3 B
index 2.75 kB 2.76 kB ⚠️ +4 B
index gzip 837 B 836 B -1 B
withRouter 2.81 kB 2.82 kB ⚠️ +4 B
withRouter gzip 837 B 832 B -5 B
Overall change ⚠️ +12 B

Diffs

Diff for main-HASH.js
@@ -1,4 +1,4 @@
-(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[2],{
+(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[8],{
 
 /***/ "/h46":
 /***/ (function(module, exports, __webpack_require__) {
@@ -705,11 +705,7 @@ function markRenderComplete() {
 
 function clearMarks() {
   performance.clearMarks();
-  /*
-  * TODO: uncomment the following line when we have a way to
-  * expose this to user code.
-  */
-  // performance.clearMeasures()
+  performance.clearMeasures();
 }
 
 function AppContainer(_ref4) {
@@ -1105,7 +1101,7 @@ function () {
         // rather downloading it again.
 
 
-        if (document.querySelector("script[data-next-page=\"" + route + "\"]")) {
+        if (document.getElementById("__NEXT_PAGE__" + route)) {
           return;
         }
 
@@ -1250,7 +1246,7 @@ function () {
                 url = isDependency ? route : _this2.assetPrefix + "/_next/static/" + encodeURIComponent(_this2.buildId) + "/pages" + scriptRoute; // n.b. If preload is not supported, we fall back to `loadPage` which has
                 // its own deduping mechanism.
 
-                if (!document.querySelector("link[rel=\"preload\"][href^=\"" + url + "\"], script[data-next-page=\"" + route + "\"]")) {
+                if (!(document.querySelector("link[rel=\"preload\"][href^=\"" + url + "\"]") || document.getElementById("__NEXT_PAGE__" + route))) {
                   _context2.next = 9;
                   break;
                 }
Diff for main-HASH.module.js
@@ -1,4 +1,4 @@
-(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[2],{
+(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[8],{
 
 /***/ "+oT+":
 /***/ (function(module, exports, __webpack_require__) {
@@ -587,11 +587,7 @@ function markRenderComplete() {
 
 function clearMarks() {
   performance.clearMarks();
-  /*
-  * TODO: uncomment the following line when we have a way to
-  * expose this to user code.
-  */
-  // performance.clearMeasures()
+  performance.clearMeasures();
 }
 
 function AppContainer(_ref4) {
@@ -931,7 +927,7 @@ class PageLoader {
       this.pageRegisterEvents.on(route, fire); // If the page is loading via SSR, we need to wait for it
       // rather downloading it again.
 
-      if (document.querySelector("script[data-next-page=\"" + route + "\"]")) {
+      if (document.getElementById("__NEXT_PAGE__" + route)) {
         return;
       }
 
@@ -1029,7 +1025,7 @@ class PageLoader {
       const url = isDependency ? route : _this2.assetPrefix + "/_next/static/" + encodeURIComponent(_this2.buildId) + "/pages" + scriptRoute; // n.b. If preload is not supported, we fall back to `loadPage` which has
       // its own deduping mechanism.
 
-      if (document.querySelector("link[rel=\"preload\"][href^=\"" + url + "\"], script[data-next-page=\"" + route + "\"]")) {
+      if (document.querySelector("link[rel=\"preload\"][href^=\"" + url + "\"]") || document.getElementById("__NEXT_PAGE__" + route)) {
         return;
       } // Inspired by quicklink, license: https://github.com/GoogleChromeLabs/quicklink/blob/master/LICENSE
Diff for _app.js
@@ -1,4 +1,4 @@
-(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[3],{
+(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[2],{
 
 /***/ "B5Ud":
 /***/ (function(module, exports, __webpack_require__) {
Diff for _error.js
@@ -1,4 +1,4 @@
-(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[4],{
+(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[3],{
 
 /***/ "+iuc":
 /***/ (function(module, exports, __webpack_require__) {
Diff for index.js
@@ -1,4 +1,4 @@
-(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[5],{
+(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[4],{
 
 /***/ "RNiq":
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
Diff for link.js
@@ -1,4 +1,4 @@
-(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[6],{
+(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[5],{
 
 /***/ "/h46":
 /***/ (function(module, exports, __webpack_require__) {
@@ -26,11 +26,10 @@ __webpack_require__.r(__webpack_exports__);
 /* harmony import */ var next_link__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("YFqc");
 /* harmony import */ var next_link__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(next_link__WEBPACK_IMPORTED_MODULE_1__);
 
-var __jsx = react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement;
 
 
 function aLink(props) {
-  return __jsx("div", null, __jsx("h3", null, "A Link page!"), __jsx(next_link__WEBPACK_IMPORTED_MODULE_1___default.a, {
+  return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", null, react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("h3", null, "A Link page!"), react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(next_link__WEBPACK_IMPORTED_MODULE_1___default.a, {
     href: "/"
   }, "Go to /"));
 }
Diff for routerDirect.js
@@ -1,4 +1,4 @@
-(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[7],{
+(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[6],{
 
 /***/ "LtRI":
 /***/ (function(module, exports, __webpack_require__) {
@@ -23,13 +23,12 @@ __webpack_require__.r(__webpack_exports__);
 /* harmony import */ var next_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("nOHt");
 /* harmony import */ var next_router__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(next_router__WEBPACK_IMPORTED_MODULE_1__);
 
-var __jsx = react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement;
 
 /* eslint-disable-next-line */
 
 
 function routerDirect(props) {
-  return __jsx("div", null, "I import the router directly");
+  return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", null, "I import the router directly");
 }
 
 routerDirect.getInitialProps = function () {
Diff for withRouter.js
@@ -1,4 +1,4 @@
-(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[8],{
+(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[7],{
 
 /***/ "0Hlz":
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
@@ -10,11 +10,10 @@ __webpack_require__.r(__webpack_exports__);
 /* harmony import */ var next_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("nOHt");
 /* harmony import */ var next_router__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(next_router__WEBPACK_IMPORTED_MODULE_1__);
 
-var __jsx = react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement;
 
 
 function useWithRouter(props) {
-  return __jsx("div", null, "I use withRouter");
+  return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", null, "I use withRouter");
 }
 
 useWithRouter.getInitialProps = function () {
Diff for _app.module.js
@@ -1,4 +1,4 @@
-(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[3],{
+(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[2],{
 
 /***/ "+oT+":
 /***/ (function(module, exports, __webpack_require__) {
Diff for _error.module.js
@@ -1,4 +1,4 @@
-(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[4],{
+(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[3],{
 
 /***/ "+iuc":
 /***/ (function(module, exports, __webpack_require__) {
Diff for index.module.js
@@ -1,4 +1,4 @@
-(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[5],{
+(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[4],{
 
 /***/ "RNiq":
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
Diff for link.module.js
@@ -1,4 +1,4 @@
-(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[6],{
+(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[5],{
 
 /***/ "/h46":
 /***/ (function(module, exports, __webpack_require__) {
@@ -26,11 +26,10 @@ __webpack_require__.r(__webpack_exports__);
 /* harmony import */ var next_link__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("YFqc");
 /* harmony import */ var next_link__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(next_link__WEBPACK_IMPORTED_MODULE_1__);
 
-var __jsx = react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement;
 
 
 function aLink(props) {
-  return __jsx("div", null, __jsx("h3", null, "A Link page!"), __jsx(next_link__WEBPACK_IMPORTED_MODULE_1___default.a, {
+  return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", null, react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("h3", null, "A Link page!"), react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(next_link__WEBPACK_IMPORTED_MODULE_1___default.a, {
     href: "/"
   }, "Go to /"));
 }
Diff for routerDirect.module.js
@@ -1,4 +1,4 @@
-(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[7],{
+(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[6],{
 
 /***/ "LtRI":
 /***/ (function(module, exports, __webpack_require__) {
@@ -23,13 +23,12 @@ __webpack_require__.r(__webpack_exports__);
 /* harmony import */ var next_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("nOHt");
 /* harmony import */ var next_router__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(next_router__WEBPACK_IMPORTED_MODULE_1__);
 
-var __jsx = react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement;
 
 /* eslint-disable-next-line */
 
 
 function routerDirect(props) {
-  return __jsx("div", null, "I import the router directly");
+  return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", null, "I import the router directly");
 }
 
 routerDirect.getInitialProps = () => ({});
Diff for withRouter.module.js
@@ -1,4 +1,4 @@
-(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[8],{
+(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[7],{
 
 /***/ "0Hlz":
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
@@ -10,11 +10,10 @@ __webpack_require__.r(__webpack_exports__);
 /* harmony import */ var next_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("nOHt");
 /* harmony import */ var next_router__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(next_router__WEBPACK_IMPORTED_MODULE_1__);
 
-var __jsx = react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement;
 
 
 function useWithRouter(props) {
-  return __jsx("div", null, "I use withRouter");
+  return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", null, "I use withRouter");
 }
 
 useWithRouter.getInitialProps = () => ({});

Serverless Mode (Increase detected ⚠️)
General Overall increase ⚠️
zeit/next.js canary timneutkens/next.js add/new-tracer Change
buildDuration 24.8s 24.6s -173ms
nodeModulesSize 41.3 MB 41.3 MB ⚠️ +20.1 kB
Client Bundles (main, webpack, commons) Overall increase ⚠️
zeit/next.js canary timneutkens/next.js add/new-tracer Change
main-HASH.js 13.8 kB 13.8 kB ⚠️ +27 B
main-HASH.js gzip 4.86 kB 4.87 kB ⚠️ +3 B
webpack-HASH.js 1.53 kB 1.53 kB
webpack-HASH.js gzip 746 B 746 B
commons.HASH.js 194 kB 194 kB
commons.HASH.js gzip 63.1 kB 63.1 kB
Overall change ⚠️ +27 B
Client Bundles (main, webpack, commons) Modern Overall increase ⚠️
zeit/next.js canary timneutkens/next.js add/new-tracer Change
main-HASH.module.js 11.4 kB 11.4 kB ⚠️ +26 B
main-HASH.module.js gzip 4.31 kB 4.31 kB
webpack-HASH.module.js 1.53 kB 1.53 kB
webpack-HASH.module.js gzip 746 B 746 B
commons.HASH.module.js 176 kB 176 kB
commons.HASH.module.js gzip 57.2 kB 57.2 kB
Overall change ⚠️ +26 B
Client Pages Overall increase ⚠️
zeit/next.js canary timneutkens/next.js add/new-tracer Change
_app.js 1.9 kB 1.9 kB
_app.js gzip 905 B 905 B
_error.js 8.02 kB 8.02 kB
_error.js gzip 3.12 kB 3.12 kB
index.js 343 B 343 B
index.js gzip 237 B 237 B
link.js 4.04 kB 4.07 kB ⚠️ +28 B
link.js gzip 1.79 kB 1.79 kB ⚠️ +1 B
routerDirect.js 429 B 423 B -6 B
routerDirect.js gzip 292 B 290 B -2 B
withRouter.js 439 B 435 B -4 B
withRouter.js gzip 290 B 286 B -4 B
Overall change ⚠️ +18 B
Client Pages Modern Overall increase ⚠️
zeit/next.js canary timneutkens/next.js add/new-tracer Change
_app.module.js 1.79 kB 1.79 kB
_app.module.js gzip 865 B 865 B
_error.module.js 5.82 kB 5.82 kB
_error.module.js gzip 2.33 kB 2.33 kB
index.module.js 319 B 319 B
index.module.js gzip 238 B 238 B
link.module.js 3.75 kB 3.78 kB ⚠️ +28 B
link.module.js gzip 1.7 kB 1.7 kB ⚠️ +1 B
routerDirect.module.js 417 B 411 B -6 B
routerDirect.module.js gzip 292 B 291 B -1 B
withRouter.module.js 427 B 423 B -4 B
withRouter.module.js gzip 291 B 288 B -3 B
Overall change ⚠️ +18 B
Serverless bundles Overall decrease ✓
zeit/next.js canary timneutkens/next.js add/new-tracer Change
_error.js 247 kB 247 kB -26 B
_error.js gzip 66.3 kB 66.3 kB
index.js 247 kB 247 kB -26 B
index.js gzip 66.6 kB 66.6 kB
link.js 255 kB 255 kB ⚠️ +3 B
link.js gzip 68.7 kB 68.7 kB -8 B
routerDirect.js 248 kB 248 kB -45 B
routerDirect.js gzip 66.5 kB 66.5 kB -12 B
withRouter.js 248 kB 248 kB -45 B
withRouter.js gzip 66.6 kB 66.6 kB -14 B
Overall change -139 B

@ijjk
Copy link
Member

ijjk commented Aug 18, 2019

Stats from current PR

Default Server Mode (Increase detected ⚠️)
General Overall increase ⚠️
zeit/next.js canary timneutkens/next.js add/new-tracer Change
buildDuration 26.6s 26.3s -232ms
nodeModulesSize 41.3 MB 41.3 MB ⚠️ +21.2 kB
Client Bundles (main, webpack, commons)
zeit/next.js canary timneutkens/next.js add/new-tracer Change
main-HASH.js 17.9 kB 17.9 kB
main-HASH.js gzip 6.56 kB 6.56 kB
webpack-HASH.js 1.53 kB 1.53 kB
webpack-HASH.js gzip 746 B 746 B
commons.HASH.js 190 kB 190 kB
commons.HASH.js gzip 61.6 kB 61.6 kB
Overall change
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary timneutkens/next.js add/new-tracer Change
main-HASH.module.js 16.2 kB 16.2 kB
main-HASH.module.js gzip 6.28 kB 6.28 kB
webpack-HASH.module.js 1.53 kB 1.53 kB
webpack-HASH.module.js gzip 746 B 746 B
commons.HASH.module.js 171 kB 171 kB
commons.HASH.module.js gzip 55.4 kB 55.4 kB
Overall change
Client Pages
zeit/next.js canary timneutkens/next.js add/new-tracer Change
_app.js 1.9 kB 1.9 kB
_app.js gzip 905 B 905 B
_error.js 12.1 kB 12.1 kB
_error.js gzip 4.76 kB 4.76 kB
hooks.js 1.06 kB 1.06 kB
hooks.js gzip 600 B 600 B
index.js 343 B 343 B
index.js gzip 237 B 237 B
link.js 8.13 kB 8.13 kB
link.js gzip 3.49 kB 3.49 kB
routerDirect.js 429 B 429 B
routerDirect.js gzip 292 B 292 B
withRouter.js 439 B 439 B
withRouter.js gzip 290 B 290 B
Overall change
Client Pages Modern
zeit/next.js canary timneutkens/next.js add/new-tracer Change
_app.module.js 1.79 kB 1.79 kB
_app.module.js gzip 865 B 865 B
_error.module.js 10.6 kB 10.6 kB
_error.module.js gzip 4.31 kB 4.31 kB
hooks.module.js 596 B 596 B
hooks.module.js gzip 354 B 354 B
index.module.js 319 B 319 B
index.module.js gzip 238 B 238 B
link.module.js 8.52 kB 8.52 kB
link.module.js gzip 3.67 kB 3.67 kB
routerDirect.module.js 417 B 417 B
routerDirect.module.js gzip 292 B 292 B
withRouter.module.js 427 B 427 B
withRouter.module.js gzip 291 B 291 B
Overall change
Fetched pages
zeit/next.js canary timneutkens/next.js add/new-tracer Change
link 2.8 kB 2.8 kB
link gzip 848 B 849 B ⚠️ +1 B
index 2.75 kB 2.75 kB
index gzip 840 B 842 B ⚠️ +2 B
withRouter 2.81 kB 2.81 kB
withRouter gzip 836 B 838 B ⚠️ +2 B
Overall change

Serverless Mode (Increase detected ⚠️)
General Overall increase ⚠️
zeit/next.js canary timneutkens/next.js add/new-tracer Change
buildDuration 27.8s 26.6s -1.1s
nodeModulesSize 41.3 MB 41.3 MB ⚠️ +21.2 kB
Client Bundles (main, webpack, commons)
zeit/next.js canary timneutkens/next.js add/new-tracer Change
main-HASH.js 17.9 kB 17.9 kB
main-HASH.js gzip 6.56 kB 6.56 kB
webpack-HASH.js 1.53 kB 1.53 kB
webpack-HASH.js gzip 746 B 746 B
commons.HASH.js 190 kB 190 kB
commons.HASH.js gzip 61.6 kB 61.6 kB
Overall change
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary timneutkens/next.js add/new-tracer Change
main-HASH.module.js 16.2 kB 16.2 kB
main-HASH.module.js gzip 6.28 kB 6.28 kB
webpack-HASH.module.js 1.53 kB 1.53 kB
webpack-HASH.module.js gzip 746 B 746 B
commons.HASH.module.js 171 kB 171 kB
commons.HASH.module.js gzip 55.4 kB 55.4 kB
Overall change
Client Pages
zeit/next.js canary timneutkens/next.js add/new-tracer Change
_app.js 1.9 kB 1.9 kB
_app.js gzip 905 B 905 B
_error.js 12.1 kB 12.1 kB
_error.js gzip 4.76 kB 4.76 kB
hooks.js 1.06 kB 1.06 kB
hooks.js gzip 600 B 600 B
index.js 343 B 343 B
index.js gzip 237 B 237 B
link.js 8.13 kB 8.13 kB
link.js gzip 3.49 kB 3.49 kB
routerDirect.js 429 B 429 B
routerDirect.js gzip 292 B 292 B
withRouter.js 439 B 439 B
withRouter.js gzip 290 B 290 B
Overall change
Client Pages Modern
zeit/next.js canary timneutkens/next.js add/new-tracer Change
_app.module.js 1.79 kB 1.79 kB
_app.module.js gzip 865 B 865 B
_error.module.js 10.6 kB 10.6 kB
_error.module.js gzip 4.31 kB 4.31 kB
hooks.module.js 596 B 596 B
hooks.module.js gzip 354 B 354 B
index.module.js 319 B 319 B
index.module.js gzip 238 B 238 B
link.module.js 8.52 kB 8.52 kB
link.module.js gzip 3.67 kB 3.67 kB
routerDirect.module.js 417 B 417 B
routerDirect.module.js gzip 292 B 292 B
withRouter.module.js 427 B 427 B
withRouter.module.js gzip 291 B 291 B
Overall change
Serverless bundles
zeit/next.js canary timneutkens/next.js add/new-tracer Change
_error.js 247 kB 247 kB
_error.js gzip 66.3 kB 66.3 kB
hooks.html 2.87 kB 2.87 kB
hooks.html gzip 863 B 864 B ⚠️ +1 B
index.js 248 kB 248 kB
index.js gzip 66.6 kB 66.6 kB ⚠️ +1 B
link.js 255 kB 255 kB
link.js gzip 68.8 kB 68.8 kB
routerDirect.js 248 kB 248 kB
routerDirect.js gzip 66.5 kB 66.5 kB
withRouter.js 248 kB 248 kB
withRouter.js gzip 66.6 kB 66.6 kB ⚠️ +1 B
Overall change

@ijjk
Copy link
Member

ijjk commented Aug 18, 2019

Stats from current PR

Default Server Mode (Increase detected ⚠️)
General Overall increase ⚠️
zeit/next.js canary timneutkens/next.js add/new-tracer Change
buildDuration 25.2s 24.9s -224ms
nodeModulesSize 41.3 MB 41.3 MB ⚠️ +21.2 kB
Client Bundles (main, webpack, commons)
zeit/next.js canary timneutkens/next.js add/new-tracer Change
main-HASH.js 17.9 kB 17.9 kB
main-HASH.js gzip 6.56 kB 6.56 kB
webpack-HASH.js 1.53 kB 1.53 kB
webpack-HASH.js gzip 746 B 746 B
commons.HASH.js 190 kB 190 kB
commons.HASH.js gzip 61.6 kB 61.6 kB
Overall change
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary timneutkens/next.js add/new-tracer Change
main-HASH.module.js 16.2 kB 16.2 kB
main-HASH.module.js gzip 6.28 kB 6.28 kB
webpack-HASH.module.js 1.53 kB 1.53 kB
webpack-HASH.module.js gzip 746 B 746 B
commons.HASH.module.js 171 kB 171 kB
commons.HASH.module.js gzip 55.4 kB 55.4 kB
Overall change
Client Pages
zeit/next.js canary timneutkens/next.js add/new-tracer Change
_app.js 1.9 kB 1.9 kB
_app.js gzip 905 B 905 B
_error.js 12.1 kB 12.1 kB
_error.js gzip 4.76 kB 4.76 kB
hooks.js 1.06 kB 1.06 kB
hooks.js gzip 600 B 600 B
index.js 343 B 343 B
index.js gzip 237 B 237 B
link.js 8.13 kB 8.13 kB
link.js gzip 3.49 kB 3.49 kB
routerDirect.js 429 B 429 B
routerDirect.js gzip 292 B 292 B
withRouter.js 439 B 439 B
withRouter.js gzip 290 B 290 B
Overall change
Client Pages Modern
zeit/next.js canary timneutkens/next.js add/new-tracer Change
_app.module.js 1.79 kB 1.79 kB
_app.module.js gzip 865 B 865 B
_error.module.js 10.6 kB 10.6 kB
_error.module.js gzip 4.31 kB 4.31 kB
hooks.module.js 596 B 596 B
hooks.module.js gzip 354 B 354 B
index.module.js 319 B 319 B
index.module.js gzip 238 B 238 B
link.module.js 8.52 kB 8.52 kB
link.module.js gzip 3.67 kB 3.67 kB
routerDirect.module.js 417 B 417 B
routerDirect.module.js gzip 292 B 292 B
withRouter.module.js 427 B 427 B
withRouter.module.js gzip 291 B 291 B
Overall change
Fetched pages
zeit/next.js canary timneutkens/next.js add/new-tracer Change
link 2.8 kB 2.8 kB
link gzip 850 B 848 B -2 B
index 2.75 kB 2.75 kB
index gzip 842 B 841 B -1 B
withRouter 2.81 kB 2.81 kB
withRouter gzip 838 B 837 B -1 B
Overall change

Serverless Mode (Increase detected ⚠️)
General Overall increase ⚠️
zeit/next.js canary timneutkens/next.js add/new-tracer Change
buildDuration 26.8s 26.5s -320ms
nodeModulesSize 41.3 MB 41.3 MB ⚠️ +21.2 kB
Client Bundles (main, webpack, commons)
zeit/next.js canary timneutkens/next.js add/new-tracer Change
main-HASH.js 17.9 kB 17.9 kB
main-HASH.js gzip 6.56 kB 6.56 kB
webpack-HASH.js 1.53 kB 1.53 kB
webpack-HASH.js gzip 746 B 746 B
commons.HASH.js 190 kB 190 kB
commons.HASH.js gzip 61.6 kB 61.6 kB
Overall change
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary timneutkens/next.js add/new-tracer Change
main-HASH.module.js 16.2 kB 16.2 kB
main-HASH.module.js gzip 6.28 kB 6.28 kB
webpack-HASH.module.js 1.53 kB 1.53 kB
webpack-HASH.module.js gzip 746 B 746 B
commons.HASH.module.js 171 kB 171 kB
commons.HASH.module.js gzip 55.4 kB 55.4 kB
Overall change
Client Pages
zeit/next.js canary timneutkens/next.js add/new-tracer Change
_app.js 1.9 kB 1.9 kB
_app.js gzip 905 B 905 B
_error.js 12.1 kB 12.1 kB
_error.js gzip 4.76 kB 4.76 kB
hooks.js 1.06 kB 1.06 kB
hooks.js gzip 600 B 600 B
index.js 343 B 343 B
index.js gzip 237 B 237 B
link.js 8.13 kB 8.13 kB
link.js gzip 3.49 kB 3.49 kB
routerDirect.js 429 B 429 B
routerDirect.js gzip 292 B 292 B
withRouter.js 439 B 439 B
withRouter.js gzip 290 B 290 B
Overall change
Client Pages Modern
zeit/next.js canary timneutkens/next.js add/new-tracer Change
_app.module.js 1.79 kB 1.79 kB
_app.module.js gzip 865 B 865 B
_error.module.js 10.6 kB 10.6 kB
_error.module.js gzip 4.31 kB 4.31 kB
hooks.module.js 596 B 596 B
hooks.module.js gzip 354 B 354 B
index.module.js 319 B 319 B
index.module.js gzip 238 B 238 B
link.module.js 8.52 kB 8.52 kB
link.module.js gzip 3.67 kB 3.67 kB
routerDirect.module.js 417 B 417 B
routerDirect.module.js gzip 292 B 292 B
withRouter.module.js 427 B 427 B
withRouter.module.js gzip 291 B 291 B
Overall change
Serverless bundles
zeit/next.js canary timneutkens/next.js add/new-tracer Change
_error.js 247 kB 247 kB
_error.js gzip 66.3 kB 66.3 kB -1 B
hooks.html 2.87 kB 2.87 kB
hooks.html gzip 865 B 864 B -1 B
index.js 248 kB 248 kB
index.js gzip 66.6 kB 66.6 kB -2 B
link.js 255 kB 255 kB
link.js gzip 68.8 kB 68.8 kB -1 B
routerDirect.js 248 kB 248 kB
routerDirect.js gzip 66.5 kB 66.5 kB -2 B
withRouter.js 248 kB 248 kB
withRouter.js gzip 66.6 kB 66.6 kB
Overall change

@timneutkens timneutkens modified the milestones: 9.0.5, 9.0.4 Aug 18, 2019
@ijjk
Copy link
Member

ijjk commented Aug 18, 2019

Stats from current PR

Default Server Mode (Increase detected ⚠️)
General Overall increase ⚠️
zeit/next.js canary timneutkens/next.js add/new-tracer Change
buildDuration 23.7s 23.8s ⚠️ +91ms
nodeModulesSize 41.3 MB 41.3 MB ⚠️ +21.2 kB
Client Bundles (main, webpack, commons)
zeit/next.js canary timneutkens/next.js add/new-tracer Change
main-HASH.js 17.9 kB 17.9 kB
main-HASH.js gzip 6.56 kB 6.56 kB
webpack-HASH.js 1.53 kB 1.53 kB
webpack-HASH.js gzip 746 B 746 B
commons.HASH.js 190 kB 190 kB
commons.HASH.js gzip 61.6 kB 61.6 kB
Overall change
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary timneutkens/next.js add/new-tracer Change
main-HASH.module.js 16.2 kB 16.2 kB
main-HASH.module.js gzip 6.28 kB 6.28 kB
webpack-HASH.module.js 1.53 kB 1.53 kB
webpack-HASH.module.js gzip 746 B 746 B
commons.HASH.module.js 171 kB 171 kB
commons.HASH.module.js gzip 55.4 kB 55.4 kB
Overall change
Client Pages
zeit/next.js canary timneutkens/next.js add/new-tracer Change
_app.js 1.9 kB 1.9 kB
_app.js gzip 905 B 905 B
_error.js 12.1 kB 12.1 kB
_error.js gzip 4.76 kB 4.76 kB
hooks.js 1.06 kB 1.06 kB
hooks.js gzip 600 B 600 B
index.js 343 B 343 B
index.js gzip 237 B 237 B
link.js 8.13 kB 8.13 kB
link.js gzip 3.49 kB 3.49 kB
routerDirect.js 429 B 429 B
routerDirect.js gzip 292 B 292 B
withRouter.js 439 B 439 B
withRouter.js gzip 290 B 290 B
Overall change
Client Pages Modern
zeit/next.js canary timneutkens/next.js add/new-tracer Change
_app.module.js 1.79 kB 1.79 kB
_app.module.js gzip 865 B 865 B
_error.module.js 10.6 kB 10.6 kB
_error.module.js gzip 4.31 kB 4.31 kB
hooks.module.js 596 B 596 B
hooks.module.js gzip 354 B 354 B
index.module.js 319 B 319 B
index.module.js gzip 238 B 238 B
link.module.js 8.52 kB 8.52 kB
link.module.js gzip 3.67 kB 3.67 kB
routerDirect.module.js 417 B 417 B
routerDirect.module.js gzip 292 B 292 B
withRouter.module.js 427 B 427 B
withRouter.module.js gzip 291 B 291 B
Overall change
Fetched pages
zeit/next.js canary timneutkens/next.js add/new-tracer Change
link 2.8 kB 2.8 kB
link gzip 850 B 849 B -1 B
index 2.75 kB 2.75 kB
index gzip 843 B 841 B -2 B
withRouter 2.81 kB 2.81 kB
withRouter gzip 838 B 837 B -1 B
Overall change

Serverless Mode (Increase detected ⚠️)
General Overall increase ⚠️
zeit/next.js canary timneutkens/next.js add/new-tracer Change
buildDuration 25s 25s -37ms
nodeModulesSize 41.3 MB 41.3 MB ⚠️ +21.2 kB
Client Bundles (main, webpack, commons)
zeit/next.js canary timneutkens/next.js add/new-tracer Change
main-HASH.js 17.9 kB 17.9 kB
main-HASH.js gzip 6.56 kB 6.56 kB
webpack-HASH.js 1.53 kB 1.53 kB
webpack-HASH.js gzip 746 B 746 B
commons.HASH.js 190 kB 190 kB
commons.HASH.js gzip 61.6 kB 61.6 kB
Overall change
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary timneutkens/next.js add/new-tracer Change
main-HASH.module.js 16.2 kB 16.2 kB
main-HASH.module.js gzip 6.28 kB 6.28 kB ⚠️ +1 B
webpack-HASH.module.js 1.53 kB 1.53 kB
webpack-HASH.module.js gzip 746 B 746 B
commons.HASH.module.js 171 kB 171 kB
commons.HASH.module.js gzip 55.4 kB 55.4 kB
Overall change
Client Pages
zeit/next.js canary timneutkens/next.js add/new-tracer Change
_app.js 1.9 kB 1.9 kB
_app.js gzip 905 B 905 B
_error.js 12.1 kB 12.1 kB
_error.js gzip 4.76 kB 4.76 kB
hooks.js 1.06 kB 1.06 kB
hooks.js gzip 601 B 600 B -1 B
index.js 343 B 343 B
index.js gzip 237 B 237 B
link.js 8.13 kB 8.13 kB
link.js gzip 3.49 kB 3.49 kB ⚠️ +1 B
routerDirect.js 429 B 429 B
routerDirect.js gzip 292 B 292 B
withRouter.js 439 B 439 B
withRouter.js gzip 289 B 290 B ⚠️ +1 B
Overall change
Client Pages Modern
zeit/next.js canary timneutkens/next.js add/new-tracer Change
_app.module.js 1.79 kB 1.79 kB
_app.module.js gzip 865 B 865 B
_error.module.js 10.6 kB 10.6 kB
_error.module.js gzip 4.31 kB 4.31 kB
hooks.module.js 596 B 596 B
hooks.module.js gzip 354 B 354 B
index.module.js 319 B 319 B
index.module.js gzip 238 B 238 B
link.module.js 8.52 kB 8.52 kB
link.module.js gzip 3.67 kB 3.67 kB
routerDirect.module.js 417 B 417 B
routerDirect.module.js gzip 292 B 292 B
withRouter.module.js 427 B 427 B
withRouter.module.js gzip 291 B 291 B
Overall change
Serverless bundles
zeit/next.js canary timneutkens/next.js add/new-tracer Change
_error.js 247 kB 247 kB
_error.js gzip 66.3 kB 66.3 kB -2 B
hooks.html 2.87 kB 2.87 kB
hooks.html gzip 865 B 865 B
index.js 248 kB 248 kB
index.js gzip 66.6 kB 66.6 kB
link.js 255 kB 255 kB
link.js gzip 68.8 kB 68.8 kB
routerDirect.js 248 kB 248 kB
routerDirect.js gzip 66.5 kB 66.5 kB
withRouter.js 248 kB 248 kB
withRouter.js gzip 66.6 kB 66.6 kB -1 B
Overall change

@timneutkens timneutkens merged commit 46c4f20 into vercel:canary Aug 18, 2019
@timneutkens timneutkens deleted the add/new-tracer branch August 18, 2019 19:45
@vercel vercel locked as resolved and limited conversation to collaborators Feb 1, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants