2017-04-05 23:47:29 +08:00
|
|
|
{
|
|
|
|
|
"bundleSizes": {
|
|
|
|
|
"react.development.js (UMD_DEV)": {
|
2017-10-02 21:31:39 +08:00
|
|
|
"size": 54777,
|
|
|
|
|
"gzip": 14345
|
2017-04-05 23:47:29 +08:00
|
|
|
},
|
|
|
|
|
"react.production.min.js (UMD_PROD)": {
|
2017-09-29 19:48:33 +08:00
|
|
|
"size": 6634,
|
|
|
|
|
"gzip": 2764
|
2017-04-05 23:47:29 +08:00
|
|
|
},
|
|
|
|
|
"react.development.js (NODE_DEV)": {
|
2017-10-02 21:31:39 +08:00
|
|
|
"size": 45693,
|
|
|
|
|
"gzip": 12091
|
2017-04-05 23:47:29 +08:00
|
|
|
},
|
|
|
|
|
"react.production.min.js (NODE_PROD)": {
|
2017-10-02 21:31:39 +08:00
|
|
|
"size": 5611,
|
|
|
|
|
"gzip": 2364
|
2017-04-05 23:47:29 +08:00
|
|
|
},
|
|
|
|
|
"React-dev.js (FB_DEV)": {
|
2017-10-02 21:31:39 +08:00
|
|
|
"size": 43002,
|
|
|
|
|
"gzip": 11321
|
2017-04-05 23:47:29 +08:00
|
|
|
},
|
|
|
|
|
"React-prod.js (FB_PROD)": {
|
2017-10-02 21:31:39 +08:00
|
|
|
"size": 24822,
|
|
|
|
|
"gzip": 6703
|
2017-04-05 23:47:29 +08:00
|
|
|
},
|
2017-06-09 07:47:49 +08:00
|
|
|
"react-dom.development.js (UMD_DEV)": {
|
2017-10-17 03:51:36 +08:00
|
|
|
"size": 622487,
|
|
|
|
|
"gzip": 143400
|
2017-06-09 07:47:49 +08:00
|
|
|
},
|
|
|
|
|
"react-dom.production.min.js (UMD_PROD)": {
|
2017-10-17 03:51:36 +08:00
|
|
|
"size": 100903,
|
|
|
|
|
"gzip": 31814
|
2017-06-09 07:47:49 +08:00
|
|
|
},
|
2017-04-05 23:47:29 +08:00
|
|
|
"react-dom.development.js (NODE_DEV)": {
|
2017-10-17 03:51:36 +08:00
|
|
|
"size": 584756,
|
|
|
|
|
"gzip": 134700
|
2017-04-05 23:47:29 +08:00
|
|
|
},
|
|
|
|
|
"react-dom.production.min.js (NODE_PROD)": {
|
2017-10-17 03:51:36 +08:00
|
|
|
"size": 105227,
|
|
|
|
|
"gzip": 33014
|
2017-04-05 23:47:29 +08:00
|
|
|
},
|
|
|
|
|
"ReactDOMFiber-dev.js (FB_DEV)": {
|
2017-10-17 03:51:36 +08:00
|
|
|
"size": 581645,
|
|
|
|
|
"gzip": 134086
|
2017-04-05 23:47:29 +08:00
|
|
|
},
|
|
|
|
|
"ReactDOMFiber-prod.js (FB_PROD)": {
|
2017-10-17 03:51:36 +08:00
|
|
|
"size": 412866,
|
|
|
|
|
"gzip": 92151
|
2017-04-05 23:47:29 +08:00
|
|
|
},
|
2017-06-09 07:47:49 +08:00
|
|
|
"react-dom-test-utils.development.js (NODE_DEV)": {
|
2017-10-02 21:31:39 +08:00
|
|
|
"size": 41660,
|
|
|
|
|
"gzip": 11093
|
2017-04-05 23:47:29 +08:00
|
|
|
},
|
2017-06-09 07:47:49 +08:00
|
|
|
"ReactTestUtils-dev.js (FB_DEV)": {
|
2017-10-02 21:31:39 +08:00
|
|
|
"size": 41222,
|
|
|
|
|
"gzip": 11028
|
2017-04-05 23:47:29 +08:00
|
|
|
},
|
2017-08-03 07:41:09 +08:00
|
|
|
"react-dom-unstable-native-dependencies.development.js (UMD_DEV)": {
|
2017-10-12 02:29:26 +08:00
|
|
|
"size": 84930,
|
|
|
|
|
"gzip": 21288
|
2017-04-05 23:47:29 +08:00
|
|
|
},
|
2017-08-03 07:41:09 +08:00
|
|
|
"react-dom-unstable-native-dependencies.production.min.js (UMD_PROD)": {
|
2017-10-12 02:29:26 +08:00
|
|
|
"size": 14441,
|
|
|
|
|
"gzip": 4650
|
2017-06-09 07:47:49 +08:00
|
|
|
},
|
2017-08-03 07:41:09 +08:00
|
|
|
"react-dom-unstable-native-dependencies.development.js (NODE_DEV)": {
|
2017-10-12 02:06:43 +08:00
|
|
|
"size": 80723,
|
|
|
|
|
"gzip": 19966
|
2017-06-09 07:47:49 +08:00
|
|
|
},
|
2017-08-03 07:41:09 +08:00
|
|
|
"react-dom-unstable-native-dependencies.production.min.js (NODE_PROD)": {
|
2017-10-10 23:06:05 +08:00
|
|
|
"size": 14003,
|
2017-10-12 02:06:43 +08:00
|
|
|
"gzip": 4510
|
2017-06-09 07:47:49 +08:00
|
|
|
},
|
2017-08-03 07:41:09 +08:00
|
|
|
"ReactDOMUnstableNativeDependencies-dev.js (FB_DEV)": {
|
2017-10-12 02:06:43 +08:00
|
|
|
"size": 80160,
|
|
|
|
|
"gzip": 19867
|
2017-06-09 07:47:49 +08:00
|
|
|
},
|
2017-08-03 07:41:09 +08:00
|
|
|
"ReactDOMUnstableNativeDependencies-prod.js (FB_PROD)": {
|
2017-10-12 02:06:43 +08:00
|
|
|
"size": 65113,
|
|
|
|
|
"gzip": 15526
|
2017-08-03 07:41:09 +08:00
|
|
|
},
|
|
|
|
|
"react-dom-server.browser.development.js (UMD_DEV)": {
|
2017-10-12 02:06:43 +08:00
|
|
|
"size": 130005,
|
|
|
|
|
"gzip": 33551
|
2017-08-03 07:41:09 +08:00
|
|
|
},
|
|
|
|
|
"react-dom-server.browser.production.min.js (UMD_PROD)": {
|
2017-10-12 02:06:43 +08:00
|
|
|
"size": 15134,
|
|
|
|
|
"gzip": 5909
|
2017-08-03 07:41:09 +08:00
|
|
|
},
|
|
|
|
|
"react-dom-server.browser.development.js (NODE_DEV)": {
|
2017-10-12 02:06:43 +08:00
|
|
|
"size": 99925,
|
|
|
|
|
"gzip": 26451
|
2017-08-03 07:41:09 +08:00
|
|
|
},
|
|
|
|
|
"react-dom-server.browser.production.min.js (NODE_PROD)": {
|
2017-10-12 02:06:43 +08:00
|
|
|
"size": 15038,
|
|
|
|
|
"gzip": 5882
|
2017-08-03 07:41:09 +08:00
|
|
|
},
|
|
|
|
|
"ReactDOMServer-dev.js (FB_DEV)": {
|
2017-10-12 02:06:43 +08:00
|
|
|
"size": 99346,
|
|
|
|
|
"gzip": 26353
|
2017-08-03 07:41:09 +08:00
|
|
|
},
|
|
|
|
|
"ReactDOMServer-prod.js (FB_PROD)": {
|
2017-10-12 02:06:43 +08:00
|
|
|
"size": 42657,
|
|
|
|
|
"gzip": 11880
|
2017-06-09 07:47:49 +08:00
|
|
|
},
|
2017-08-03 07:41:09 +08:00
|
|
|
"react-dom-server.node.development.js (NODE_DEV)": {
|
2017-10-12 02:06:43 +08:00
|
|
|
"size": 102203,
|
|
|
|
|
"gzip": 27004
|
2017-06-09 07:47:49 +08:00
|
|
|
},
|
2017-08-03 07:41:09 +08:00
|
|
|
"react-dom-server.node.production.min.js (NODE_PROD)": {
|
2017-10-12 02:06:43 +08:00
|
|
|
"size": 15963,
|
|
|
|
|
"gzip": 6214
|
2017-06-09 07:47:49 +08:00
|
|
|
},
|
|
|
|
|
"react-art.development.js (UMD_DEV)": {
|
2017-10-17 03:51:36 +08:00
|
|
|
"size": 368583,
|
|
|
|
|
"gzip": 81461
|
2017-06-09 07:47:49 +08:00
|
|
|
},
|
|
|
|
|
"react-art.production.min.js (UMD_PROD)": {
|
2017-10-17 03:51:36 +08:00
|
|
|
"size": 82768,
|
|
|
|
|
"gzip": 25662
|
2017-04-05 23:47:29 +08:00
|
|
|
},
|
|
|
|
|
"react-art.development.js (NODE_DEV)": {
|
2017-10-17 03:51:36 +08:00
|
|
|
"size": 292916,
|
|
|
|
|
"gzip": 62256
|
2017-04-05 23:47:29 +08:00
|
|
|
},
|
|
|
|
|
"react-art.production.min.js (NODE_PROD)": {
|
2017-10-17 03:51:36 +08:00
|
|
|
"size": 52092,
|
|
|
|
|
"gzip": 16429
|
2017-04-05 23:47:29 +08:00
|
|
|
},
|
|
|
|
|
"ReactARTFiber-dev.js (FB_DEV)": {
|
2017-10-17 03:51:36 +08:00
|
|
|
"size": 291778,
|
|
|
|
|
"gzip": 62279
|
2017-04-05 23:47:29 +08:00
|
|
|
},
|
|
|
|
|
"ReactARTFiber-prod.js (FB_PROD)": {
|
2017-10-17 03:51:36 +08:00
|
|
|
"size": 217116,
|
|
|
|
|
"gzip": 45046
|
2017-04-05 23:47:29 +08:00
|
|
|
},
|
2017-06-09 07:47:49 +08:00
|
|
|
"ReactNativeFiber-dev.js (RN_DEV)": {
|
2017-10-17 03:51:36 +08:00
|
|
|
"size": 279027,
|
|
|
|
|
"gzip": 48431
|
2017-04-05 23:47:29 +08:00
|
|
|
},
|
2017-06-09 07:47:49 +08:00
|
|
|
"ReactNativeFiber-prod.js (RN_PROD)": {
|
2017-10-17 03:51:36 +08:00
|
|
|
"size": 217205,
|
|
|
|
|
"gzip": 37605
|
2017-04-05 23:47:29 +08:00
|
|
|
},
|
|
|
|
|
"react-test-renderer.development.js (NODE_DEV)": {
|
2017-10-17 03:51:36 +08:00
|
|
|
"size": 296639,
|
|
|
|
|
"gzip": 62669
|
2017-04-25 09:52:10 +08:00
|
|
|
},
|
2017-06-09 07:47:49 +08:00
|
|
|
"ReactTestRendererFiber-dev.js (FB_DEV)": {
|
2017-10-17 03:51:36 +08:00
|
|
|
"size": 295491,
|
|
|
|
|
"gzip": 62684
|
2017-04-25 09:52:10 +08:00
|
|
|
},
|
|
|
|
|
"react-test-renderer-shallow.development.js (NODE_DEV)": {
|
2017-10-10 23:06:05 +08:00
|
|
|
"size": 9215,
|
|
|
|
|
"gzip": 2302
|
2017-04-25 09:52:10 +08:00
|
|
|
},
|
|
|
|
|
"ReactShallowRenderer-dev.js (FB_DEV)": {
|
2017-10-10 23:06:05 +08:00
|
|
|
"size": 8872,
|
|
|
|
|
"gzip": 2221
|
Downgrade deprecation warnings from errors to warnings (#9650)
* Initial regeneration of results.json
**what is the change?:**
We ran `yarn build` and updated the perf. stats record.
**why make this change?:**
Some commits have landed without updating this. By getting an initial update, I can run the build script again after my changes and see any size regressions.
* Downgrade deprecation warnings from errors to warnings
**what is the change?:**
Swapping out `warning` module for a fork that uses `console.warn`.
It looks like we were using the `warning` module for deprecation notices, *but* there is also a 'deprecated' module designed specifically for deprecation notices.
However, we could not find any place that it was currently used.
Since React's build process is not 100% clear to me, I assume it could still be used somewhere by something and just updated it along with other deprecation notices.
We might consider a follow-up diff that does some clean up here;
- remove 'deprecated' module if it's unused, OR
- use 'deprecated' module for all our current deprecation warnings
**why make this change?:**
- We have had complaints about noisy warnings, in particular after introducing new deprecations
- They potentially cause CI failures
- Deprecations are not really time-sensitive, can ship without breaking your app, etc.
For more context - https://github.com/facebook/react/issues/9395
**test plan:**
`npm run test`
and unit tests for the new modules
and manual testing (WIP)
**issue:**
https://github.com/facebook/react/issues/9395
* Add 'lowPriorityWarning' to ReactExternals
**what is the change?:**
We won't bundle 'lowPriorityWarning' with the rest of React when building for Facebook.
NOTE: A parallel commit will introduce an internal implementation of 'lowPriorityWarning' in Facebook's codebase, to compensate. Will post a comment with the diff number once that is up.
**why make this change?:**
So that the sync between github and Facebook can go more smoothly!
**test plan:**
We will see when I run the sync! But this is a reasonable first step imo.
**issue:**
https://github.com/facebook/react/issues/9398
* Make state mutations an error, not low-pri warning
**what is the change?:**
Even though this is a "deprecation" warning, we still want to use 'console.error' for it.
**why make this change?:**
- It's not likely to come up now, hopefully, because this warning has been present for some time
- This will cause real issues in production if ignored
**test plan:**
`yarn test` - we did fix one test which failed bc of this change
**issue:**
https://github.com/facebook/react/issues/9398
* Fix test of assigning to this.state that was only passing in fiber
**what is the change?:**
updated a unit test for assigning directly to state; it once again raises an error and not a warning.
**why make this change?:**
So that tests pass
**test plan:**
REACT_DOM_JEST_USE_FIBER=1 yarn run test
**issue:**
* Update results.json
2017-05-24 00:35:42 +08:00
|
|
|
},
|
2017-06-09 07:47:49 +08:00
|
|
|
"react-noop-renderer.development.js (NODE_DEV)": {
|
2017-10-17 03:51:36 +08:00
|
|
|
"size": 284228,
|
|
|
|
|
"gzip": 59568
|
2017-08-10 18:12:29 +08:00
|
|
|
},
|
|
|
|
|
"react-dom-server.development.js (UMD_DEV)": {
|
|
|
|
|
"size": 120897,
|
|
|
|
|
"gzip": 30672
|
|
|
|
|
},
|
|
|
|
|
"react-dom-server.production.min.js (UMD_PROD)": {
|
|
|
|
|
"size": 20136,
|
|
|
|
|
"gzip": 7672
|
|
|
|
|
},
|
|
|
|
|
"react-dom-server.development.js (NODE_DEV)": {
|
|
|
|
|
"size": 90047,
|
|
|
|
|
"gzip": 23257
|
|
|
|
|
},
|
|
|
|
|
"react-dom-server.production.min.js (NODE_PROD)": {
|
|
|
|
|
"size": 18718,
|
|
|
|
|
"gzip": 7197
|
|
|
|
|
},
|
|
|
|
|
"react-dom-node-stream.development.js (NODE_DEV)": {
|
|
|
|
|
"size": 91741,
|
|
|
|
|
"gzip": 23757
|
|
|
|
|
},
|
|
|
|
|
"react-dom-node-stream.production.min.js (NODE_PROD)": {
|
|
|
|
|
"size": 19585,
|
|
|
|
|
"gzip": 7520
|
2017-10-04 06:48:23 +08:00
|
|
|
},
|
|
|
|
|
"ReactNativeRTFiber-dev.js (RN_DEV)": {
|
2017-10-17 03:51:36 +08:00
|
|
|
"size": 210937,
|
|
|
|
|
"gzip": 35890
|
2017-10-04 06:48:23 +08:00
|
|
|
},
|
|
|
|
|
"ReactNativeRTFiber-prod.js (RN_PROD)": {
|
2017-10-17 03:51:36 +08:00
|
|
|
"size": 158890,
|
|
|
|
|
"gzip": 26615
|
2017-10-05 22:26:52 +08:00
|
|
|
},
|
|
|
|
|
"react-test-renderer.production.min.js (NODE_PROD)": {
|
2017-10-17 03:51:36 +08:00
|
|
|
"size": 53636,
|
|
|
|
|
"gzip": 16639
|
2017-10-05 22:26:52 +08:00
|
|
|
},
|
|
|
|
|
"react-test-renderer-shallow.production.min.js (NODE_PROD)": {
|
2017-10-10 23:06:05 +08:00
|
|
|
"size": 4536,
|
|
|
|
|
"gzip": 1639
|
2017-10-05 22:26:52 +08:00
|
|
|
},
|
|
|
|
|
"react-dom-test-utils.production.min.js (NODE_PROD)": {
|
|
|
|
|
"size": 11608,
|
|
|
|
|
"gzip": 4241
|
2017-10-12 02:29:26 +08:00
|
|
|
},
|
|
|
|
|
"react-reconciler.development.js (NODE_DEV)": {
|
2017-10-17 03:51:36 +08:00
|
|
|
"size": 271525,
|
|
|
|
|
"gzip": 56735
|
2017-10-12 02:29:26 +08:00
|
|
|
},
|
|
|
|
|
"react-reconciler.production.min.js (NODE_PROD)": {
|
2017-10-17 03:51:36 +08:00
|
|
|
"size": 37697,
|
|
|
|
|
"gzip": 11740
|
2017-10-14 05:29:59 +08:00
|
|
|
},
|
|
|
|
|
"ReactNativeCSFiber-dev.js (RN_DEV)": {
|
2017-10-17 03:51:36 +08:00
|
|
|
"size": 203327,
|
|
|
|
|
"gzip": 34110
|
2017-10-14 05:29:59 +08:00
|
|
|
},
|
|
|
|
|
"ReactNativeCSFiber-prod.js (RN_PROD)": {
|
2017-10-17 03:51:36 +08:00
|
|
|
"size": 153787,
|
|
|
|
|
"gzip": 25392
|
2017-04-05 23:47:29 +08:00
|
|
|
}
|
|
|
|
|
}
|
2017-06-09 02:41:02 +08:00
|
|
|
}
|