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

Positive req/seq change is not a warning #14640

Merged
merged 4 commits into from
Jun 28, 2020
Merged

Conversation

Janpot
Copy link
Contributor

@Janpot Janpot commented Jun 27, 2020

Tweak PR stats message for req/sec metrics. I think they should warn when they are negative, not when positive

@ijjk
Copy link
Member

ijjk commented Jun 27, 2020

Stats from current PR

Default Server Mode (Decrease detected ✓)
General
vercel/next.js canary Janpot/next.js tweak-pr-msg Change
buildDuration 11s 10.4s -659ms
nodeModulesSize 67.1 MB 67.1 MB
Page Load Tests Overall decrease ⚠️
vercel/next.js canary Janpot/next.js tweak-pr-msg Change
/ failed reqs 0 0
/ total time (seconds) 1.748 1.768 ⚠️ +0.02
/ avg req/sec 1430.04 1413.77 -16.27
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.048 1.083 ⚠️ +0.03
/error-in-render avg req/sec 2385.17 2307.91 -77.26
Client Bundles (main, webpack, commons)
vercel/next.js canary Janpot/next.js tweak-pr-msg Change
main-HASH.js gzip 6.51 kB 6.51 kB
webpack-HASH.js gzip 751 B 751 B
19b7e98f51cc..558d.js gzip 10.7 kB 10.7 kB
framework.HASH.js gzip 39.1 kB 39.1 kB
Overall change 57.1 kB 57.1 kB
Client Bundles (main, webpack, commons) Modern
vercel/next.js canary Janpot/next.js tweak-pr-msg Change
main-HASH.module.js gzip 5.59 kB 5.59 kB
webpack-HASH..dule.js gzip 751 B 751 B
19b7e98f51cc..dule.js gzip 7.08 kB 7.08 kB
framework.HA..dule.js gzip 39.1 kB 39.1 kB
Overall change 52.6 kB 52.6 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary Janpot/next.js tweak-pr-msg Change
polyfills-HASH.js gzip 26.3 kB 26.3 kB
Overall change 26.3 kB 26.3 kB
Client Build Manifests
vercel/next.js canary Janpot/next.js tweak-pr-msg Change
_buildManifest.js gzip 268 B 268 B
_buildManife..dule.js gzip 272 B 272 B
Overall change 540 B 540 B
Rendered Page Sizes
vercel/next.js canary Janpot/next.js tweak-pr-msg Change
index.html gzip 954 B 954 B
link.html gzip 959 B 959 B
withRouter.html gzip 947 B 947 B
Overall change 2.86 kB 2.86 kB

Serverless Mode
General
vercel/next.js canary Janpot/next.js tweak-pr-msg Change
buildDuration 11.6s 11.7s ⚠️ +159ms
nodeModulesSize 67.1 MB 67.1 MB
Client Bundles (main, webpack, commons)
vercel/next.js canary Janpot/next.js tweak-pr-msg Change
main-HASH.js gzip 6.51 kB 6.51 kB
webpack-HASH.js gzip 751 B 751 B
19b7e98f51cc..558d.js gzip 10.7 kB 10.7 kB
framework.HASH.js gzip 39.1 kB 39.1 kB
Overall change 57.1 kB 57.1 kB
Client Bundles (main, webpack, commons) Modern
vercel/next.js canary Janpot/next.js tweak-pr-msg Change
main-HASH.module.js gzip 5.59 kB 5.59 kB
webpack-HASH..dule.js gzip 751 B 751 B
19b7e98f51cc..dule.js gzip 7.08 kB 7.08 kB
framework.HA..dule.js gzip 39.1 kB 39.1 kB
Overall change 52.6 kB 52.6 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary Janpot/next.js tweak-pr-msg Change
polyfills-HASH.js gzip 26.3 kB 26.3 kB
Overall change 26.3 kB 26.3 kB
Client Build Manifests
vercel/next.js canary Janpot/next.js tweak-pr-msg Change
_buildManifest.js gzip 268 B 268 B
_buildManife..dule.js gzip 272 B 272 B
Overall change 540 B 540 B
Serverless bundles
vercel/next.js canary Janpot/next.js tweak-pr-msg Change
_error.js 875 kB 875 kB
404.html 4.17 kB 4.17 kB
hooks.html 3.79 kB 3.79 kB
index.js 876 kB 876 kB
link.js 916 kB 916 kB
routerDirect.js 908 kB 908 kB
withRouter.js 908 kB 908 kB
Overall change 4.49 MB 4.49 MB
Commit: 42d3443

@ijjk
Copy link
Member

ijjk commented Jun 27, 2020

Stats from current PR

Default Server Mode (Decrease detected ✓)
General
vercel/next.js canary Janpot/next.js tweak-pr-msg Change
buildDuration 14s 13.9s -61ms
nodeModulesSize 67.1 MB 67.1 MB
Page Load Tests Overall decrease ⚠️
vercel/next.js canary Janpot/next.js tweak-pr-msg Change
/ failed reqs 0 0
/ total time (seconds) 2.442 2.398 -0.04
/ avg req/sec 1023.89 1042.67 +18.78
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.677 1.72 +0.04
/error-in-render avg req/sec 1491.16 1453.6 ⚠️ -37.56
Client Bundles (main, webpack, commons)
vercel/next.js canary Janpot/next.js tweak-pr-msg Change
main-HASH.js gzip 6.51 kB 6.51 kB
webpack-HASH.js gzip 751 B 751 B
19b7e98f51cc..558d.js gzip 10.7 kB 10.7 kB
framework.HASH.js gzip 39.1 kB 39.1 kB
Overall change 57.1 kB 57.1 kB
Client Bundles (main, webpack, commons) Modern
vercel/next.js canary Janpot/next.js tweak-pr-msg Change
main-HASH.module.js gzip 5.59 kB 5.59 kB
webpack-HASH..dule.js gzip 751 B 751 B
19b7e98f51cc..dule.js gzip 7.08 kB 7.08 kB
framework.HA..dule.js gzip 39.1 kB 39.1 kB
Overall change 52.6 kB 52.6 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary Janpot/next.js tweak-pr-msg Change
polyfills-HASH.js gzip 26.3 kB 26.3 kB
Overall change 26.3 kB 26.3 kB
Client Build Manifests
vercel/next.js canary Janpot/next.js tweak-pr-msg Change
_buildManifest.js gzip 268 B 268 B
_buildManife..dule.js gzip 272 B 272 B
Overall change 540 B 540 B
Rendered Page Sizes
vercel/next.js canary Janpot/next.js tweak-pr-msg Change
index.html gzip 954 B 954 B
link.html gzip 959 B 959 B
withRouter.html gzip 947 B 947 B
Overall change 2.86 kB 2.86 kB

Serverless Mode
General
vercel/next.js canary Janpot/next.js tweak-pr-msg Change
buildDuration 15s 15.1s +90ms
nodeModulesSize 67.1 MB 67.1 MB
Client Bundles (main, webpack, commons)
vercel/next.js canary Janpot/next.js tweak-pr-msg Change
main-HASH.js gzip 6.51 kB 6.51 kB
webpack-HASH.js gzip 751 B 751 B
19b7e98f51cc..558d.js gzip 10.7 kB 10.7 kB
framework.HASH.js gzip 39.1 kB 39.1 kB
Overall change 57.1 kB 57.1 kB
Client Bundles (main, webpack, commons) Modern
vercel/next.js canary Janpot/next.js tweak-pr-msg Change
main-HASH.module.js gzip 5.59 kB 5.59 kB
webpack-HASH..dule.js gzip 751 B 751 B
19b7e98f51cc..dule.js gzip 7.08 kB 7.08 kB
framework.HA..dule.js gzip 39.1 kB 39.1 kB
Overall change 52.6 kB 52.6 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary Janpot/next.js tweak-pr-msg Change
polyfills-HASH.js gzip 26.3 kB 26.3 kB
Overall change 26.3 kB 26.3 kB
Client Build Manifests
vercel/next.js canary Janpot/next.js tweak-pr-msg Change
_buildManifest.js gzip 268 B 268 B
_buildManife..dule.js gzip 272 B 272 B
Overall change 540 B 540 B
Serverless bundles
vercel/next.js canary Janpot/next.js tweak-pr-msg Change
_error.js 875 kB 875 kB
404.html 4.17 kB 4.17 kB
hooks.html 3.79 kB 3.79 kB
index.js 876 kB 876 kB
link.js 916 kB 916 kB
routerDirect.js 908 kB 908 kB
withRouter.js 908 kB 908 kB
Overall change 4.49 MB 4.49 MB
Commit: f300342

@ijjk
Copy link
Member

ijjk commented Jun 27, 2020

Stats from current PR

Default Server Mode (Increase detected ⚠️)
General
vercel/next.js canary Janpot/next.js tweak-pr-msg Change
buildDuration 12.6s 13.2s ⚠️ +642ms
nodeModulesSize 67.1 MB 67.1 MB
Page Load Tests Overall increase ✓
vercel/next.js canary Janpot/next.js tweak-pr-msg Change
/ failed reqs 0 0
/ total time (seconds) 2.247 2.204 -0.04
/ avg req/sec 1112.52 1134.25 +21.73
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.437 1.438 0
/error-in-render avg req/sec 1739.93 1738.51 ⚠️ -1.42
Client Bundles (main, webpack, commons)
vercel/next.js canary Janpot/next.js tweak-pr-msg Change
main-HASH.js gzip 6.51 kB 6.51 kB
webpack-HASH.js gzip 751 B 751 B
19b7e98f51cc..558d.js gzip 10.7 kB 10.7 kB
framework.HASH.js gzip 39.1 kB 39.1 kB
Overall change 57.1 kB 57.1 kB
Client Bundles (main, webpack, commons) Modern
vercel/next.js canary Janpot/next.js tweak-pr-msg Change
main-HASH.module.js gzip 5.59 kB 5.59 kB
webpack-HASH..dule.js gzip 751 B 751 B
19b7e98f51cc..dule.js gzip 7.08 kB 7.08 kB
framework.HA..dule.js gzip 39.1 kB 39.1 kB
Overall change 52.6 kB 52.6 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary Janpot/next.js tweak-pr-msg Change
polyfills-HASH.js gzip 26.3 kB 26.3 kB
Overall change 26.3 kB 26.3 kB
Client Build Manifests
vercel/next.js canary Janpot/next.js tweak-pr-msg Change
_buildManifest.js gzip 268 B 268 B
_buildManife..dule.js gzip 272 B 272 B
Overall change 540 B 540 B
Rendered Page Sizes
vercel/next.js canary Janpot/next.js tweak-pr-msg Change
index.html gzip 954 B 954 B
link.html gzip 959 B 959 B
withRouter.html gzip 947 B 947 B
Overall change 2.86 kB 2.86 kB

Serverless Mode
General
vercel/next.js canary Janpot/next.js tweak-pr-msg Change
buildDuration 14.2s 14.5s ⚠️ +315ms
nodeModulesSize 67.1 MB 67.1 MB
Client Bundles (main, webpack, commons)
vercel/next.js canary Janpot/next.js tweak-pr-msg Change
main-HASH.js gzip 6.51 kB 6.51 kB
webpack-HASH.js gzip 751 B 751 B
19b7e98f51cc..558d.js gzip 10.7 kB 10.7 kB
framework.HASH.js gzip 39.1 kB 39.1 kB
Overall change 57.1 kB 57.1 kB
Client Bundles (main, webpack, commons) Modern
vercel/next.js canary Janpot/next.js tweak-pr-msg Change
main-HASH.module.js gzip 5.59 kB 5.59 kB
webpack-HASH..dule.js gzip 751 B 751 B
19b7e98f51cc..dule.js gzip 7.08 kB 7.08 kB
framework.HA..dule.js gzip 39.1 kB 39.1 kB
Overall change 52.6 kB 52.6 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary Janpot/next.js tweak-pr-msg Change
polyfills-HASH.js gzip 26.3 kB 26.3 kB
Overall change 26.3 kB 26.3 kB
Client Build Manifests
vercel/next.js canary Janpot/next.js tweak-pr-msg Change
_buildManifest.js gzip 268 B 268 B
_buildManife..dule.js gzip 272 B 272 B
Overall change 540 B 540 B
Serverless bundles
vercel/next.js canary Janpot/next.js tweak-pr-msg Change
_error.js 875 kB 875 kB
404.html 4.17 kB 4.17 kB
hooks.html 3.79 kB 3.79 kB
index.js 876 kB 876 kB
link.js 916 kB 916 kB
routerDirect.js 908 kB 908 kB
withRouter.js 908 kB 908 kB
Overall change 4.49 MB 4.49 MB
Commit: e1987db

@Janpot Janpot marked this pull request as ready for review June 27, 2020 23:00
@Janpot Janpot changed the title Positive req/seq is not a warning Positive req/seq change is not a warning Jun 28, 2020
@ijjk
Copy link
Member

ijjk commented Jun 28, 2020

Stats from current PR

Default Server Mode (Increase detected ⚠️)
General
vercel/next.js canary Janpot/next.js tweak-pr-msg Change
buildDuration 12.6s 12.5s -64ms
nodeModulesSize 67.1 MB 67.1 MB
Page Load Tests Overall increase ✓
vercel/next.js canary Janpot/next.js tweak-pr-msg Change
/ failed reqs 0 0
/ total time (seconds) 2.148 2.034 -0.11
/ avg req/sec 1163.75 1229.34 +65.59
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.275 1.24 -0.03
/error-in-render avg req/sec 1961.32 2016.49 +55.17
Client Bundles (main, webpack, commons)
vercel/next.js canary Janpot/next.js tweak-pr-msg Change
main-HASH.js gzip 6.51 kB 6.51 kB
webpack-HASH.js gzip 751 B 751 B
19b7e98f51cc..558d.js gzip 10.7 kB 10.7 kB
framework.HASH.js gzip 39.1 kB 39.1 kB
Overall change 57.1 kB 57.1 kB
Client Bundles (main, webpack, commons) Modern
vercel/next.js canary Janpot/next.js tweak-pr-msg Change
main-HASH.module.js gzip 5.59 kB 5.59 kB
webpack-HASH..dule.js gzip 751 B 751 B
19b7e98f51cc..dule.js gzip 7.08 kB 7.08 kB
framework.HA..dule.js gzip 39.1 kB 39.1 kB
Overall change 52.6 kB 52.6 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary Janpot/next.js tweak-pr-msg Change
polyfills-HASH.js gzip 26.3 kB 26.3 kB
Overall change 26.3 kB 26.3 kB
Client Build Manifests
vercel/next.js canary Janpot/next.js tweak-pr-msg Change
_buildManifest.js gzip 268 B 268 B
_buildManife..dule.js gzip 272 B 272 B
Overall change 540 B 540 B
Rendered Page Sizes
vercel/next.js canary Janpot/next.js tweak-pr-msg Change
index.html gzip 954 B 954 B
link.html gzip 959 B 959 B
withRouter.html gzip 947 B 947 B
Overall change 2.86 kB 2.86 kB

Serverless Mode
General
vercel/next.js canary Janpot/next.js tweak-pr-msg Change
buildDuration 13.6s 13.6s ⚠️ +70ms
nodeModulesSize 67.1 MB 67.1 MB
Client Bundles (main, webpack, commons)
vercel/next.js canary Janpot/next.js tweak-pr-msg Change
main-HASH.js gzip 6.51 kB 6.51 kB
webpack-HASH.js gzip 751 B 751 B
19b7e98f51cc..558d.js gzip 10.7 kB 10.7 kB
framework.HASH.js gzip 39.1 kB 39.1 kB
Overall change 57.1 kB 57.1 kB
Client Bundles (main, webpack, commons) Modern
vercel/next.js canary Janpot/next.js tweak-pr-msg Change
main-HASH.module.js gzip 5.59 kB 5.59 kB
webpack-HASH..dule.js gzip 751 B 751 B
19b7e98f51cc..dule.js gzip 7.08 kB 7.08 kB
framework.HA..dule.js gzip 39.1 kB 39.1 kB
Overall change 52.6 kB 52.6 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary Janpot/next.js tweak-pr-msg Change
polyfills-HASH.js gzip 26.3 kB 26.3 kB
Overall change 26.3 kB 26.3 kB
Client Build Manifests
vercel/next.js canary Janpot/next.js tweak-pr-msg Change
_buildManifest.js gzip 268 B 268 B
_buildManife..dule.js gzip 272 B 272 B
Overall change 540 B 540 B
Serverless bundles
vercel/next.js canary Janpot/next.js tweak-pr-msg Change
_error.js 875 kB 875 kB
404.html 4.17 kB 4.17 kB
hooks.html 3.79 kB 3.79 kB
index.js 876 kB 876 kB
link.js 916 kB 916 kB
routerDirect.js 908 kB 908 kB
withRouter.js 908 kB 908 kB
Overall change 4.49 MB 4.49 MB
Commit: 35ae611

@kodiakhq kodiakhq bot merged commit 14f1a7b into vercel:canary Jun 28, 2020
rokinsky pushed a commit to rokinsky/next.js that referenced this pull request Jul 11, 2020
Tweak PR stats message for req/sec metrics. I think they should warn when they are negative, not when positive
@vercel vercel locked as resolved and limited conversation to collaborators Jan 30, 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.

3 participants