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

[CHORE] add package flag infra, strip flag infra #6737

Merged
merged 10 commits into from
Nov 15, 2019

Conversation

runspired
Copy link
Contributor

@runspired runspired commented Nov 14, 2019

resolves #6709

With this we use build time flags instead of runtime heuristics for wrapping conditional code for optional-package dependencies. This reduces the cost of supporting those packages.

We also now drop the feature-flag modules from production builds entirely, which saves us some additional bytes :)

Additionally this fixes stripping dead import statements, which apparently was silently broken due to how more recent versions of plugins in our build interop. Asset size monitoring should help to watch for that in the future.

Our asset-size checks currently do not report the size of packages like store when model adapter and serializer are removed, but this likely ought to have an additional effect between .5-1 KB currently in addition to the wins from import-stripping and module-dropping that this PR brings.

@runspired runspired added 🌲 Project Trim 🌲 PRs related to https://github.com/emberjs/data/issues/6166 🏷️ chore This PR primarily refactors code or updates dependencies 🎯 canary PR is targeting canary (default) labels Nov 14, 2019
@github-actions
Copy link

Asset Size Report for c3affc0

EmberData shrank by 1.46 KB (438.0 B compressed)

If any packages had changed sizes they would be listed here.

Changeset


EmberData 176.08 KB -1.46 KB (36.99 KB -438.0 B compressed)
    @ember-data/store 84.91 KB -161.0 B (17.84 KB -93.11 B compressed)
        @ember-data/store/-private 83.99 KB -161.0 B (17.64 KB -92.47 B compressed)
    ember-data 9.72 KB -70.0 B (2.04 KB -21.53 B compressed)
        ember-data/-private 1.98 KB -70.0 B (426.23 B -16.14 B compressed)
    @ember-data/canary-features 0.0 B -1.24 KB (0.0 B -266.6 B compressed)
        @ember-data/canary-features/index 0.0 B -927.0 B (0.0 B -195.36 B compressed)
        @ember-data/canary-features/default-features 0.0 B -338.0 B (0.0 B -71.23 B compressed)

Full Asset Analysis

Asset Size Report
=================


Library: EmberData
┌────────────┬─────────────┐
│  (index)   │   Values    │
├────────────┼─────────────┤
│   bytes    │ '176.08 KB' │
│ compressed │ '37.06 KB'  │
│  packages  │      9      │
│  modules   │     47      │
└────────────┴─────────────┘

Package: @ember-data/store
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '84.91 KB' │
│  compressed  │ '17.87 KB' │
│ % Of Library │   '48.2'   │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/store/-private                    | 83.99 KB  | 17.68 KB   | 98.9          | 47.7
	@ember-data/store/index                       | 936.00 B  | 197.01 B   | 1.1           | 0.5

Package: @ember-data/record-data
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '23.51 KB' │
│  compressed  │ '4.95 KB'  │
│ % Of Library │   '13.4'   │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/record-data/-private              | 23.51 KB  | 4.95 KB    | 100.0         | 13.4

Package: @ember-data/serializer
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '19.36 KB' │
│  compressed  │ '4.08 KB'  │
│ % Of Library │   '11.0'   │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/serializer/json                   | 7.10 KB   | 1.50 KB    | 36.7          | 4.0
	@ember-data/serializer/-private               | 5.36 KB   | 1.13 KB    | 27.7          | 3.0
	@ember-data/serializer/json-api               | 3.77 KB   | 812.69 B   | 19.5          | 2.1
	@ember-data/serializer/rest                   | 2.68 KB   | 577.37 B   | 13.8          | 1.5
	@ember-data/serializer/index                  | 243.00 B  | 51.14 B    | 1.2           | 0.1
	@ember-data/serializer/transform              | 215.00 B  | 45.25 B    | 1.1           | 0.1

Package: @ember-data/adapter
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '14.57 KB' │
│  compressed  │ '3.07 KB'  │
│ % Of Library │   '8.3'    │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/adapter/rest                      | 7.65 KB   | 1.61 KB    | 52.5          | 4.3
	@ember-data/adapter/-private                  | 3.50 KB   | 754.39 B   | 24.0          | 2.0
	@ember-data/adapter/error                     | 1.91 KB   | 412.34 B   | 13.1          | 1.1
	@ember-data/adapter/json-api                  | 830.00 B  | 174.70 B   | 5.6           | 0.5
	@ember-data/adapter/index                     | 719.00 B  | 151.34 B   | 4.8           | 0.4

Package: @ember-data/model
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '12.37 KB' │
│  compressed  │ '2.60 KB'  │
│ % Of Library │   '7.0'    │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/model/-private                    | 11.90 KB  | 2.50 KB    | 96.2          | 6.8
	@ember-data/model/index                       | 486.00 B  | 102.29 B   | 3.8           | 0.3

Package: ember-data
┌──────────────┬───────────┐
│   (index)    │  Values   │
├──────────────┼───────────┤
│    bytes     │ '9.72 KB' │
│  compressed  │ '2.05 KB' │
│ % Of Library │   '5.5'   │
└──────────────┴───────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	ember-data/index                              | 2.42 KB   | 521.80 B   | 24.9          | 1.4
	ember-data/-private                           | 1.98 KB   | 427.08 B   | 20.4          | 1.1
	ember-data/adapters/errors                    | 1.19 KB   | 256.16 B   | 12.2          | 0.7
	ember-data/setup-container                    | 503.00 B  | 105.87 B   | 5.1           | 0.3
	ember-data/store                              | 406.00 B  | 85.45 B    | 4.1           | 0.2
	ember-data/relationships                      | 318.00 B  | 66.93 B    | 3.2           | 0.2
	ember-data/serializers/embedded-records-mixin | 274.00 B  | 57.67 B    | 2.8           | 0.2
	ember-data/serializers/json-api               | 251.00 B  | 52.83 B    | 2.5           | 0.1
	ember-data/adapters/json-api                  | 245.00 B  | 51.56 B    | 2.5           | 0.1
	ember-data/serializers/json                   | 243.00 B  | 51.14 B    | 2.4           | 0.1
	ember-data/serializers/rest                   | 243.00 B  | 51.14 B    | 2.4           | 0.1
	ember-data/transform                          | 241.00 B  | 50.72 B    | 2.4           | 0.1
	ember-data/adapters/rest                      | 237.00 B  | 49.88 B    | 2.4           | 0.1
	ember-data/serializer                         | 232.00 B  | 48.83 B    | 2.3           | 0.1
	ember-data/adapter                            | 226.00 B  | 47.57 B    | 2.3           | 0.1
	ember-data/model                              | 222.00 B  | 46.72 B    | 2.2           | 0.1
	ember-data/attr                               | 218.00 B  | 45.88 B    | 2.2           | 0.1
	ember-data/initialize-store-service           | 207.00 B  | 43.57 B    | 2.1           | 0.1
	ember-data/version                            | 162.00 B  | 34.09 B    | 1.6           | 0.1

Package: ember-inflector
┌──────────────┬───────────┐
│   (index)    │  Values   │
├──────────────┼───────────┤
│    bytes     │ '7.90 KB' │
│  compressed  │ '1.66 KB' │
│ % Of Library │   '4.5'   │
└──────────────┴───────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	ember-inflector/lib/system/inflector          | 2.75 KB   | 592.94 B   | 34.8          | 1.6
	ember-inflector/lib/system/inflections        | 1.57 KB   | 338.88 B   | 19.9          | 0.9
	ember-inflector/index                         | 1.12 KB   | 241.64 B   | 14.2          | 0.6
	ember-inflector/lib/ext/string                | 783.00 B  | 164.81 B   | 9.7           | 0.4
	ember-inflector/lib/system                    | 452.00 B  | 95.14 B    | 5.6           | 0.3
	ember-inflector/lib/system/string             | 351.00 B  | 73.88 B    | 4.3           | 0.2
	ember-inflector/lib/helpers/pluralize         | 348.00 B  | 73.25 B    | 4.3           | 0.2
	ember-inflector/lib/utils/make-helper         | 308.00 B  | 64.83 B    | 3.8           | 0.2
	ember-inflector/lib/helpers/singularize       | 271.00 B  | 57.04 B    | 3.4           | 0.2

Package: @ember-data/debug
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '2.68 KB'  │
│  compressed  │ '577.37 B' │
│ % Of Library │   '1.5'    │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/debug/index                       | 2.19 KB   | 472.33 B   | 81.8          | 1.2
	@ember-data/debug/setup                       | 499.00 B  | 105.03 B   | 18.2          | 0.3

Package: @ember/ordered-set
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '1.05 KB'  │
│  compressed  │ '226.90 B' │
│ % Of Library │   '0.6'    │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember/ordered-set/index                      | 1.05 KB   | 226.90 B   | 100.0         | 0.6

@emberjs emberjs deleted a comment from github-actions bot Nov 14, 2019
@emberjs emberjs deleted a comment from github-actions bot Nov 14, 2019
@emberjs emberjs deleted a comment from github-actions bot Nov 14, 2019
@emberjs emberjs deleted a comment from github-actions bot Nov 14, 2019
@runspired runspired requested a review from igorT November 14, 2019 06:34
@github-actions
Copy link

Asset Size Report for d44e9b5

EmberData shrank by 17.51 KB (3.36 KB compressed)

If any packages had changed sizes they would be listed here.

Changeset


EmberData 160.03 KB -17.51 KB (34.05 KB -3.36 KB compressed)
    @ember-data/store 71.64 KB -13.42 KB (15.25 KB -2.68 KB compressed)
        @ember-data/store/-private 70.73 KB -13.42 KB (15.05 KB -2.68 KB compressed)
    @ember-data/record-data 22.94 KB -586.0 B (4.88 KB -75.56 B compressed)
        @ember-data/record-data/-private 22.94 KB -586.0 B (4.88 KB -75.56 B compressed)
    @ember-data/serializer 19.3 KB -65.0 B (4.11 KB +26.63 B compressed)
        @ember-data/serializer/json-api 3.71 KB -65.0 B (807.76 B -5.95 B compressed)
    @ember-data/model 10.22 KB -2.15 KB (2.18 KB -443.13 B compressed)
        @ember-data/model/-private 9.75 KB -2.15 KB (2.07 KB -444.13 B compressed)
    ember-data 9.72 KB -70.0 B (2.07 KB +5.56 B compressed)
        ember-data/-private 1.98 KB -70.0 B (431.76 B -10.61 B compressed)
    @ember-data/canary-features 0.0 B -1.24 KB (0.0 B -266.6 B compressed)
        @ember-data/canary-features/index 0.0 B -927.0 B (0.0 B -195.36 B compressed)
        @ember-data/canary-features/default-features 0.0 B -338.0 B (0.0 B -71.23 B compressed)

Full Asset Analysis

Asset Size Report
=================


Library: EmberData
┌────────────┬─────────────┐
│  (index)   │   Values    │
├────────────┼─────────────┤
│   bytes    │ '160.03 KB' │
│ compressed │ '34.15 KB'  │
│  packages  │      9      │
│  modules   │     47      │
└────────────┴─────────────┘

Package: @ember-data/store
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '71.64 KB' │
│  compressed  │ '15.29 KB' │
│ % Of Library │   '44.8'   │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/store/-private                    | 70.73 KB  | 15.09 KB   | 98.7          | 44.2
	@ember-data/store/index                       | 936.00 B  | 199.71 B   | 1.3           | 0.6

Package: @ember-data/record-data
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '22.94 KB' │
│  compressed  │ '4.89 KB'  │
│ % Of Library │   '14.3'   │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/record-data/-private              | 22.94 KB  | 4.89 KB    | 100.0         | 14.3

Package: @ember-data/serializer
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '19.30 KB' │
│  compressed  │ '4.12 KB'  │
│ % Of Library │   '12.1'   │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/serializer/json                   | 7.10 KB   | 1.52 KB    | 36.8          | 4.4
	@ember-data/serializer/-private               | 5.36 KB   | 1.14 KB    | 27.8          | 3.4
	@ember-data/serializer/json-api               | 3.71 KB   | 809.96 B   | 19.2          | 2.3
	@ember-data/serializer/rest                   | 2.68 KB   | 585.28 B   | 13.9          | 1.7
	@ember-data/serializer/index                  | 243.00 B  | 51.84 B    | 1.2           | 0.1
	@ember-data/serializer/transform              | 215.00 B  | 45.87 B    | 1.1           | 0.1

Package: @ember-data/adapter
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '14.57 KB' │
│  compressed  │ '3.11 KB'  │
│ % Of Library │   '9.1'    │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/adapter/rest                      | 7.65 KB   | 1.63 KB    | 52.5          | 4.8
	@ember-data/adapter/-private                  | 3.50 KB   | 764.73 B   | 24.0          | 2.2
	@ember-data/adapter/error                     | 1.91 KB   | 418.00 B   | 13.1          | 1.2
	@ember-data/adapter/json-api                  | 830.00 B  | 177.10 B   | 5.6           | 0.5
	@ember-data/adapter/index                     | 719.00 B  | 153.41 B   | 4.8           | 0.4

Package: @ember-data/model
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '10.22 KB' │
│  compressed  │ '2.18 KB'  │
│ % Of Library │   '6.4'    │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/model/-private                    | 9.75 KB   | 2.08 KB    | 95.4          | 6.1
	@ember-data/model/index                       | 486.00 B  | 103.69 B   | 4.6           | 0.3

Package: ember-data
┌──────────────┬───────────┐
│   (index)    │  Values   │
├──────────────┼───────────┤
│    bytes     │ '9.72 KB' │
│  compressed  │ '2.07 KB' │
│ % Of Library │   '6.1'   │
└──────────────┴───────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	ember-data/index                              | 2.42 KB   | 528.95 B   | 24.9          | 1.5
	ember-data/-private                           | 1.98 KB   | 432.93 B   | 20.4          | 1.2
	ember-data/adapters/errors                    | 1.19 KB   | 259.67 B   | 12.2          | 0.7
	ember-data/setup-container                    | 503.00 B  | 107.32 B   | 5.1           | 0.3
	ember-data/store                              | 406.00 B  | 86.62 B    | 4.1           | 0.2
	ember-data/relationships                      | 318.00 B  | 67.85 B    | 3.2           | 0.2
	ember-data/serializers/embedded-records-mixin | 274.00 B  | 58.46 B    | 2.8           | 0.2
	ember-data/serializers/json-api               | 251.00 B  | 53.55 B    | 2.5           | 0.2
	ember-data/adapters/json-api                  | 245.00 B  | 52.27 B    | 2.5           | 0.1
	ember-data/serializers/json                   | 243.00 B  | 51.84 B    | 2.4           | 0.1
	ember-data/serializers/rest                   | 243.00 B  | 51.84 B    | 2.4           | 0.1
	ember-data/transform                          | 241.00 B  | 51.42 B    | 2.4           | 0.1
	ember-data/adapters/rest                      | 237.00 B  | 50.56 B    | 2.4           | 0.1
	ember-data/serializer                         | 232.00 B  | 49.50 B    | 2.3           | 0.1
	ember-data/adapter                            | 226.00 B  | 48.22 B    | 2.3           | 0.1
	ember-data/model                              | 222.00 B  | 47.36 B    | 2.2           | 0.1
	ember-data/attr                               | 218.00 B  | 46.51 B    | 2.2           | 0.1
	ember-data/initialize-store-service           | 207.00 B  | 44.16 B    | 2.1           | 0.1
	ember-data/version                            | 162.00 B  | 34.56 B    | 1.6           | 0.1

Package: ember-inflector
┌──────────────┬───────────┐
│   (index)    │  Values   │
├──────────────┼───────────┤
│    bytes     │ '7.90 KB' │
│  compressed  │ '1.69 KB' │
│ % Of Library │   '4.9'   │
└──────────────┴───────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	ember-inflector/lib/system/inflector          | 2.75 KB   | 601.07 B   | 34.8          | 1.7
	ember-inflector/lib/system/inflections        | 1.57 KB   | 343.53 B   | 19.9          | 1.0
	ember-inflector/index                         | 1.12 KB   | 244.95 B   | 14.2          | 0.7
	ember-inflector/lib/ext/string                | 783.00 B  | 167.07 B   | 9.7           | 0.5
	ember-inflector/lib/system                    | 452.00 B  | 96.44 B    | 5.6           | 0.3
	ember-inflector/lib/system/string             | 351.00 B  | 74.89 B    | 4.3           | 0.2
	ember-inflector/lib/helpers/pluralize         | 348.00 B  | 74.25 B    | 4.3           | 0.2
	ember-inflector/lib/utils/make-helper         | 308.00 B  | 65.71 B    | 3.8           | 0.2
	ember-inflector/lib/helpers/singularize       | 271.00 B  | 57.82 B    | 3.4           | 0.2

Package: @ember-data/debug
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '2.68 KB'  │
│  compressed  │ '585.28 B' │
│ % Of Library │   '1.7'    │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/debug/index                       | 2.19 KB   | 478.81 B   | 81.8          | 1.4
	@ember-data/debug/setup                       | 499.00 B  | 106.47 B   | 18.2          | 0.3

Package: @ember/ordered-set
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '1.05 KB'  │
│  compressed  │ '230.01 B' │
│ % Of Library │   '0.7'    │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember/ordered-set/index                      | 1.05 KB   | 230.01 B   | 100.0         | 0.7

@runspired runspired changed the title [CHORE] add package flag infra [CHORE] add package flag infra, strip flag infra Nov 14, 2019
@github-actions
Copy link

Asset Size Report for 3420282

EmberData shrank by 17.51 KB (3.36 KB compressed)

If any packages had changed sizes they would be listed here.

Changeset


EmberData 160.03 KB -17.51 KB (34.05 KB -3.36 KB compressed)
    @ember-data/store 71.64 KB -13.42 KB (15.25 KB -2.68 KB compressed)
        @ember-data/store/-private 70.73 KB -13.42 KB (15.05 KB -2.68 KB compressed)
    @ember-data/record-data 22.94 KB -586.0 B (4.88 KB -75.56 B compressed)
        @ember-data/record-data/-private 22.94 KB -586.0 B (4.88 KB -75.56 B compressed)
    @ember-data/serializer 19.3 KB -65.0 B (4.11 KB +26.63 B compressed)
        @ember-data/serializer/json-api 3.71 KB -65.0 B (807.76 B -5.95 B compressed)
    @ember-data/model 10.22 KB -2.15 KB (2.18 KB -443.13 B compressed)
        @ember-data/model/-private 9.75 KB -2.15 KB (2.07 KB -444.13 B compressed)
    ember-data 9.72 KB -70.0 B (2.07 KB +5.56 B compressed)
        ember-data/-private 1.98 KB -70.0 B (431.76 B -10.61 B compressed)
    @ember-data/canary-features 0.0 B -1.24 KB (0.0 B -266.6 B compressed)
        @ember-data/canary-features/index 0.0 B -927.0 B (0.0 B -195.36 B compressed)
        @ember-data/canary-features/default-features 0.0 B -338.0 B (0.0 B -71.23 B compressed)

Full Asset Analysis

Asset Size Report
=================


Library: EmberData
┌────────────┬─────────────┐
│  (index)   │   Values    │
├────────────┼─────────────┤
│   bytes    │ '160.03 KB' │
│ compressed │ '34.15 KB'  │
│  packages  │      9      │
│  modules   │     47      │
└────────────┴─────────────┘

Package: @ember-data/store
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '71.64 KB' │
│  compressed  │ '15.29 KB' │
│ % Of Library │   '44.8'   │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/store/-private                    | 70.73 KB  | 15.09 KB   | 98.7          | 44.2
	@ember-data/store/index                       | 936.00 B  | 199.71 B   | 1.3           | 0.6

Package: @ember-data/record-data
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '22.94 KB' │
│  compressed  │ '4.89 KB'  │
│ % Of Library │   '14.3'   │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/record-data/-private              | 22.94 KB  | 4.89 KB    | 100.0         | 14.3

Package: @ember-data/serializer
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '19.30 KB' │
│  compressed  │ '4.12 KB'  │
│ % Of Library │   '12.1'   │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/serializer/json                   | 7.10 KB   | 1.52 KB    | 36.8          | 4.4
	@ember-data/serializer/-private               | 5.36 KB   | 1.14 KB    | 27.8          | 3.4
	@ember-data/serializer/json-api               | 3.71 KB   | 809.96 B   | 19.2          | 2.3
	@ember-data/serializer/rest                   | 2.68 KB   | 585.28 B   | 13.9          | 1.7
	@ember-data/serializer/index                  | 243.00 B  | 51.84 B    | 1.2           | 0.1
	@ember-data/serializer/transform              | 215.00 B  | 45.87 B    | 1.1           | 0.1

Package: @ember-data/adapter
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '14.57 KB' │
│  compressed  │ '3.11 KB'  │
│ % Of Library │   '9.1'    │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/adapter/rest                      | 7.65 KB   | 1.63 KB    | 52.5          | 4.8
	@ember-data/adapter/-private                  | 3.50 KB   | 764.73 B   | 24.0          | 2.2
	@ember-data/adapter/error                     | 1.91 KB   | 418.00 B   | 13.1          | 1.2
	@ember-data/adapter/json-api                  | 830.00 B  | 177.10 B   | 5.6           | 0.5
	@ember-data/adapter/index                     | 719.00 B  | 153.41 B   | 4.8           | 0.4

Package: @ember-data/model
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '10.22 KB' │
│  compressed  │ '2.18 KB'  │
│ % Of Library │   '6.4'    │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/model/-private                    | 9.75 KB   | 2.08 KB    | 95.4          | 6.1
	@ember-data/model/index                       | 486.00 B  | 103.69 B   | 4.6           | 0.3

Package: ember-data
┌──────────────┬───────────┐
│   (index)    │  Values   │
├──────────────┼───────────┤
│    bytes     │ '9.72 KB' │
│  compressed  │ '2.07 KB' │
│ % Of Library │   '6.1'   │
└──────────────┴───────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	ember-data/index                              | 2.42 KB   | 528.95 B   | 24.9          | 1.5
	ember-data/-private                           | 1.98 KB   | 432.93 B   | 20.4          | 1.2
	ember-data/adapters/errors                    | 1.19 KB   | 259.67 B   | 12.2          | 0.7
	ember-data/setup-container                    | 503.00 B  | 107.32 B   | 5.1           | 0.3
	ember-data/store                              | 406.00 B  | 86.62 B    | 4.1           | 0.2
	ember-data/relationships                      | 318.00 B  | 67.85 B    | 3.2           | 0.2
	ember-data/serializers/embedded-records-mixin | 274.00 B  | 58.46 B    | 2.8           | 0.2
	ember-data/serializers/json-api               | 251.00 B  | 53.55 B    | 2.5           | 0.2
	ember-data/adapters/json-api                  | 245.00 B  | 52.27 B    | 2.5           | 0.1
	ember-data/serializers/json                   | 243.00 B  | 51.84 B    | 2.4           | 0.1
	ember-data/serializers/rest                   | 243.00 B  | 51.84 B    | 2.4           | 0.1
	ember-data/transform                          | 241.00 B  | 51.42 B    | 2.4           | 0.1
	ember-data/adapters/rest                      | 237.00 B  | 50.56 B    | 2.4           | 0.1
	ember-data/serializer                         | 232.00 B  | 49.50 B    | 2.3           | 0.1
	ember-data/adapter                            | 226.00 B  | 48.22 B    | 2.3           | 0.1
	ember-data/model                              | 222.00 B  | 47.36 B    | 2.2           | 0.1
	ember-data/attr                               | 218.00 B  | 46.51 B    | 2.2           | 0.1
	ember-data/initialize-store-service           | 207.00 B  | 44.16 B    | 2.1           | 0.1
	ember-data/version                            | 162.00 B  | 34.56 B    | 1.6           | 0.1

Package: ember-inflector
┌──────────────┬───────────┐
│   (index)    │  Values   │
├──────────────┼───────────┤
│    bytes     │ '7.90 KB' │
│  compressed  │ '1.69 KB' │
│ % Of Library │   '4.9'   │
└──────────────┴───────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	ember-inflector/lib/system/inflector          | 2.75 KB   | 601.07 B   | 34.8          | 1.7
	ember-inflector/lib/system/inflections        | 1.57 KB   | 343.53 B   | 19.9          | 1.0
	ember-inflector/index                         | 1.12 KB   | 244.95 B   | 14.2          | 0.7
	ember-inflector/lib/ext/string                | 783.00 B  | 167.07 B   | 9.7           | 0.5
	ember-inflector/lib/system                    | 452.00 B  | 96.44 B    | 5.6           | 0.3
	ember-inflector/lib/system/string             | 351.00 B  | 74.89 B    | 4.3           | 0.2
	ember-inflector/lib/helpers/pluralize         | 348.00 B  | 74.25 B    | 4.3           | 0.2
	ember-inflector/lib/utils/make-helper         | 308.00 B  | 65.71 B    | 3.8           | 0.2
	ember-inflector/lib/helpers/singularize       | 271.00 B  | 57.82 B    | 3.4           | 0.2

Package: @ember-data/debug
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '2.68 KB'  │
│  compressed  │ '585.28 B' │
│ % Of Library │   '1.7'    │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/debug/index                       | 2.19 KB   | 478.81 B   | 81.8          | 1.4
	@ember-data/debug/setup                       | 499.00 B  | 106.47 B   | 18.2          | 0.3

Package: @ember/ordered-set
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '1.05 KB'  │
│  compressed  │ '230.01 B' │
│ % Of Library │   '0.7'    │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember/ordered-set/index                      | 1.05 KB   | 230.01 B   | 100.0         | 0.7

@runspired runspired force-pushed the feat/flags-for-packages branch 2 times, most recently from e7d7f5f to 94a56f0 Compare November 14, 2019 10:23
@github-actions
Copy link

Asset Size Report for 56c404e

EmberData shrank by 17.45 KB (3.36 KB compressed)

If any packages had changed sizes they would be listed here.

Changeset


EmberData 160.02 KB -17.45 KB (34.03 KB -3.36 KB compressed)
    @ember-data/store 71.63 KB -13.43 KB (15.23 KB -2.69 KB compressed)
        @ember-data/store/-private 70.72 KB -13.43 KB (15.04 KB -2.69 KB compressed)
    @ember-data/record-data 22.94 KB -586.0 B (4.88 KB -76.55 B compressed)
        @ember-data/record-data/-private 22.94 KB -586.0 B (4.88 KB -76.55 B compressed)
    @ember-data/serializer 19.3 KB -65.0 B (4.1 KB +25.77 B compressed)
        @ember-data/serializer/json-api 3.71 KB -65.0 B (807.26 B -6.11 B compressed)
    @ember-data/model 10.22 KB -2.15 KB (2.17 KB -443.4 B compressed)
        @ember-data/model/-private 9.75 KB -2.15 KB (2.07 KB -444.38 B compressed)
    @ember-data/canary-features 0.0 B -1.24 KB (0.0 B -266.49 B compressed)
        @ember-data/canary-features/index 0.0 B -927.0 B (0.0 B -195.28 B compressed)
        @ember-data/canary-features/default-features 0.0 B -338.0 B (0.0 B -71.2 B compressed)

Full Asset Analysis

Asset Size Report
=================


Library: EmberData
┌────────────┬─────────────┐
│  (index)   │   Values    │
├────────────┼─────────────┤
│   bytes    │ '160.02 KB' │
│ compressed │ '34.16 KB'  │
│  packages  │      9      │
│  modules   │     47      │
└────────────┴─────────────┘

Package: @ember-data/store
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '71.63 KB' │
│  compressed  │ '15.29 KB' │
│ % Of Library │   '44.8'   │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/store/-private                    | 70.72 KB  | 15.10 KB   | 98.7          | 44.2
	@ember-data/store/index                       | 936.00 B  | 199.81 B   | 1.3           | 0.6

Package: @ember-data/record-data
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '22.94 KB' │
│  compressed  │ '4.90 KB'  │
│ % Of Library │   '14.3'   │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/record-data/-private              | 22.94 KB  | 4.90 KB    | 100.0         | 14.3

Package: @ember-data/serializer
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '19.30 KB' │
│  compressed  │ '4.12 KB'  │
│ % Of Library │   '12.1'   │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/serializer/json                   | 7.10 KB   | 1.52 KB    | 36.8          | 4.4
	@ember-data/serializer/-private               | 5.36 KB   | 1.14 KB    | 27.8          | 3.4
	@ember-data/serializer/json-api               | 3.71 KB   | 810.34 B   | 19.2          | 2.3
	@ember-data/serializer/rest                   | 2.68 KB   | 585.55 B   | 13.9          | 1.7
	@ember-data/serializer/index                  | 243.00 B  | 51.87 B    | 1.2           | 0.1
	@ember-data/serializer/transform              | 215.00 B  | 45.89 B    | 1.1           | 0.1

Package: @ember-data/adapter
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '14.57 KB' │
│  compressed  │ '3.11 KB'  │
│ % Of Library │   '9.1'    │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/adapter/rest                      | 7.65 KB   | 1.63 KB    | 52.5          | 4.8
	@ember-data/adapter/-private                  | 3.50 KB   | 765.08 B   | 24.0          | 2.2
	@ember-data/adapter/error                     | 1.91 KB   | 418.19 B   | 13.1          | 1.2
	@ember-data/adapter/json-api                  | 830.00 B  | 177.18 B   | 5.6           | 0.5
	@ember-data/adapter/index                     | 719.00 B  | 153.48 B   | 4.8           | 0.4

Package: @ember-data/model
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '10.22 KB' │
│  compressed  │ '2.18 KB'  │
│ % Of Library │   '6.4'    │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/model/-private                    | 9.75 KB   | 2.08 KB    | 95.4          | 6.1
	@ember-data/model/index                       | 486.00 B  | 103.74 B   | 4.6           | 0.3

Package: ember-data
┌──────────────┬───────────┐
│   (index)    │  Values   │
├──────────────┼───────────┤
│    bytes     │ '9.72 KB' │
│  compressed  │ '2.07 KB' │
│ % Of Library │   '6.1'   │
└──────────────┴───────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	ember-data/index                              | 2.42 KB   | 529.19 B   | 24.9          | 1.5
	ember-data/-private                           | 1.98 KB   | 433.13 B   | 20.4          | 1.2
	ember-data/adapters/errors                    | 1.19 KB   | 259.79 B   | 12.2          | 0.7
	ember-data/setup-container                    | 503.00 B  | 107.37 B   | 5.1           | 0.3
	ember-data/store                              | 406.00 B  | 86.66 B    | 4.1           | 0.2
	ember-data/relationships                      | 318.00 B  | 67.88 B    | 3.2           | 0.2
	ember-data/serializers/embedded-records-mixin | 274.00 B  | 58.49 B    | 2.8           | 0.2
	ember-data/serializers/json-api               | 251.00 B  | 53.58 B    | 2.5           | 0.2
	ember-data/adapters/json-api                  | 245.00 B  | 52.30 B    | 2.5           | 0.1
	ember-data/serializers/json                   | 243.00 B  | 51.87 B    | 2.4           | 0.1
	ember-data/serializers/rest                   | 243.00 B  | 51.87 B    | 2.4           | 0.1
	ember-data/transform                          | 241.00 B  | 51.44 B    | 2.4           | 0.1
	ember-data/adapters/rest                      | 237.00 B  | 50.59 B    | 2.4           | 0.1
	ember-data/serializer                         | 232.00 B  | 49.52 B    | 2.3           | 0.1
	ember-data/adapter                            | 226.00 B  | 48.24 B    | 2.3           | 0.1
	ember-data/model                              | 222.00 B  | 47.39 B    | 2.2           | 0.1
	ember-data/attr                               | 218.00 B  | 46.53 B    | 2.2           | 0.1
	ember-data/initialize-store-service           | 207.00 B  | 44.18 B    | 2.1           | 0.1
	ember-data/version                            | 162.00 B  | 34.58 B    | 1.6           | 0.1

Package: ember-inflector
┌──────────────┬───────────┐
│   (index)    │  Values   │
├──────────────┼───────────┤
│    bytes     │ '7.90 KB' │
│  compressed  │ '1.69 KB' │
│ % Of Library │   '4.9'   │
└──────────────┴───────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	ember-inflector/lib/system/inflector          | 2.75 KB   | 601.35 B   | 34.8          | 1.7
	ember-inflector/lib/system/inflections        | 1.57 KB   | 343.69 B   | 19.9          | 1.0
	ember-inflector/index                         | 1.12 KB   | 245.06 B   | 14.2          | 0.7
	ember-inflector/lib/ext/string                | 783.00 B  | 167.14 B   | 9.7           | 0.5
	ember-inflector/lib/system                    | 452.00 B  | 96.48 B    | 5.6           | 0.3
	ember-inflector/lib/system/string             | 351.00 B  | 74.92 B    | 4.3           | 0.2
	ember-inflector/lib/helpers/pluralize         | 348.00 B  | 74.28 B    | 4.3           | 0.2
	ember-inflector/lib/utils/make-helper         | 308.00 B  | 65.74 B    | 3.8           | 0.2
	ember-inflector/lib/helpers/singularize       | 271.00 B  | 57.85 B    | 3.4           | 0.2

Package: @ember-data/debug
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '2.68 KB'  │
│  compressed  │ '585.55 B' │
│ % Of Library │   '1.7'    │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/debug/index                       | 2.19 KB   | 479.03 B   | 81.8          | 1.4
	@ember-data/debug/setup                       | 499.00 B  | 106.52 B   | 18.2          | 0.3

Package: @ember/ordered-set
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '1.05 KB'  │
│  compressed  │ '230.12 B' │
│ % Of Library │   '0.7'    │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember/ordered-set/index                      | 1.05 KB   | 230.12 B   | 100.0         | 0.7

@github-actions
Copy link

Asset Size Report for b9bd1c8

EmberData shrank by 17.45 KB (3.36 KB compressed)

If any packages had changed sizes they would be listed here.

Changeset


EmberData 160.02 KB -17.45 KB (34.03 KB -3.36 KB compressed)
    @ember-data/store 71.63 KB -13.43 KB (15.23 KB -2.69 KB compressed)
        @ember-data/store/-private 70.72 KB -13.43 KB (15.04 KB -2.69 KB compressed)
    @ember-data/record-data 22.94 KB -586.0 B (4.88 KB -76.55 B compressed)
        @ember-data/record-data/-private 22.94 KB -586.0 B (4.88 KB -76.55 B compressed)
    @ember-data/serializer 19.3 KB -65.0 B (4.1 KB +25.77 B compressed)
        @ember-data/serializer/json-api 3.71 KB -65.0 B (807.26 B -6.11 B compressed)
    @ember-data/model 10.22 KB -2.15 KB (2.17 KB -443.4 B compressed)
        @ember-data/model/-private 9.75 KB -2.15 KB (2.07 KB -444.38 B compressed)
    @ember-data/canary-features 0.0 B -1.24 KB (0.0 B -266.49 B compressed)
        @ember-data/canary-features/index 0.0 B -927.0 B (0.0 B -195.28 B compressed)
        @ember-data/canary-features/default-features 0.0 B -338.0 B (0.0 B -71.2 B compressed)

Full Asset Analysis

Asset Size Report
=================


Library: EmberData
┌────────────┬─────────────┐
│  (index)   │   Values    │
├────────────┼─────────────┤
│   bytes    │ '160.02 KB' │
│ compressed │ '34.16 KB'  │
│  packages  │      9      │
│  modules   │     47      │
└────────────┴─────────────┘

Package: @ember-data/store
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '71.63 KB' │
│  compressed  │ '15.29 KB' │
│ % Of Library │   '44.8'   │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/store/-private                    | 70.72 KB  | 15.10 KB   | 98.7          | 44.2
	@ember-data/store/index                       | 936.00 B  | 199.81 B   | 1.3           | 0.6

Package: @ember-data/record-data
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '22.94 KB' │
│  compressed  │ '4.90 KB'  │
│ % Of Library │   '14.3'   │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/record-data/-private              | 22.94 KB  | 4.90 KB    | 100.0         | 14.3

Package: @ember-data/serializer
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '19.30 KB' │
│  compressed  │ '4.12 KB'  │
│ % Of Library │   '12.1'   │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/serializer/json                   | 7.10 KB   | 1.52 KB    | 36.8          | 4.4
	@ember-data/serializer/-private               | 5.36 KB   | 1.14 KB    | 27.8          | 3.4
	@ember-data/serializer/json-api               | 3.71 KB   | 810.34 B   | 19.2          | 2.3
	@ember-data/serializer/rest                   | 2.68 KB   | 585.55 B   | 13.9          | 1.7
	@ember-data/serializer/index                  | 243.00 B  | 51.87 B    | 1.2           | 0.1
	@ember-data/serializer/transform              | 215.00 B  | 45.89 B    | 1.1           | 0.1

Package: @ember-data/adapter
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '14.57 KB' │
│  compressed  │ '3.11 KB'  │
│ % Of Library │   '9.1'    │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/adapter/rest                      | 7.65 KB   | 1.63 KB    | 52.5          | 4.8
	@ember-data/adapter/-private                  | 3.50 KB   | 765.08 B   | 24.0          | 2.2
	@ember-data/adapter/error                     | 1.91 KB   | 418.19 B   | 13.1          | 1.2
	@ember-data/adapter/json-api                  | 830.00 B  | 177.18 B   | 5.6           | 0.5
	@ember-data/adapter/index                     | 719.00 B  | 153.48 B   | 4.8           | 0.4

Package: @ember-data/model
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '10.22 KB' │
│  compressed  │ '2.18 KB'  │
│ % Of Library │   '6.4'    │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/model/-private                    | 9.75 KB   | 2.08 KB    | 95.4          | 6.1
	@ember-data/model/index                       | 486.00 B  | 103.74 B   | 4.6           | 0.3

Package: ember-data
┌──────────────┬───────────┐
│   (index)    │  Values   │
├──────────────┼───────────┤
│    bytes     │ '9.72 KB' │
│  compressed  │ '2.07 KB' │
│ % Of Library │   '6.1'   │
└──────────────┴───────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	ember-data/index                              | 2.42 KB   | 529.19 B   | 24.9          | 1.5
	ember-data/-private                           | 1.98 KB   | 433.13 B   | 20.4          | 1.2
	ember-data/adapters/errors                    | 1.19 KB   | 259.79 B   | 12.2          | 0.7
	ember-data/setup-container                    | 503.00 B  | 107.37 B   | 5.1           | 0.3
	ember-data/store                              | 406.00 B  | 86.66 B    | 4.1           | 0.2
	ember-data/relationships                      | 318.00 B  | 67.88 B    | 3.2           | 0.2
	ember-data/serializers/embedded-records-mixin | 274.00 B  | 58.49 B    | 2.8           | 0.2
	ember-data/serializers/json-api               | 251.00 B  | 53.58 B    | 2.5           | 0.2
	ember-data/adapters/json-api                  | 245.00 B  | 52.30 B    | 2.5           | 0.1
	ember-data/serializers/json                   | 243.00 B  | 51.87 B    | 2.4           | 0.1
	ember-data/serializers/rest                   | 243.00 B  | 51.87 B    | 2.4           | 0.1
	ember-data/transform                          | 241.00 B  | 51.44 B    | 2.4           | 0.1
	ember-data/adapters/rest                      | 237.00 B  | 50.59 B    | 2.4           | 0.1
	ember-data/serializer                         | 232.00 B  | 49.52 B    | 2.3           | 0.1
	ember-data/adapter                            | 226.00 B  | 48.24 B    | 2.3           | 0.1
	ember-data/model                              | 222.00 B  | 47.39 B    | 2.2           | 0.1
	ember-data/attr                               | 218.00 B  | 46.53 B    | 2.2           | 0.1
	ember-data/initialize-store-service           | 207.00 B  | 44.18 B    | 2.1           | 0.1
	ember-data/version                            | 162.00 B  | 34.58 B    | 1.6           | 0.1

Package: ember-inflector
┌──────────────┬───────────┐
│   (index)    │  Values   │
├──────────────┼───────────┤
│    bytes     │ '7.90 KB' │
│  compressed  │ '1.69 KB' │
│ % Of Library │   '4.9'   │
└──────────────┴───────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	ember-inflector/lib/system/inflector          | 2.75 KB   | 601.35 B   | 34.8          | 1.7
	ember-inflector/lib/system/inflections        | 1.57 KB   | 343.69 B   | 19.9          | 1.0
	ember-inflector/index                         | 1.12 KB   | 245.06 B   | 14.2          | 0.7
	ember-inflector/lib/ext/string                | 783.00 B  | 167.14 B   | 9.7           | 0.5
	ember-inflector/lib/system                    | 452.00 B  | 96.48 B    | 5.6           | 0.3
	ember-inflector/lib/system/string             | 351.00 B  | 74.92 B    | 4.3           | 0.2
	ember-inflector/lib/helpers/pluralize         | 348.00 B  | 74.28 B    | 4.3           | 0.2
	ember-inflector/lib/utils/make-helper         | 308.00 B  | 65.74 B    | 3.8           | 0.2
	ember-inflector/lib/helpers/singularize       | 271.00 B  | 57.85 B    | 3.4           | 0.2

Package: @ember-data/debug
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '2.68 KB'  │
│  compressed  │ '585.55 B' │
│ % Of Library │   '1.7'    │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/debug/index                       | 2.19 KB   | 479.03 B   | 81.8          | 1.4
	@ember-data/debug/setup                       | 499.00 B  | 106.52 B   | 18.2          | 0.3

Package: @ember/ordered-set
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '1.05 KB'  │
│  compressed  │ '230.12 B' │
│ % Of Library │   '0.7'    │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember/ordered-set/index                      | 1.05 KB   | 230.12 B   | 100.0         | 0.7

@igorT
Copy link
Member

igorT commented Nov 14, 2019

Seems like this needs TS review, added a label

@github-actions
Copy link

Asset Size Report for 7c8f35d

EmberData shrank by 17.45 KB (3.36 KB compressed)

If any packages had changed sizes they would be listed here.

Changeset


EmberData 160.02 KB -17.45 KB (34.03 KB -3.36 KB compressed)
    @ember-data/store 71.63 KB -13.43 KB (15.23 KB -2.69 KB compressed)
        @ember-data/store/-private 70.72 KB -13.43 KB (15.04 KB -2.69 KB compressed)
    @ember-data/record-data 22.94 KB -586.0 B (4.88 KB -76.55 B compressed)
        @ember-data/record-data/-private 22.94 KB -586.0 B (4.88 KB -76.55 B compressed)
    @ember-data/serializer 19.3 KB -65.0 B (4.1 KB +25.77 B compressed)
        @ember-data/serializer/json-api 3.71 KB -65.0 B (807.26 B -6.11 B compressed)
    @ember-data/model 10.22 KB -2.15 KB (2.17 KB -443.4 B compressed)
        @ember-data/model/-private 9.75 KB -2.15 KB (2.07 KB -444.38 B compressed)
    @ember-data/canary-features 0.0 B -1.24 KB (0.0 B -266.49 B compressed)
        @ember-data/canary-features/index 0.0 B -927.0 B (0.0 B -195.28 B compressed)
        @ember-data/canary-features/default-features 0.0 B -338.0 B (0.0 B -71.2 B compressed)

Full Asset Analysis

Asset Size Report
=================


Library: EmberData
┌────────────┬─────────────┐
│  (index)   │   Values    │
├────────────┼─────────────┤
│   bytes    │ '160.02 KB' │
│ compressed │ '34.16 KB'  │
│  packages  │      9      │
│  modules   │     47      │
└────────────┴─────────────┘

Package: @ember-data/store
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '71.63 KB' │
│  compressed  │ '15.29 KB' │
│ % Of Library │   '44.8'   │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/store/-private                    | 70.72 KB  | 15.10 KB   | 98.7          | 44.2
	@ember-data/store/index                       | 936.00 B  | 199.81 B   | 1.3           | 0.6

Package: @ember-data/record-data
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '22.94 KB' │
│  compressed  │ '4.90 KB'  │
│ % Of Library │   '14.3'   │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/record-data/-private              | 22.94 KB  | 4.90 KB    | 100.0         | 14.3

Package: @ember-data/serializer
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '19.30 KB' │
│  compressed  │ '4.12 KB'  │
│ % Of Library │   '12.1'   │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/serializer/json                   | 7.10 KB   | 1.52 KB    | 36.8          | 4.4
	@ember-data/serializer/-private               | 5.36 KB   | 1.14 KB    | 27.8          | 3.4
	@ember-data/serializer/json-api               | 3.71 KB   | 810.34 B   | 19.2          | 2.3
	@ember-data/serializer/rest                   | 2.68 KB   | 585.55 B   | 13.9          | 1.7
	@ember-data/serializer/index                  | 243.00 B  | 51.87 B    | 1.2           | 0.1
	@ember-data/serializer/transform              | 215.00 B  | 45.89 B    | 1.1           | 0.1

Package: @ember-data/adapter
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '14.57 KB' │
│  compressed  │ '3.11 KB'  │
│ % Of Library │   '9.1'    │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/adapter/rest                      | 7.65 KB   | 1.63 KB    | 52.5          | 4.8
	@ember-data/adapter/-private                  | 3.50 KB   | 765.08 B   | 24.0          | 2.2
	@ember-data/adapter/error                     | 1.91 KB   | 418.19 B   | 13.1          | 1.2
	@ember-data/adapter/json-api                  | 830.00 B  | 177.18 B   | 5.6           | 0.5
	@ember-data/adapter/index                     | 719.00 B  | 153.48 B   | 4.8           | 0.4

Package: @ember-data/model
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '10.22 KB' │
│  compressed  │ '2.18 KB'  │
│ % Of Library │   '6.4'    │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/model/-private                    | 9.75 KB   | 2.08 KB    | 95.4          | 6.1
	@ember-data/model/index                       | 486.00 B  | 103.74 B   | 4.6           | 0.3

Package: ember-data
┌──────────────┬───────────┐
│   (index)    │  Values   │
├──────────────┼───────────┤
│    bytes     │ '9.72 KB' │
│  compressed  │ '2.07 KB' │
│ % Of Library │   '6.1'   │
└──────────────┴───────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	ember-data/index                              | 2.42 KB   | 529.19 B   | 24.9          | 1.5
	ember-data/-private                           | 1.98 KB   | 433.13 B   | 20.4          | 1.2
	ember-data/adapters/errors                    | 1.19 KB   | 259.79 B   | 12.2          | 0.7
	ember-data/setup-container                    | 503.00 B  | 107.37 B   | 5.1           | 0.3
	ember-data/store                              | 406.00 B  | 86.66 B    | 4.1           | 0.2
	ember-data/relationships                      | 318.00 B  | 67.88 B    | 3.2           | 0.2
	ember-data/serializers/embedded-records-mixin | 274.00 B  | 58.49 B    | 2.8           | 0.2
	ember-data/serializers/json-api               | 251.00 B  | 53.58 B    | 2.5           | 0.2
	ember-data/adapters/json-api                  | 245.00 B  | 52.30 B    | 2.5           | 0.1
	ember-data/serializers/json                   | 243.00 B  | 51.87 B    | 2.4           | 0.1
	ember-data/serializers/rest                   | 243.00 B  | 51.87 B    | 2.4           | 0.1
	ember-data/transform                          | 241.00 B  | 51.44 B    | 2.4           | 0.1
	ember-data/adapters/rest                      | 237.00 B  | 50.59 B    | 2.4           | 0.1
	ember-data/serializer                         | 232.00 B  | 49.52 B    | 2.3           | 0.1
	ember-data/adapter                            | 226.00 B  | 48.24 B    | 2.3           | 0.1
	ember-data/model                              | 222.00 B  | 47.39 B    | 2.2           | 0.1
	ember-data/attr                               | 218.00 B  | 46.53 B    | 2.2           | 0.1
	ember-data/initialize-store-service           | 207.00 B  | 44.18 B    | 2.1           | 0.1
	ember-data/version                            | 162.00 B  | 34.58 B    | 1.6           | 0.1

Package: ember-inflector
┌──────────────┬───────────┐
│   (index)    │  Values   │
├──────────────┼───────────┤
│    bytes     │ '7.90 KB' │
│  compressed  │ '1.69 KB' │
│ % Of Library │   '4.9'   │
└──────────────┴───────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	ember-inflector/lib/system/inflector          | 2.75 KB   | 601.35 B   | 34.8          | 1.7
	ember-inflector/lib/system/inflections        | 1.57 KB   | 343.69 B   | 19.9          | 1.0
	ember-inflector/index                         | 1.12 KB   | 245.06 B   | 14.2          | 0.7
	ember-inflector/lib/ext/string                | 783.00 B  | 167.14 B   | 9.7           | 0.5
	ember-inflector/lib/system                    | 452.00 B  | 96.48 B    | 5.6           | 0.3
	ember-inflector/lib/system/string             | 351.00 B  | 74.92 B    | 4.3           | 0.2
	ember-inflector/lib/helpers/pluralize         | 348.00 B  | 74.28 B    | 4.3           | 0.2
	ember-inflector/lib/utils/make-helper         | 308.00 B  | 65.74 B    | 3.8           | 0.2
	ember-inflector/lib/helpers/singularize       | 271.00 B  | 57.85 B    | 3.4           | 0.2

Package: @ember-data/debug
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '2.68 KB'  │
│  compressed  │ '585.55 B' │
│ % Of Library │   '1.7'    │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/debug/index                       | 2.19 KB   | 479.03 B   | 81.8          | 1.4
	@ember-data/debug/setup                       | 499.00 B  | 106.52 B   | 18.2          | 0.3

Package: @ember/ordered-set
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '1.05 KB'  │
│  compressed  │ '230.12 B' │
│ % Of Library │   '0.7'    │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember/ordered-set/index                      | 1.05 KB   | 230.12 B   | 100.0         | 0.7

Copy link
Contributor

@chriskrycho chriskrycho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚢

@github-actions
Copy link

Asset Size Report for 3a75acc

EmberData shrank by 17.45 KB (3.36 KB compressed)

If any packages had changed sizes they would be listed here.

Changeset


EmberData 160.02 KB -17.45 KB (34.03 KB -3.36 KB compressed)
    @ember-data/store 71.63 KB -13.43 KB (15.23 KB -2.69 KB compressed)
        @ember-data/store/-private 70.72 KB -13.43 KB (15.04 KB -2.69 KB compressed)
    @ember-data/record-data 22.94 KB -586.0 B (4.88 KB -76.55 B compressed)
        @ember-data/record-data/-private 22.94 KB -586.0 B (4.88 KB -76.55 B compressed)
    @ember-data/serializer 19.3 KB -65.0 B (4.1 KB +25.77 B compressed)
        @ember-data/serializer/json-api 3.71 KB -65.0 B (807.26 B -6.11 B compressed)
    @ember-data/model 10.22 KB -2.15 KB (2.17 KB -443.4 B compressed)
        @ember-data/model/-private 9.75 KB -2.15 KB (2.07 KB -444.38 B compressed)
    @ember-data/canary-features 0.0 B -1.24 KB (0.0 B -266.49 B compressed)
        @ember-data/canary-features/index 0.0 B -927.0 B (0.0 B -195.28 B compressed)
        @ember-data/canary-features/default-features 0.0 B -338.0 B (0.0 B -71.2 B compressed)

Full Asset Analysis

Asset Size Report
=================


Library: EmberData
┌────────────┬─────────────┐
│  (index)   │   Values    │
├────────────┼─────────────┤
│   bytes    │ '160.02 KB' │
│ compressed │ '34.16 KB'  │
│  packages  │      9      │
│  modules   │     47      │
└────────────┴─────────────┘

Package: @ember-data/store
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '71.63 KB' │
│  compressed  │ '15.29 KB' │
│ % Of Library │   '44.8'   │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/store/-private                    | 70.72 KB  | 15.10 KB   | 98.7          | 44.2
	@ember-data/store/index                       | 936.00 B  | 199.81 B   | 1.3           | 0.6

Package: @ember-data/record-data
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '22.94 KB' │
│  compressed  │ '4.90 KB'  │
│ % Of Library │   '14.3'   │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/record-data/-private              | 22.94 KB  | 4.90 KB    | 100.0         | 14.3

Package: @ember-data/serializer
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '19.30 KB' │
│  compressed  │ '4.12 KB'  │
│ % Of Library │   '12.1'   │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/serializer/json                   | 7.10 KB   | 1.52 KB    | 36.8          | 4.4
	@ember-data/serializer/-private               | 5.36 KB   | 1.14 KB    | 27.8          | 3.4
	@ember-data/serializer/json-api               | 3.71 KB   | 810.34 B   | 19.2          | 2.3
	@ember-data/serializer/rest                   | 2.68 KB   | 585.55 B   | 13.9          | 1.7
	@ember-data/serializer/index                  | 243.00 B  | 51.87 B    | 1.2           | 0.1
	@ember-data/serializer/transform              | 215.00 B  | 45.89 B    | 1.1           | 0.1

Package: @ember-data/adapter
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '14.57 KB' │
│  compressed  │ '3.11 KB'  │
│ % Of Library │   '9.1'    │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/adapter/rest                      | 7.65 KB   | 1.63 KB    | 52.5          | 4.8
	@ember-data/adapter/-private                  | 3.50 KB   | 765.08 B   | 24.0          | 2.2
	@ember-data/adapter/error                     | 1.91 KB   | 418.19 B   | 13.1          | 1.2
	@ember-data/adapter/json-api                  | 830.00 B  | 177.18 B   | 5.6           | 0.5
	@ember-data/adapter/index                     | 719.00 B  | 153.48 B   | 4.8           | 0.4

Package: @ember-data/model
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '10.22 KB' │
│  compressed  │ '2.18 KB'  │
│ % Of Library │   '6.4'    │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/model/-private                    | 9.75 KB   | 2.08 KB    | 95.4          | 6.1
	@ember-data/model/index                       | 486.00 B  | 103.74 B   | 4.6           | 0.3

Package: ember-data
┌──────────────┬───────────┐
│   (index)    │  Values   │
├──────────────┼───────────┤
│    bytes     │ '9.72 KB' │
│  compressed  │ '2.07 KB' │
│ % Of Library │   '6.1'   │
└──────────────┴───────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	ember-data/index                              | 2.42 KB   | 529.19 B   | 24.9          | 1.5
	ember-data/-private                           | 1.98 KB   | 433.13 B   | 20.4          | 1.2
	ember-data/adapters/errors                    | 1.19 KB   | 259.79 B   | 12.2          | 0.7
	ember-data/setup-container                    | 503.00 B  | 107.37 B   | 5.1           | 0.3
	ember-data/store                              | 406.00 B  | 86.66 B    | 4.1           | 0.2
	ember-data/relationships                      | 318.00 B  | 67.88 B    | 3.2           | 0.2
	ember-data/serializers/embedded-records-mixin | 274.00 B  | 58.49 B    | 2.8           | 0.2
	ember-data/serializers/json-api               | 251.00 B  | 53.58 B    | 2.5           | 0.2
	ember-data/adapters/json-api                  | 245.00 B  | 52.30 B    | 2.5           | 0.1
	ember-data/serializers/json                   | 243.00 B  | 51.87 B    | 2.4           | 0.1
	ember-data/serializers/rest                   | 243.00 B  | 51.87 B    | 2.4           | 0.1
	ember-data/transform                          | 241.00 B  | 51.44 B    | 2.4           | 0.1
	ember-data/adapters/rest                      | 237.00 B  | 50.59 B    | 2.4           | 0.1
	ember-data/serializer                         | 232.00 B  | 49.52 B    | 2.3           | 0.1
	ember-data/adapter                            | 226.00 B  | 48.24 B    | 2.3           | 0.1
	ember-data/model                              | 222.00 B  | 47.39 B    | 2.2           | 0.1
	ember-data/attr                               | 218.00 B  | 46.53 B    | 2.2           | 0.1
	ember-data/initialize-store-service           | 207.00 B  | 44.18 B    | 2.1           | 0.1
	ember-data/version                            | 162.00 B  | 34.58 B    | 1.6           | 0.1

Package: ember-inflector
┌──────────────┬───────────┐
│   (index)    │  Values   │
├──────────────┼───────────┤
│    bytes     │ '7.90 KB' │
│  compressed  │ '1.69 KB' │
│ % Of Library │   '4.9'   │
└──────────────┴───────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	ember-inflector/lib/system/inflector          | 2.75 KB   | 601.35 B   | 34.8          | 1.7
	ember-inflector/lib/system/inflections        | 1.57 KB   | 343.69 B   | 19.9          | 1.0
	ember-inflector/index                         | 1.12 KB   | 245.06 B   | 14.2          | 0.7
	ember-inflector/lib/ext/string                | 783.00 B  | 167.14 B   | 9.7           | 0.5
	ember-inflector/lib/system                    | 452.00 B  | 96.48 B    | 5.6           | 0.3
	ember-inflector/lib/system/string             | 351.00 B  | 74.92 B    | 4.3           | 0.2
	ember-inflector/lib/helpers/pluralize         | 348.00 B  | 74.28 B    | 4.3           | 0.2
	ember-inflector/lib/utils/make-helper         | 308.00 B  | 65.74 B    | 3.8           | 0.2
	ember-inflector/lib/helpers/singularize       | 271.00 B  | 57.85 B    | 3.4           | 0.2

Package: @ember-data/debug
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '2.68 KB'  │
│  compressed  │ '585.55 B' │
│ % Of Library │   '1.7'    │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/debug/index                       | 2.19 KB   | 479.03 B   | 81.8          | 1.4
	@ember-data/debug/setup                       | 499.00 B  | 106.52 B   | 18.2          | 0.3

Package: @ember/ordered-set
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '1.05 KB'  │
│  compressed  │ '230.12 B' │
│ % Of Library │   '0.7'    │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember/ordered-set/index                      | 1.05 KB   | 230.12 B   | 100.0         | 0.7

@github-actions
Copy link

Asset Size Report for 3dc78d4

EmberData shrank by 17.45 KB (3.36 KB compressed)

If any packages had changed sizes they would be listed here.

Changeset


EmberData 160.02 KB -17.45 KB (34.03 KB -3.36 KB compressed)
    @ember-data/store 71.63 KB -13.43 KB (15.23 KB -2.69 KB compressed)
        @ember-data/store/-private 70.72 KB -13.43 KB (15.04 KB -2.69 KB compressed)
    @ember-data/record-data 22.94 KB -586.0 B (4.88 KB -76.55 B compressed)
        @ember-data/record-data/-private 22.94 KB -586.0 B (4.88 KB -76.55 B compressed)
    @ember-data/serializer 19.3 KB -65.0 B (4.1 KB +25.77 B compressed)
        @ember-data/serializer/json-api 3.71 KB -65.0 B (807.26 B -6.11 B compressed)
    @ember-data/model 10.22 KB -2.15 KB (2.17 KB -443.4 B compressed)
        @ember-data/model/-private 9.75 KB -2.15 KB (2.07 KB -444.38 B compressed)
    @ember-data/canary-features 0.0 B -1.24 KB (0.0 B -266.49 B compressed)
        @ember-data/canary-features/index 0.0 B -927.0 B (0.0 B -195.28 B compressed)
        @ember-data/canary-features/default-features 0.0 B -338.0 B (0.0 B -71.2 B compressed)

Full Asset Analysis

Asset Size Report
=================


Library: EmberData
┌────────────┬─────────────┐
│  (index)   │   Values    │
├────────────┼─────────────┤
│   bytes    │ '160.02 KB' │
│ compressed │ '34.16 KB'  │
│  packages  │      9      │
│  modules   │     47      │
└────────────┴─────────────┘

Package: @ember-data/store
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '71.63 KB' │
│  compressed  │ '15.29 KB' │
│ % Of Library │   '44.8'   │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/store/-private                    | 70.72 KB  | 15.10 KB   | 98.7          | 44.2
	@ember-data/store/index                       | 936.00 B  | 199.81 B   | 1.3           | 0.6

Package: @ember-data/record-data
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '22.94 KB' │
│  compressed  │ '4.90 KB'  │
│ % Of Library │   '14.3'   │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/record-data/-private              | 22.94 KB  | 4.90 KB    | 100.0         | 14.3

Package: @ember-data/serializer
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '19.30 KB' │
│  compressed  │ '4.12 KB'  │
│ % Of Library │   '12.1'   │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/serializer/json                   | 7.10 KB   | 1.52 KB    | 36.8          | 4.4
	@ember-data/serializer/-private               | 5.36 KB   | 1.14 KB    | 27.8          | 3.4
	@ember-data/serializer/json-api               | 3.71 KB   | 810.34 B   | 19.2          | 2.3
	@ember-data/serializer/rest                   | 2.68 KB   | 585.55 B   | 13.9          | 1.7
	@ember-data/serializer/index                  | 243.00 B  | 51.87 B    | 1.2           | 0.1
	@ember-data/serializer/transform              | 215.00 B  | 45.89 B    | 1.1           | 0.1

Package: @ember-data/adapter
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '14.57 KB' │
│  compressed  │ '3.11 KB'  │
│ % Of Library │   '9.1'    │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/adapter/rest                      | 7.65 KB   | 1.63 KB    | 52.5          | 4.8
	@ember-data/adapter/-private                  | 3.50 KB   | 765.08 B   | 24.0          | 2.2
	@ember-data/adapter/error                     | 1.91 KB   | 418.19 B   | 13.1          | 1.2
	@ember-data/adapter/json-api                  | 830.00 B  | 177.18 B   | 5.6           | 0.5
	@ember-data/adapter/index                     | 719.00 B  | 153.48 B   | 4.8           | 0.4

Package: @ember-data/model
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '10.22 KB' │
│  compressed  │ '2.18 KB'  │
│ % Of Library │   '6.4'    │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/model/-private                    | 9.75 KB   | 2.08 KB    | 95.4          | 6.1
	@ember-data/model/index                       | 486.00 B  | 103.74 B   | 4.6           | 0.3

Package: ember-data
┌──────────────┬───────────┐
│   (index)    │  Values   │
├──────────────┼───────────┤
│    bytes     │ '9.72 KB' │
│  compressed  │ '2.07 KB' │
│ % Of Library │   '6.1'   │
└──────────────┴───────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	ember-data/index                              | 2.42 KB   | 529.19 B   | 24.9          | 1.5
	ember-data/-private                           | 1.98 KB   | 433.13 B   | 20.4          | 1.2
	ember-data/adapters/errors                    | 1.19 KB   | 259.79 B   | 12.2          | 0.7
	ember-data/setup-container                    | 503.00 B  | 107.37 B   | 5.1           | 0.3
	ember-data/store                              | 406.00 B  | 86.66 B    | 4.1           | 0.2
	ember-data/relationships                      | 318.00 B  | 67.88 B    | 3.2           | 0.2
	ember-data/serializers/embedded-records-mixin | 274.00 B  | 58.49 B    | 2.8           | 0.2
	ember-data/serializers/json-api               | 251.00 B  | 53.58 B    | 2.5           | 0.2
	ember-data/adapters/json-api                  | 245.00 B  | 52.30 B    | 2.5           | 0.1
	ember-data/serializers/json                   | 243.00 B  | 51.87 B    | 2.4           | 0.1
	ember-data/serializers/rest                   | 243.00 B  | 51.87 B    | 2.4           | 0.1
	ember-data/transform                          | 241.00 B  | 51.44 B    | 2.4           | 0.1
	ember-data/adapters/rest                      | 237.00 B  | 50.59 B    | 2.4           | 0.1
	ember-data/serializer                         | 232.00 B  | 49.52 B    | 2.3           | 0.1
	ember-data/adapter                            | 226.00 B  | 48.24 B    | 2.3           | 0.1
	ember-data/model                              | 222.00 B  | 47.39 B    | 2.2           | 0.1
	ember-data/attr                               | 218.00 B  | 46.53 B    | 2.2           | 0.1
	ember-data/initialize-store-service           | 207.00 B  | 44.18 B    | 2.1           | 0.1
	ember-data/version                            | 162.00 B  | 34.58 B    | 1.6           | 0.1

Package: ember-inflector
┌──────────────┬───────────┐
│   (index)    │  Values   │
├──────────────┼───────────┤
│    bytes     │ '7.90 KB' │
│  compressed  │ '1.69 KB' │
│ % Of Library │   '4.9'   │
└──────────────┴───────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	ember-inflector/lib/system/inflector          | 2.75 KB   | 601.35 B   | 34.8          | 1.7
	ember-inflector/lib/system/inflections        | 1.57 KB   | 343.69 B   | 19.9          | 1.0
	ember-inflector/index                         | 1.12 KB   | 245.06 B   | 14.2          | 0.7
	ember-inflector/lib/ext/string                | 783.00 B  | 167.14 B   | 9.7           | 0.5
	ember-inflector/lib/system                    | 452.00 B  | 96.48 B    | 5.6           | 0.3
	ember-inflector/lib/system/string             | 351.00 B  | 74.92 B    | 4.3           | 0.2
	ember-inflector/lib/helpers/pluralize         | 348.00 B  | 74.28 B    | 4.3           | 0.2
	ember-inflector/lib/utils/make-helper         | 308.00 B  | 65.74 B    | 3.8           | 0.2
	ember-inflector/lib/helpers/singularize       | 271.00 B  | 57.85 B    | 3.4           | 0.2

Package: @ember-data/debug
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '2.68 KB'  │
│  compressed  │ '585.55 B' │
│ % Of Library │   '1.7'    │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/debug/index                       | 2.19 KB   | 479.03 B   | 81.8          | 1.4
	@ember-data/debug/setup                       | 499.00 B  | 106.52 B   | 18.2          | 0.3

Package: @ember/ordered-set
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '1.05 KB'  │
│  compressed  │ '230.12 B' │
│ % Of Library │   '0.7'    │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember/ordered-set/index                      | 1.05 KB   | 230.12 B   | 100.0         | 0.7

@github-actions
Copy link

Asset Size Report for e963efd

EmberData shrank by 17.45 KB (3.36 KB compressed)

If any packages had changed sizes they would be listed here.

Changeset


EmberData 160.02 KB -17.45 KB (34.03 KB -3.36 KB compressed)
    @ember-data/store 71.63 KB -13.43 KB (15.23 KB -2.69 KB compressed)
        @ember-data/store/-private 70.72 KB -13.43 KB (15.04 KB -2.69 KB compressed)
    @ember-data/record-data 22.94 KB -586.0 B (4.88 KB -76.55 B compressed)
        @ember-data/record-data/-private 22.94 KB -586.0 B (4.88 KB -76.55 B compressed)
    @ember-data/serializer 19.3 KB -65.0 B (4.1 KB +25.77 B compressed)
        @ember-data/serializer/json-api 3.71 KB -65.0 B (807.26 B -6.11 B compressed)
    @ember-data/model 10.22 KB -2.15 KB (2.17 KB -443.4 B compressed)
        @ember-data/model/-private 9.75 KB -2.15 KB (2.07 KB -444.38 B compressed)
    @ember-data/canary-features 0.0 B -1.24 KB (0.0 B -266.49 B compressed)
        @ember-data/canary-features/index 0.0 B -927.0 B (0.0 B -195.28 B compressed)
        @ember-data/canary-features/default-features 0.0 B -338.0 B (0.0 B -71.2 B compressed)

Full Asset Analysis

Asset Size Report
=================


Library: EmberData
┌────────────┬─────────────┐
│  (index)   │   Values    │
├────────────┼─────────────┤
│   bytes    │ '160.02 KB' │
│ compressed │ '34.16 KB'  │
│  packages  │      9      │
│  modules   │     47      │
└────────────┴─────────────┘

Package: @ember-data/store
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '71.63 KB' │
│  compressed  │ '15.29 KB' │
│ % Of Library │   '44.8'   │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/store/-private                    | 70.72 KB  | 15.10 KB   | 98.7          | 44.2
	@ember-data/store/index                       | 936.00 B  | 199.81 B   | 1.3           | 0.6

Package: @ember-data/record-data
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '22.94 KB' │
│  compressed  │ '4.90 KB'  │
│ % Of Library │   '14.3'   │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/record-data/-private              | 22.94 KB  | 4.90 KB    | 100.0         | 14.3

Package: @ember-data/serializer
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '19.30 KB' │
│  compressed  │ '4.12 KB'  │
│ % Of Library │   '12.1'   │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/serializer/json                   | 7.10 KB   | 1.52 KB    | 36.8          | 4.4
	@ember-data/serializer/-private               | 5.36 KB   | 1.14 KB    | 27.8          | 3.4
	@ember-data/serializer/json-api               | 3.71 KB   | 810.34 B   | 19.2          | 2.3
	@ember-data/serializer/rest                   | 2.68 KB   | 585.55 B   | 13.9          | 1.7
	@ember-data/serializer/index                  | 243.00 B  | 51.87 B    | 1.2           | 0.1
	@ember-data/serializer/transform              | 215.00 B  | 45.89 B    | 1.1           | 0.1

Package: @ember-data/adapter
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '14.57 KB' │
│  compressed  │ '3.11 KB'  │
│ % Of Library │   '9.1'    │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/adapter/rest                      | 7.65 KB   | 1.63 KB    | 52.5          | 4.8
	@ember-data/adapter/-private                  | 3.50 KB   | 765.08 B   | 24.0          | 2.2
	@ember-data/adapter/error                     | 1.91 KB   | 418.19 B   | 13.1          | 1.2
	@ember-data/adapter/json-api                  | 830.00 B  | 177.18 B   | 5.6           | 0.5
	@ember-data/adapter/index                     | 719.00 B  | 153.48 B   | 4.8           | 0.4

Package: @ember-data/model
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '10.22 KB' │
│  compressed  │ '2.18 KB'  │
│ % Of Library │   '6.4'    │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/model/-private                    | 9.75 KB   | 2.08 KB    | 95.4          | 6.1
	@ember-data/model/index                       | 486.00 B  | 103.74 B   | 4.6           | 0.3

Package: ember-data
┌──────────────┬───────────┐
│   (index)    │  Values   │
├──────────────┼───────────┤
│    bytes     │ '9.72 KB' │
│  compressed  │ '2.07 KB' │
│ % Of Library │   '6.1'   │
└──────────────┴───────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	ember-data/index                              | 2.42 KB   | 529.19 B   | 24.9          | 1.5
	ember-data/-private                           | 1.98 KB   | 433.13 B   | 20.4          | 1.2
	ember-data/adapters/errors                    | 1.19 KB   | 259.79 B   | 12.2          | 0.7
	ember-data/setup-container                    | 503.00 B  | 107.37 B   | 5.1           | 0.3
	ember-data/store                              | 406.00 B  | 86.66 B    | 4.1           | 0.2
	ember-data/relationships                      | 318.00 B  | 67.88 B    | 3.2           | 0.2
	ember-data/serializers/embedded-records-mixin | 274.00 B  | 58.49 B    | 2.8           | 0.2
	ember-data/serializers/json-api               | 251.00 B  | 53.58 B    | 2.5           | 0.2
	ember-data/adapters/json-api                  | 245.00 B  | 52.30 B    | 2.5           | 0.1
	ember-data/serializers/json                   | 243.00 B  | 51.87 B    | 2.4           | 0.1
	ember-data/serializers/rest                   | 243.00 B  | 51.87 B    | 2.4           | 0.1
	ember-data/transform                          | 241.00 B  | 51.44 B    | 2.4           | 0.1
	ember-data/adapters/rest                      | 237.00 B  | 50.59 B    | 2.4           | 0.1
	ember-data/serializer                         | 232.00 B  | 49.52 B    | 2.3           | 0.1
	ember-data/adapter                            | 226.00 B  | 48.24 B    | 2.3           | 0.1
	ember-data/model                              | 222.00 B  | 47.39 B    | 2.2           | 0.1
	ember-data/attr                               | 218.00 B  | 46.53 B    | 2.2           | 0.1
	ember-data/initialize-store-service           | 207.00 B  | 44.18 B    | 2.1           | 0.1
	ember-data/version                            | 162.00 B  | 34.58 B    | 1.6           | 0.1

Package: ember-inflector
┌──────────────┬───────────┐
│   (index)    │  Values   │
├──────────────┼───────────┤
│    bytes     │ '7.90 KB' │
│  compressed  │ '1.69 KB' │
│ % Of Library │   '4.9'   │
└──────────────┴───────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	ember-inflector/lib/system/inflector          | 2.75 KB   | 601.35 B   | 34.8          | 1.7
	ember-inflector/lib/system/inflections        | 1.57 KB   | 343.69 B   | 19.9          | 1.0
	ember-inflector/index                         | 1.12 KB   | 245.06 B   | 14.2          | 0.7
	ember-inflector/lib/ext/string                | 783.00 B  | 167.14 B   | 9.7           | 0.5
	ember-inflector/lib/system                    | 452.00 B  | 96.48 B    | 5.6           | 0.3
	ember-inflector/lib/system/string             | 351.00 B  | 74.92 B    | 4.3           | 0.2
	ember-inflector/lib/helpers/pluralize         | 348.00 B  | 74.28 B    | 4.3           | 0.2
	ember-inflector/lib/utils/make-helper         | 308.00 B  | 65.74 B    | 3.8           | 0.2
	ember-inflector/lib/helpers/singularize       | 271.00 B  | 57.85 B    | 3.4           | 0.2

Package: @ember-data/debug
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '2.68 KB'  │
│  compressed  │ '585.55 B' │
│ % Of Library │   '1.7'    │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/debug/index                       | 2.19 KB   | 479.03 B   | 81.8          | 1.4
	@ember-data/debug/setup                       | 499.00 B  | 106.52 B   | 18.2          | 0.3

Package: @ember/ordered-set
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '1.05 KB'  │
│  compressed  │ '230.12 B' │
│ % Of Library │   '0.7'    │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember/ordered-set/index                      | 1.05 KB   | 230.12 B   | 100.0         | 0.7

packages/canary-features/index.js Outdated Show resolved Hide resolved
packages/canary-features/index.js Outdated Show resolved Hide resolved
packages/private-build-infra/index.js Outdated Show resolved Hide resolved
packages/private-build-infra/index.js Outdated Show resolved Hide resolved
packages/private-build-infra/src/stripped-build-plugins.js Outdated Show resolved Hide resolved
Copy link
Member

@rwjblue rwjblue left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with those tweaks

@github-actions
Copy link

Asset Size Report for 9f2fb21

EmberData shrank by 17.45 KB (3.36 KB compressed)

If any packages had changed sizes they would be listed here.

Changeset


EmberData 160.02 KB -17.45 KB (34.03 KB -3.36 KB compressed)
    @ember-data/store 71.63 KB -13.43 KB (15.23 KB -2.69 KB compressed)
        @ember-data/store/-private 70.72 KB -13.43 KB (15.04 KB -2.69 KB compressed)
    @ember-data/record-data 22.94 KB -586.0 B (4.88 KB -76.55 B compressed)
        @ember-data/record-data/-private 22.94 KB -586.0 B (4.88 KB -76.55 B compressed)
    @ember-data/serializer 19.3 KB -65.0 B (4.1 KB +25.77 B compressed)
        @ember-data/serializer/json-api 3.71 KB -65.0 B (807.26 B -6.11 B compressed)
    @ember-data/model 10.22 KB -2.15 KB (2.17 KB -443.4 B compressed)
        @ember-data/model/-private 9.75 KB -2.15 KB (2.07 KB -444.38 B compressed)
    @ember-data/canary-features 0.0 B -1.24 KB (0.0 B -266.49 B compressed)
        @ember-data/canary-features/index 0.0 B -927.0 B (0.0 B -195.28 B compressed)
        @ember-data/canary-features/default-features 0.0 B -338.0 B (0.0 B -71.2 B compressed)

Full Asset Analysis

Asset Size Report
=================


Library: EmberData
┌────────────┬─────────────┐
│  (index)   │   Values    │
├────────────┼─────────────┤
│   bytes    │ '160.02 KB' │
│ compressed │ '34.16 KB'  │
│  packages  │      9      │
│  modules   │     47      │
└────────────┴─────────────┘

Package: @ember-data/store
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '71.63 KB' │
│  compressed  │ '15.29 KB' │
│ % Of Library │   '44.8'   │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/store/-private                    | 70.72 KB  | 15.10 KB   | 98.7          | 44.2
	@ember-data/store/index                       | 936.00 B  | 199.81 B   | 1.3           | 0.6

Package: @ember-data/record-data
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '22.94 KB' │
│  compressed  │ '4.90 KB'  │
│ % Of Library │   '14.3'   │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/record-data/-private              | 22.94 KB  | 4.90 KB    | 100.0         | 14.3

Package: @ember-data/serializer
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '19.30 KB' │
│  compressed  │ '4.12 KB'  │
│ % Of Library │   '12.1'   │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/serializer/json                   | 7.10 KB   | 1.52 KB    | 36.8          | 4.4
	@ember-data/serializer/-private               | 5.36 KB   | 1.14 KB    | 27.8          | 3.4
	@ember-data/serializer/json-api               | 3.71 KB   | 810.34 B   | 19.2          | 2.3
	@ember-data/serializer/rest                   | 2.68 KB   | 585.55 B   | 13.9          | 1.7
	@ember-data/serializer/index                  | 243.00 B  | 51.87 B    | 1.2           | 0.1
	@ember-data/serializer/transform              | 215.00 B  | 45.89 B    | 1.1           | 0.1

Package: @ember-data/adapter
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '14.57 KB' │
│  compressed  │ '3.11 KB'  │
│ % Of Library │   '9.1'    │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/adapter/rest                      | 7.65 KB   | 1.63 KB    | 52.5          | 4.8
	@ember-data/adapter/-private                  | 3.50 KB   | 765.08 B   | 24.0          | 2.2
	@ember-data/adapter/error                     | 1.91 KB   | 418.19 B   | 13.1          | 1.2
	@ember-data/adapter/json-api                  | 830.00 B  | 177.18 B   | 5.6           | 0.5
	@ember-data/adapter/index                     | 719.00 B  | 153.48 B   | 4.8           | 0.4

Package: @ember-data/model
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '10.22 KB' │
│  compressed  │ '2.18 KB'  │
│ % Of Library │   '6.4'    │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/model/-private                    | 9.75 KB   | 2.08 KB    | 95.4          | 6.1
	@ember-data/model/index                       | 486.00 B  | 103.74 B   | 4.6           | 0.3

Package: ember-data
┌──────────────┬───────────┐
│   (index)    │  Values   │
├──────────────┼───────────┤
│    bytes     │ '9.72 KB' │
│  compressed  │ '2.07 KB' │
│ % Of Library │   '6.1'   │
└──────────────┴───────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	ember-data/index                              | 2.42 KB   | 529.19 B   | 24.9          | 1.5
	ember-data/-private                           | 1.98 KB   | 433.13 B   | 20.4          | 1.2
	ember-data/adapters/errors                    | 1.19 KB   | 259.79 B   | 12.2          | 0.7
	ember-data/setup-container                    | 503.00 B  | 107.37 B   | 5.1           | 0.3
	ember-data/store                              | 406.00 B  | 86.66 B    | 4.1           | 0.2
	ember-data/relationships                      | 318.00 B  | 67.88 B    | 3.2           | 0.2
	ember-data/serializers/embedded-records-mixin | 274.00 B  | 58.49 B    | 2.8           | 0.2
	ember-data/serializers/json-api               | 251.00 B  | 53.58 B    | 2.5           | 0.2
	ember-data/adapters/json-api                  | 245.00 B  | 52.30 B    | 2.5           | 0.1
	ember-data/serializers/json                   | 243.00 B  | 51.87 B    | 2.4           | 0.1
	ember-data/serializers/rest                   | 243.00 B  | 51.87 B    | 2.4           | 0.1
	ember-data/transform                          | 241.00 B  | 51.44 B    | 2.4           | 0.1
	ember-data/adapters/rest                      | 237.00 B  | 50.59 B    | 2.4           | 0.1
	ember-data/serializer                         | 232.00 B  | 49.52 B    | 2.3           | 0.1
	ember-data/adapter                            | 226.00 B  | 48.24 B    | 2.3           | 0.1
	ember-data/model                              | 222.00 B  | 47.39 B    | 2.2           | 0.1
	ember-data/attr                               | 218.00 B  | 46.53 B    | 2.2           | 0.1
	ember-data/initialize-store-service           | 207.00 B  | 44.18 B    | 2.1           | 0.1
	ember-data/version                            | 162.00 B  | 34.58 B    | 1.6           | 0.1

Package: ember-inflector
┌──────────────┬───────────┐
│   (index)    │  Values   │
├──────────────┼───────────┤
│    bytes     │ '7.90 KB' │
│  compressed  │ '1.69 KB' │
│ % Of Library │   '4.9'   │
└──────────────┴───────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	ember-inflector/lib/system/inflector          | 2.75 KB   | 601.35 B   | 34.8          | 1.7
	ember-inflector/lib/system/inflections        | 1.57 KB   | 343.69 B   | 19.9          | 1.0
	ember-inflector/index                         | 1.12 KB   | 245.06 B   | 14.2          | 0.7
	ember-inflector/lib/ext/string                | 783.00 B  | 167.14 B   | 9.7           | 0.5
	ember-inflector/lib/system                    | 452.00 B  | 96.48 B    | 5.6           | 0.3
	ember-inflector/lib/system/string             | 351.00 B  | 74.92 B    | 4.3           | 0.2
	ember-inflector/lib/helpers/pluralize         | 348.00 B  | 74.28 B    | 4.3           | 0.2
	ember-inflector/lib/utils/make-helper         | 308.00 B  | 65.74 B    | 3.8           | 0.2
	ember-inflector/lib/helpers/singularize       | 271.00 B  | 57.85 B    | 3.4           | 0.2

Package: @ember-data/debug
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '2.68 KB'  │
│  compressed  │ '585.55 B' │
│ % Of Library │   '1.7'    │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/debug/index                       | 2.19 KB   | 479.03 B   | 81.8          | 1.4
	@ember-data/debug/setup                       | 499.00 B  | 106.52 B   | 18.2          | 0.3

Package: @ember/ordered-set
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '1.05 KB'  │
│  compressed  │ '230.12 B' │
│ % Of Library │   '0.7'    │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember/ordered-set/index                      | 1.05 KB   | 230.12 B   | 100.0         | 0.7

@runspired runspired merged commit ad9f29d into master Nov 15, 2019
@delete-merged-branch delete-merged-branch bot deleted the feat/flags-for-packages branch November 15, 2019 01:21
@runspired runspired removed the 🎯 canary PR is targeting canary (default) label May 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ chore This PR primarily refactors code or updates dependencies 🌲 Project Trim 🌲 PRs related to https://github.com/emberjs/data/issues/6166
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Move @ember-data/ package detection to build time
4 participants