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

Fir for CUSTOM_MODEL_CLASS and deprecate passing non ember data records to unloadRecord and deleteRecord #7652

Merged
merged 1 commit into from
Aug 8, 2021

Conversation

igorT
Copy link
Member

@igorT igorT commented Aug 6, 2021

No description provided.

@igorT igorT added 🎯 beta PR should be backported to beta 🏷️ deprecation labels Aug 6, 2021
@github-actions
Copy link

github-actions bot commented Aug 6, 2021

Asset Size Report for 399ff63

IE11 Builds

EmberData increased by +96.0 B uncompressed but decreased by -26.0 B compressed

Warnings

⚠️ The uncompressed size of the package @ember-data/store has increased by +96.0 B.

Changeset


EmberData +198.37 KB +96.0 B (+40.8 KB -26.0 B compressed)
    @ember-data/store +81.83 KB +96.0 B (+16.83 KB -26.0 B compressed)
        @ember-data/store/-private +80.92 KB +96.0 B (+16.64 KB -26.0 B compressed)

Full Asset Analysis (IE11)

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


Library: EmberData
┌────────────┬─────────────┐
│  (index)   │   Values    │
├────────────┼─────────────┤
│   bytes    │ '198.37 KB' │
│ compressed │ '40.80 KB'  │
│  packages  │      8      │
│  modules   │     44      │
└────────────┴─────────────┘

Package: @ember-data/store
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '81.83 KB' │
│  compressed  │ '16.83 KB' │
│ % Of Library │   '41.3'   │
└──────────────┴────────────┘
	Module                                            | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/store/-private                        | 80.92 KB  | 16.64 KB   | 98.9          | 40.8
	@ember-data/store/index                           | 936.00 B  | 192.52 B   | 1.1           | 0.5

Package: @ember-data/model
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '32.11 KB' │
│  compressed  │ '6.60 KB'  │
│ % Of Library │   '16.2'   │
└──────────────┴────────────┘
	Module                                            | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/model/-private                        | 31.63 KB  | 6.51 KB    | 98.5          | 15.9
	@ember-data/model/index                           | 486.00 B  | 99.96 B    | 1.5           | 0.2

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

Package: @ember-data/serializer
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '21.13 KB' │
│  compressed  │ '4.35 KB'  │
│ % Of Library │   '10.7'   │
└──────────────┴────────────┘
	Module                                            | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/serializer/json                       | 7.84 KB   | 1.61 KB    | 37.1          | 4.0
	@ember-data/serializer/-private                   | 5.81 KB   | 1.19 KB    | 27.5          | 2.9
	@ember-data/serializer/json-api                   | 3.96 KB   | 833.64 B   | 18.7          | 2.0
	@ember-data/serializer/rest                       | 3.04 KB   | 641.32 B   | 14.4          | 1.5
	@ember-data/serializer/index                      | 273.00 B  | 56.15 B    | 1.3           | 0.1
	@ember-data/serializer/transform                  | 215.00 B  | 44.22 B    | 1.0           | 0.1

Package: @ember-data/adapter
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '17.93 KB' │
│  compressed  │ '3.69 KB'  │
│ % Of Library │   '9.0'    │
└──────────────┴────────────┘
	Module                                            | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/adapter/rest                          | 9.23 KB   | 1.90 KB    | 51.5          | 4.7
	@ember-data/adapter/-private                      | 3.84 KB   | 808.75 B   | 21.4          | 1.9
	@ember-data/adapter/error                         | 1.98 KB   | 416.30 B   | 11.0          | 1.0
	@ember-data/adapter/index                         | 1.51 KB   | 318.19 B   | 8.4           | 0.8
	@ember-data/adapter/json-api                      | 1.37 KB   | 288.57 B   | 7.6           | 0.7

Package: ember-data
┌──────────────┬───────────┐
│   (index)    │  Values   │
├──────────────┼───────────┤
│    bytes     │ '9.49 KB' │
│  compressed  │ '1.95 KB' │
│ % Of Library │   '4.8'   │
└──────────────┴───────────┘
	Module                                            | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	ember-data/index                                  | 2.42 KB   | 508.86 B   | 25.5          | 1.2
	ember-data/-private                               | 2.12 KB   | 446.74 B   | 22.4          | 1.1
	ember-data/adapters/errors                        | 1.19 KB   | 250.31 B   | 12.5          | 0.6
	ember-data/setup-container                        | 520.00 B  | 106.95 B   | 5.4           | 0.3
	ember-data/relationships                          | 318.00 B  | 65.40 B    | 3.3           | 0.2
	ember-data/serializers/embedded-records-mixin     | 274.00 B  | 56.35 B    | 2.8           | 0.1
	ember-data/serializers/json-api                   | 251.00 B  | 51.62 B    | 2.6           | 0.1
	ember-data/adapters/json-api                      | 245.00 B  | 50.39 B    | 2.5           | 0.1
	ember-data/serializers/json                       | 243.00 B  | 49.98 B    | 2.5           | 0.1
	ember-data/serializers/rest                       | 243.00 B  | 49.98 B    | 2.5           | 0.1
	ember-data/transform                              | 241.00 B  | 49.56 B    | 2.5           | 0.1
	ember-data/adapters/rest                          | 237.00 B  | 48.74 B    | 2.4           | 0.1
	ember-data/serializer                             | 232.00 B  | 47.71 B    | 2.4           | 0.1
	ember-data/adapter                                | 226.00 B  | 46.48 B    | 2.3           | 0.1
	ember-data/model                                  | 222.00 B  | 45.66 B    | 2.3           | 0.1
	ember-data/store                                  | 222.00 B  | 45.66 B    | 2.3           | 0.1
	ember-data/attr                                   | 218.00 B  | 44.83 B    | 2.2           | 0.1
	ember-data/version                                | 163.00 B  | 33.52 B    | 1.7           | 0.1

Package: ember-inflector
┌──────────────┬───────────┐
│   (index)    │  Values   │
├──────────────┼───────────┤
│    bytes     │ '7.07 KB' │
│  compressed  │ '1.45 KB' │
│ % Of Library │   '3.6'   │
└──────────────┴───────────┘
	Module                                            | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	ember-inflector/lib/system/inflector              | 3.11 KB   | 654.89 B   | 44.0          | 1.6
	ember-inflector/lib/system/inflections            | 1.59 KB   | 334.64 B   | 22.5          | 0.8
	ember-inflector/lib/helpers/pluralize             | 506.00 B  | 104.07 B   | 7.0           | 0.2
	ember-inflector/index                             | 473.00 B  | 97.28 B    | 6.5           | 0.2
	ember-inflector/lib/system                        | 471.00 B  | 96.87 B    | 6.5           | 0.2
	ember-inflector/lib/utils/make-helper             | 352.00 B  | 72.40 B    | 4.9           | 0.2
	ember-inflector/lib/system/string                 | 332.00 B  | 68.28 B    | 4.6           | 0.2
	ember-inflector/lib/helpers/singularize           | 296.00 B  | 60.88 B    | 4.1           | 0.1

Package: @ember-data/debug
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '3.07 KB'  │
│  compressed  │ '646.26 B' │
│ % Of Library │   '1.5'    │
└──────────────┴────────────┘
	Module                                            | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/debug/index                           | 2.58 KB   | 543.41 B   | 84.1          | 1.3
	@ember-data/debug/setup                           | 500.00 B  | 102.84 B   | 15.9          | 0.2

Modern Builds

EmberData increased by +96.0 B uncompressed but decreased by -28.0 B compressed

Warnings

⚠️ The uncompressed size of the package @ember-data/store has increased by +96.0 B.

Changeset


EmberData +179.19 KB +96.0 B (+39.0 KB -28.0 B compressed)
    @ember-data/store +72.24 KB +96.0 B (+15.72 KB -28.0 B compressed)
        @ember-data/store/-private +71.32 KB +96.0 B (+15.52 KB -28.0 B compressed)

Full Asset Analysis (Modern)

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


Library: EmberData
┌────────────┬─────────────┐
│  (index)   │   Values    │
├────────────┼─────────────┤
│   bytes    │ '179.19 KB' │
│ compressed │ '39.00 KB'  │
│  packages  │      8      │
│  modules   │     44      │
└────────────┴─────────────┘

Package: @ember-data/store
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '72.24 KB' │
│  compressed  │ '15.72 KB' │
│ % Of Library │   '40.3'   │
└──────────────┴────────────┘
	Module                                            | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/store/-private                        | 71.32 KB  | 15.52 KB   | 98.7          | 39.8
	@ember-data/store/index                           | 936.00 B  | 203.73 B   | 1.3           | 0.5

Package: @ember-data/model
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '28.56 KB' │
│  compressed  │ '6.22 KB'  │
│ % Of Library │   '15.9'   │
└──────────────┴────────────┘
	Module                                            | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/model/-private                        | 28.08 KB  | 6.11 KB    | 98.3          | 15.7
	@ember-data/model/index                           | 486.00 B  | 105.78 B   | 1.7           | 0.3

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

Package: @ember-data/serializer
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '19.65 KB' │
│  compressed  │ '4.28 KB'  │
│ % Of Library │   '11.0'   │
└──────────────┴────────────┘
	Module                                            | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/serializer/json                       | 7.21 KB   | 1.57 KB    | 36.7          | 4.0
	@ember-data/serializer/-private                   | 5.49 KB   | 1.20 KB    | 27.9          | 3.1
	@ember-data/serializer/json-api                   | 3.73 KB   | 830.60 B   | 19.0          | 2.1
	@ember-data/serializer/rest                       | 2.76 KB   | 615.55 B   | 14.1          | 1.5
	@ember-data/serializer/index                      | 258.00 B  | 56.15 B    | 1.3           | 0.1
	@ember-data/serializer/transform                  | 215.00 B  | 46.79 B    | 1.1           | 0.1

Package: @ember-data/adapter
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '15.98 KB' │
│  compressed  │ '3.48 KB'  │
│ % Of Library │   '8.9'    │
└──────────────┴────────────┘
	Module                                            | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/adapter/rest                          | 8.13 KB   | 1.77 KB    | 50.8          | 4.5
	@ember-data/adapter/-private                      | 3.77 KB   | 840.62 B   | 23.6          | 2.1
	@ember-data/adapter/error                         | 1.94 KB   | 432.93 B   | 12.2          | 1.1
	@ember-data/adapter/index                         | 1.10 KB   | 244.87 B   | 6.9           | 0.6
	@ember-data/adapter/json-api                      | 1.04 KB   | 232.46 B   | 6.5           | 0.6

Package: ember-data
┌──────────────┬───────────┐
│   (index)    │  Values   │
├──────────────┼───────────┤
│    bytes     │ '9.49 KB' │
│  compressed  │ '2.07 KB' │
│ % Of Library │   '5.3'   │
└──────────────┴───────────┘
	Module                                            | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	ember-data/index                                  | 2.42 KB   | 538.50 B   | 25.5          | 1.3
	ember-data/-private                               | 2.12 KB   | 472.76 B   | 22.4          | 1.2
	ember-data/adapters/errors                        | 1.19 KB   | 264.89 B   | 12.5          | 0.7
	ember-data/setup-container                        | 520.00 B  | 113.18 B   | 5.4           | 0.3
	ember-data/relationships                          | 318.00 B  | 69.21 B    | 3.3           | 0.2
	ember-data/serializers/embedded-records-mixin     | 274.00 B  | 59.63 B    | 2.8           | 0.1
	ember-data/serializers/json-api                   | 251.00 B  | 54.63 B    | 2.6           | 0.1
	ember-data/adapters/json-api                      | 245.00 B  | 53.32 B    | 2.5           | 0.1
	ember-data/serializers/json                       | 243.00 B  | 52.89 B    | 2.5           | 0.1
	ember-data/serializers/rest                       | 243.00 B  | 52.89 B    | 2.5           | 0.1
	ember-data/transform                              | 241.00 B  | 52.45 B    | 2.5           | 0.1
	ember-data/adapters/rest                          | 237.00 B  | 51.58 B    | 2.4           | 0.1
	ember-data/serializer                             | 232.00 B  | 50.49 B    | 2.4           | 0.1
	ember-data/adapter                                | 226.00 B  | 49.19 B    | 2.3           | 0.1
	ember-data/model                                  | 222.00 B  | 48.32 B    | 2.3           | 0.1
	ember-data/store                                  | 222.00 B  | 48.32 B    | 2.3           | 0.1
	ember-data/attr                                   | 218.00 B  | 47.45 B    | 2.2           | 0.1
	ember-data/version                                | 163.00 B  | 35.47 B    | 1.7           | 0.1

Package: ember-inflector
┌──────────────┬───────────┐
│   (index)    │  Values   │
├──────────────┼───────────┤
│    bytes     │ '6.70 KB' │
│  compressed  │ '1.46 KB' │
│ % Of Library │   '3.7'   │
└──────────────┴───────────┘
	Module                                            | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	ember-inflector/lib/system/inflector              | 2.88 KB   | 641.89 B   | 43.0          | 1.6
	ember-inflector/lib/system/inflections            | 1.59 KB   | 354.13 B   | 23.7          | 0.9
	ember-inflector/index                             | 473.00 B  | 102.95 B   | 6.9           | 0.3
	ember-inflector/lib/system                        | 471.00 B  | 102.51 B   | 6.9           | 0.3
	ember-inflector/lib/helpers/pluralize             | 373.00 B  | 81.18 B    | 5.4           | 0.2
	ember-inflector/lib/utils/make-helper             | 352.00 B  | 76.61 B    | 5.1           | 0.2
	ember-inflector/lib/system/string                 | 318.00 B  | 69.21 B    | 4.6           | 0.2
	ember-inflector/lib/helpers/singularize           | 296.00 B  | 64.42 B    | 4.3           | 0.2

Package: @ember-data/debug
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '2.81 KB'  │
│  compressed  │ '626.00 B' │
│ % Of Library │   '1.6'    │
└──────────────┴────────────┘
	Module                                            | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/debug/index                           | 2.32 KB   | 517.38 B   | 82.6          | 1.3
	@ember-data/debug/setup                           | 499.00 B  | 108.61 B   | 17.4          | 0.3

Modern Builds (No Rollup)

EmberData increased by -66.0 B (0.0 B compressed) which is within the allowed tolerance of 75 bytes uncompressed

Warnings

⚠️ The uncompressed size of the package @ember-data/store has increased by +66.0 B.

Changeset


EmberData +220.79 KB +66.0 B (+42.4 KB ±0 B compressed)
    @ember-data/store +97.93 KB +66.0 B (+18.81 KB ±0 B compressed)
        @ember-data/store/-private/system/core-store +17.37 KB +66.0 B (+3.34 KB ±0 B compressed)

Full Asset Analysis (Modern)

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


Library: EmberData
┌────────────┬─────────────┐
│  (index)   │   Values    │
├────────────┼─────────────┤
│   bytes    │ '220.79 KB' │
│ compressed │ '42.40 KB'  │
│  packages  │      8      │
│  modules   │     149     │
└────────────┴─────────────┘

Package: @ember-data/store
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '97.93 KB' │
│  compressed  │ '18.81 KB' │
│ % Of Library │   '44.4'   │
└──────────────┴────────────┘
	Module                                                                             | Bytes     | Compressed | % of Package  | % Of Library
	--------------------------------------------------------------------------------------------------------------------------------------
	@ember-data/store/-private/system/core-store                                       | 17.37 KB  | 3.34 KB    | 17.7          | 7.9
	@ember-data/store/-private/system/model/internal-model                             | 14.45 KB  | 2.77 KB    | 14.8          | 6.5
	@ember-data/store/-private/system/model/states                                     | 5.44 KB   | 1.04 KB    | 5.6           | 2.5
	@ember-data/store/-private/system/fetch-manager                                    | 5.09 KB   | 1001.29 B  | 5.2           | 2.3
	@ember-data/store/-private/system/store/finders                                    | 4.57 KB   | 899.51 B   | 4.7           | 2.1
	@ember-data/store/-private/system/record-array-manager                             | 4.19 KB   | 823.27 B   | 4.3           | 1.9
	@ember-data/store/-private/identifiers/cache                                       | 3.98 KB   | 783.14 B   | 4.1           | 1.8
	@ember-data/store/-private/index                                                   | 3.57 KB   | 701.90 B   | 3.6           | 1.6
	@ember-data/store/-private/system/store/record-data-store-wrapper                  | 3.41 KB   | 669.83 B   | 3.5           | 1.5
	@ember-data/store/-private/system/snapshot                                         | 3.10 KB   | 610.49 B   | 3.2           | 1.4
	@ember-data/store/-private/system/store/internal-model-factory                     | 2.82 KB   | 555.18 B   | 2.9           | 1.3
	@ember-data/store/-private/system/record-arrays/record-array                       | 2.28 KB   | 448.60 B   | 2.3           | 1.0
	@ember-data/store/-private/system/ds-model-store                                   | 1.96 KB   | 385.61 B   | 2.0           | 0.9
	@ember-data/store/-private/system/request-cache                                    | 1.89 KB   | 370.82 B   | 1.9           | 0.9
	@ember-data/store/-private/system/references/has-many                              | 1.53 KB   | 301.31 B   | 1.6           | 0.7
	@ember-data/store/-private/system/schema-definition-service                        | 1.51 KB   | 297.47 B   | 1.5           | 0.7
	@ember-data/store/-private/system/references/belongs-to                            | 1.32 KB   | 260.02 B   | 1.4           | 0.6
	@ember-data/store/-private/system/model/shim-model-class                           | 1.32 KB   | 259.06 B   | 1.3           | 0.6
	@ember-data/store/-private/system/store/serializer-response                        | 1.14 KB   | 224.30 B   | 1.2           | 0.5
	@ember-data/store/-private/identifiers/utils/uuid-v4                               | 1.05 KB   | 207.01 B   | 1.1           | 0.5
	@ember-data/store/-private/system/references/record                                | 982.00 B  | 188.58 B   | 1.0           | 0.4
	@ember-data/store/-private/system/record-arrays/adapter-populated-record-array     | 967.00 B  | 185.70 B   | 1.0           | 0.4
	@ember-data/store/index                                                            | 936.00 B  | 179.74 B   | 0.9           | 0.4
	@ember-data/store/-private/system/references/reference                             | 934.00 B  | 179.36 B   | 0.9           | 0.4
	@ember-data/store/-private/system/internal-model-map                               | 886.00 B  | 170.14 B   | 0.9           | 0.4
	@ember-data/store/-private/system/errors-utils                                     | 798.00 B  | 153.24 B   | 0.8           | 0.4
	@ember-data/store/-private/system/snapshot-record-array                            | 753.00 B  | 144.60 B   | 0.8           | 0.3
	@ember-data/store/-private/system/record-notification-manager                      | 697.00 B  | 133.85 B   | 0.7           | 0.3
	@ember-data/store/-private/utils/construct-resource                                | 695.00 B  | 133.46 B   | 0.7           | 0.3
	@ember-data/store/-private/system/promise-proxies                                  | 607.00 B  | 116.56 B   | 0.6           | 0.3
	@ember-data/store/-private/system/references                                       | 598.00 B  | 114.84 B   | 0.6           | 0.3
	@ember-data/store/-private/system/store/common                                     | 527.00 B  | 101.20 B   | 0.5           | 0.2
	@ember-data/store/-private/system/coerce-id                                        | 496.00 B  | 95.25 B    | 0.5           | 0.2
	@ember-data/store/-private/system/record-arrays                                    | 487.00 B  | 93.52 B    | 0.5           | 0.2
	@ember-data/store/-private/system/identity-map                                     | 450.00 B  | 86.41 B    | 0.4           | 0.2
	@ember-data/store/-private/ts-interfaces/identifier                                | 400.00 B  | 76.81 B    | 0.4           | 0.2
	@ember-data/store/-private/utils/symbol                                            | 393.00 B  | 75.47 B    | 0.4           | 0.2
	@ember-data/store/-private/system/record-data-for                                  | 390.00 B  | 74.89 B    | 0.4           | 0.2
	@ember-data/store/-private/identifiers/is-stable-identifier                        | 327.00 B  | 62.79 B    | 0.3           | 0.1
	@ember-data/store/-private/ts-interfaces/fetch-manager                             | 316.00 B  | 60.68 B    | 0.3           | 0.1
	@ember-data/store/-private/utils/promise-record                                    | 290.00 B  | 55.69 B    | 0.3           | 0.1
	@ember-data/store/-private/system/backburner                                       | 269.00 B  | 51.65 B    | 0.3           | 0.1
	@ember-data/store/-private/system/deprecated-evented                               | 257.00 B  | 49.35 B    | 0.3           | 0.1
	@ember-data/store/-private/system/normalize-model-name                             | 220.00 B  | 42.24 B    | 0.2           | 0.1
	@ember-data/store/-private/utils/is-non-empty-string                               | 212.00 B  | 40.71 B    | 0.2           | 0.1
	@ember-data/store/-debug/index                                                     | 210.00 B  | 40.32 B    | 0.2           | 0.1
	@ember-data/store/-private/ts-interfaces/minimum-serializer-interface              | 169.00 B  | 32.45 B    | 0.2           | 0.1
	@ember-data/store/-private/ts-interfaces/record-data-record-wrapper                | 167.00 B  | 32.07 B    | 0.2           | 0.1
	@ember-data/store/-private/ts-interfaces/minimum-adapter-interface                 | 166.00 B  | 31.87 B    | 0.2           | 0.1
	@ember-data/store/-private/ts-interfaces/record-data-store-wrapper                 | 166.00 B  | 31.87 B    | 0.2           | 0.1
	@ember-data/store/-private/ts-interfaces/schema-definition-service                 | 166.00 B  | 31.87 B    | 0.2           | 0.1
	@ember-data/store/-private/ts-interfaces/record-data-json-api                      | 161.00 B  | 30.91 B    | 0.2           | 0.1
	@ember-data/store/-private/ts-interfaces/ember-data-json-api                       | 160.00 B  | 30.72 B    | 0.2           | 0.1
	@ember-data/store/-private/ts-interfaces/record-data-schemas                       | 160.00 B  | 30.72 B    | 0.2           | 0.1
	@ember-data/store/-private/ts-interfaces/promise-proxies                           | 156.00 B  | 29.95 B    | 0.2           | 0.1
	@ember-data/store/-private/ts-interfaces/record-instance                           | 156.00 B  | 29.95 B    | 0.2           | 0.1
	@ember-data/store/-private/ts-interfaces/record-data                               | 152.00 B  | 29.19 B    | 0.2           | 0.1
	@ember-data/store/-private/ts-interfaces/ds-model                                  | 149.00 B  | 28.61 B    | 0.1           | 0.1
	@ember-data/store/-private/ts-interfaces/store                                     | 146.00 B  | 28.03 B    | 0.1           | 0.1
	@ember-data/store/-private/ts-interfaces/utils                                     | 146.00 B  | 28.03 B    | 0.1           | 0.1

Package: @ember-data/model
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '32.67 KB' │
│  compressed  │ '6.27 KB'  │
│ % Of Library │   '14.8'   │
└──────────────┴────────────┘
	Module                                                                | Bytes     | Compressed | % of Package  | % Of Library
	-------------------------------------------------------------------------------------------------------------------------
	@ember-data/model/-private/model                                      | 9.89 KB   | 1.90 KB    | 30.3          | 4.5
	@ember-data/model/-private/record-state                               | 6.20 KB   | 1.19 KB    | 19.0          | 2.8
	@ember-data/model/-private/system/promise-many-array                  | 3.80 KB   | 747.99 B   | 11.6          | 1.7
	@ember-data/model/-private/system/many-array                          | 2.85 KB   | 560.37 B   | 8.7           | 1.3
	@ember-data/model/-private/errors                                     | 2.08 KB   | 409.81 B   | 6.4           | 0.9
	@ember-data/model/-private/index                                      | 1.42 KB   | 279.61 B   | 4.4           | 0.6
	@ember-data/model/-private/system/relationships/relationship-meta     | 1.25 KB   | 246.38 B   | 3.8           | 0.6
	@ember-data/model/-private/attr                                       | 857.00 B  | 164.57 B   | 2.6           | 0.4
	@ember-data/model/-private/notify-changes                             | 845.00 B  | 162.27 B   | 2.5           | 0.4
	@ember-data/model/-private/belongs-to                                 | 687.00 B  | 131.93 B   | 2.1           | 0.3
	@ember-data/model/-private/has-many                                   | 648.00 B  | 124.44 B   | 1.9           | 0.3
	@ember-data/model/index                                               | 486.00 B  | 93.33 B    | 1.5           | 0.2
	@ember-data/model/-private/system/promise-belongs-to                  | 447.00 B  | 85.84 B    | 1.3           | 0.2
	@ember-data/model/-private/util                                       | 442.00 B  | 84.88 B    | 1.3           | 0.2
	@ember-data/model/-private/system/diff-array                          | 438.00 B  | 84.11 B    | 1.3           | 0.2
	@ember-data/model/-private/system/model-for-mixin                     | 431.00 B  | 82.76 B    | 1.3           | 0.2

Package: @ember-data/record-data
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '30.84 KB' │
│  compressed  │ '5.92 KB'  │
│ % Of Library │   '14.0'   │
└──────────────┴────────────┘
	Module                                                                            | Bytes     | Compressed | % of Package  | % Of Library
	-------------------------------------------------------------------------------------------------------------------------------------
	@ember-data/record-data/-private/record-data                                      | 8.21 KB   | 1.58 KB    | 26.6          | 3.7
	@ember-data/record-data/-private/graph/index                                      | 4.86 KB   | 955.59 B   | 15.8          | 2.2
	@ember-data/record-data/-private/graph/operations/replace-related-records         | 3.14 KB   | 617.40 B   | 10.2          | 1.4
	@ember-data/record-data/-private/graph/-edge-definition                           | 2.83 KB   | 556.34 B   | 9.2           | 1.3
	@ember-data/record-data/-private/relationships/state/has-many                     | 2.01 KB   | 395.21 B   | 6.5           | 0.9
	@ember-data/record-data/-private/relationships/state/belongs-to                   | 1.92 KB   | 378.12 B   | 6.2           | 0.9
	@ember-data/record-data/-private/graph/operations/update-relationship             | 1.50 KB   | 295.54 B   | 4.9           | 0.7
	@ember-data/record-data/-private/graph/-utils                                     | 1.05 KB   | 206.44 B   | 3.4           | 0.5
	@ember-data/record-data/-private/graph/operations/replace-related-record          | 1.04 KB   | 203.75 B   | 3.4           | 0.5
	@ember-data/record-data/-private/index                                            | 977.00 B  | 187.62 B   | 3.1           | 0.4
	@ember-data/record-data/-private/graph/operations/add-to-related-records          | 788.00 B  | 151.32 B   | 2.5           | 0.3
	@ember-data/record-data/-private/relationships/state/implicit                     | 692.00 B  | 132.89 B   | 2.2           | 0.3
	@ember-data/record-data/-private/graph/operations/remove-from-related-records     | 667.00 B  | 128.09 B   | 2.1           | 0.3
	@ember-data/record-data/-private/coerce-id                                        | 406.00 B  | 77.96 B    | 1.3           | 0.2
	@ember-data/record-data/-private/graph/-state                                     | 293.00 B  | 56.26 B    | 0.9           | 0.1
	@ember-data/record-data/-private/normalize-link                                   | 238.00 B  | 45.70 B    | 0.8           | 0.1
	@ember-data/record-data/-private/ts-interfaces/relationship-record-data           | 171.00 B  | 32.83 B    | 0.5           | 0.1
	@ember-data/record-data/-private/graph/-operations                                | 150.00 B  | 28.80 B    | 0.5           | 0.1

Package: @ember-data/serializer
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '22.08 KB' │
│  compressed  │ '4.24 KB'  │
│ % Of Library │   '10.0'   │
└──────────────┴────────────┘
	Module                                                     | Bytes     | Compressed | % of Package  | % Of Library
	--------------------------------------------------------------------------------------------------------------
	@ember-data/serializer/json                                | 7.21 KB   | 1.38 KB    | 32.7          | 3.3
	@ember-data/serializer/-private/embedded-records-mixin     | 4.39 KB   | 862.83 B   | 19.9          | 2.0
	@ember-data/serializer/json-api                            | 3.73 KB   | 732.82 B   | 16.9          | 1.7
	@ember-data/serializer/rest                                | 2.76 KB   | 543.08 B   | 12.5          | 1.3
	@ember-data/serializer/-private/index                      | 1.18 KB   | 232.36 B   | 5.4           | 0.5
	@ember-data/serializer/-private/transforms/date            | 523.00 B  | 100.43 B   | 2.3           | 0.2
	@ember-data/serializer/-private/transforms/boolean         | 507.00 B  | 97.36 B    | 2.2           | 0.2
	@ember-data/serializer/-private/transforms/number          | 446.00 B  | 85.64 B    | 2.0           | 0.2
	@ember-data/serializer/-private/transforms/string          | 368.00 B  | 70.67 B    | 1.6           | 0.2
	@ember-data/serializer/-private/utils                      | 303.00 B  | 58.18 B    | 1.3           | 0.1
	@ember-data/serializer/index                               | 258.00 B  | 49.54 B    | 1.1           | 0.1
	@ember-data/serializer/-private/transforms/transform       | 257.00 B  | 49.35 B    | 1.1           | 0.1
	@ember-data/serializer/transform                           | 215.00 B  | 41.28 B    | 1.0           | 0.1

Package: @ember-data/adapter
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '18.11 KB' │
│  compressed  │ '3.48 KB'  │
│ % Of Library │   '8.2'    │
└──────────────┴────────────┘
	Module                                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------------------
	@ember-data/adapter/rest                                      | 8.13 KB   | 1.56 KB    | 44.9          | 3.7
	@ember-data/adapter/error                                     | 1.94 KB   | 381.96 B   | 10.7          | 0.9
	@ember-data/adapter/-private/build-url-mixin                  | 1.93 KB   | 380.23 B   | 10.7          | 0.9
	@ember-data/adapter/index                                     | 1.10 KB   | 216.04 B   | 6.1           | 0.5
	@ember-data/adapter/json-api                                  | 1.04 KB   | 205.09 B   | 5.8           | 0.5
	@ember-data/adapter/-private/index                            | 1.03 KB   | 202.79 B   | 5.7           | 0.5
	@ember-data/adapter/-private/utils/serialize-query-params     | 792.00 B  | 152.09 B   | 4.3           | 0.4
	@ember-data/adapter/-private/utils/determine-body-promise     | 566.00 B  | 108.69 B   | 3.1           | 0.3
	@ember-data/adapter/-private/utils/parse-response-headers     | 480.00 B  | 92.17 B    | 2.6           | 0.2
	@ember-data/adapter/-private/utils/fetch                      | 454.00 B  | 87.18 B    | 2.4           | 0.2
	@ember-data/adapter/-private/utils/serialize-into-hash        | 347.00 B  | 66.63 B    | 1.9           | 0.2
	@ember-data/adapter/-private/utils/continue-on-reject         | 222.00 B  | 42.63 B    | 1.2           | 0.1
	@ember-data/adapter/-private/fastboot-interface               | 147.00 B  | 28.22 B    | 0.8           | 0.1

Package: ember-data
┌──────────────┬───────────┐
│   (index)    │  Values   │
├──────────────┼───────────┤
│    bytes     │ '9.65 KB' │
│  compressed  │ '1.85 KB' │
│ % Of Library │   '4.4'   │
└──────────────┴───────────┘
	Module                                            | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	ember-data/index                                  | 2.42 KB   | 475.10 B   | 25.0          | 1.1
	ember-data/-private/index                         | 1.93 KB   | 379.08 B   | 20.0          | 0.9
	ember-data/adapters/errors                        | 1.19 KB   | 233.71 B   | 12.3          | 0.5
	ember-data/setup-container                        | 520.00 B  | 99.86 B    | 5.3           | 0.2
	ember-data/-private/core                          | 366.00 B  | 70.28 B    | 3.7           | 0.2
	ember-data/relationships                          | 318.00 B  | 61.06 B    | 3.2           | 0.1
	ember-data/serializers/embedded-records-mixin     | 274.00 B  | 52.61 B    | 2.8           | 0.1
	ember-data/serializers/json-api                   | 251.00 B  | 48.20 B    | 2.5           | 0.1
	ember-data/adapters/json-api                      | 245.00 B  | 47.04 B    | 2.5           | 0.1
	ember-data/serializers/json                       | 243.00 B  | 46.66 B    | 2.5           | 0.1
	ember-data/serializers/rest                       | 243.00 B  | 46.66 B    | 2.5           | 0.1
	ember-data/transform                              | 241.00 B  | 46.28 B    | 2.4           | 0.1
	ember-data/adapters/rest                          | 237.00 B  | 45.51 B    | 2.4           | 0.1
	ember-data/serializer                             | 232.00 B  | 44.55 B    | 2.3           | 0.1
	ember-data/adapter                                | 226.00 B  | 43.40 B    | 2.3           | 0.1
	ember-data/model                                  | 222.00 B  | 42.63 B    | 2.2           | 0.1
	ember-data/store                                  | 222.00 B  | 42.63 B    | 2.2           | 0.1
	ember-data/attr                                   | 218.00 B  | 41.86 B    | 2.2           | 0.1
	ember-data/version                                | 163.00 B  | 31.30 B    | 1.6           | 0.1

Package: ember-inflector
┌──────────────┬───────────┐
│   (index)    │  Values   │
├──────────────┼───────────┤
│    bytes     │ '6.70 KB' │
│  compressed  │ '1.29 KB' │
│ % Of Library │   '3.0'   │
└──────────────┴───────────┘
	Module                                            | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	ember-inflector/lib/system/inflector              | 2.88 KB   | 566.32 B   | 43.0          | 1.3
	ember-inflector/lib/system/inflections            | 1.59 KB   | 312.44 B   | 23.7          | 0.7
	ember-inflector/index                             | 473.00 B  | 90.83 B    | 6.9           | 0.2
	ember-inflector/lib/system                        | 471.00 B  | 90.45 B    | 6.9           | 0.2
	ember-inflector/lib/helpers/pluralize             | 373.00 B  | 71.63 B    | 5.4           | 0.2
	ember-inflector/lib/utils/make-helper             | 352.00 B  | 67.59 B    | 5.1           | 0.2
	ember-inflector/lib/system/string                 | 318.00 B  | 61.06 B    | 4.6           | 0.1
	ember-inflector/lib/helpers/singularize           | 296.00 B  | 56.84 B    | 4.3           | 0.1

Package: @ember-data/debug
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '2.81 KB'  │
│  compressed  │ '552.30 B' │
│ % Of Library │   '1.3'    │
└──────────────┴────────────┘
	Module                                            | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/debug/index                           | 2.32 KB   | 456.47 B   | 82.6          | 1.1
	@ember-data/debug/setup                           | 499.00 B  | 95.82 B    | 17.4          | 0.2

@github-actions
Copy link

github-actions bot commented Aug 6, 2021

Performance Report for 399ff63

Scenario - materialization: ☑️ Performance is stable

☑️ duration
phase no difference [-14ms to 17ms]
✅ Phase [navigationStart] => [start-find-all]
phase estimated improvement -11ms [-22ms to -2ms] OR -2.65% [-5.25% to -0.57%]
⚠️ Phase [start-find-all] => [start-materialization]
phase estimated regression +26ms [12ms to 42ms] OR +2.61% [1.19% to 4.28%]
✅ Phase [start-materialization] => [end-materialization]
phase estimated improvement -3ms [-5ms to 0ms] OR -0.39% [-0.75% to -0.01%]
☑️ Phase [end-materialization] => [Test End]
phase no difference [-6ms to 1ms]

Scenario - unload: ☑️ Performance is stable

☑️ duration
phase no difference [-21ms to 31ms]
✅ Phase [navigationStart] => [start-push-payload]
phase estimated improvement -11ms [-20ms to -2ms] OR -1.57% [-2.74% to -0.23%]
☑️ Phase [start-push-payload] => [start-unload-records]
phase no difference [-8ms to 30ms]
☑️ Phase [start-unload-records] => [end-unload-records]
phase no difference [-2ms to 7ms]
☑️ Phase [end-unload-records] => [Test End]
phase no difference [-1ms to 0ms]

Scenario - destroy: ☑️ Performance is stable

☑️ duration
phase no difference [-14ms to 16ms]
☑️ Phase [navigationStart] => [start-push-payload]
phase no difference [-10ms to 1ms]
☑️ Phase [start-push-payload] => [start-destroy-records]
phase no difference [-8ms to 15ms]
☑️ Phase [start-destroy-records] => [end-destroy-records]
phase no difference [-1ms to 5ms]
☑️ Phase [end-destroy-records] => [Test End]
phase no difference [0ms to 1ms]

Scenario - add-children: ☑️ Performance is stable

☑️ duration
phase no difference [-10ms to 11ms]
☑️ Phase [navigationStart] => [start-push-initial-payload]
phase no difference [-10ms to 10ms]
☑️ Phase [start-push-initial-payload] => [start-push-update-payload]
phase no difference [-3ms to 3ms]
☑️ Phase [start-push-update-payload] => [end-push-update-payload]
phase no difference [-1ms to 3ms]
☑️ Phase [end-push-update-payload] => [Test End]
phase no difference [-1ms to 0ms]

Scenario - unused-relationships: ☑️ Performance is stable

☑️ duration
phase no difference [-9ms to 14ms]
☑️ Phase [navigationStart] => [start-push-payload]
phase no difference [-8ms to 6ms]
☑️ Phase [start-push-payload] => [end-push-payload]
phase no difference [-4ms to 14ms]
☑️ Phase [end-push-payload] => [Test End]
phase no difference [-2ms to 0ms]

@igorT igorT requested a review from snewcomer August 6, 2021 19:55
Copy link
Contributor

@snewcomer snewcomer left a comment

Choose a reason for hiding this comment

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

👠5️⃣

@igorT igorT merged commit 00858a9 into master Aug 8, 2021
@delete-merged-branch delete-merged-branch bot deleted the igor/unloading-deleting branch August 8, 2021 17:21
@igorT igorT removed the 🎯 beta PR should be backported to beta label Aug 9, 2021
@igorT igorT changed the title Deprecate passing non ember data records to unloadRecord and deleteRecord Fir for CUSTOM_MODEL_CLASS and deprecate passing non ember data records to unloadRecord and deleteRecord Aug 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants