-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Description
Description
Now that #84895 has been fixed, I was able to start dogfooding System.Text.Json 8.0.0 builds in the Microsoft Store, to gather some numbers so we can more easily track the binary size difference with this new release. This is where I've noticed an problem: my understanding is that the new 8.0.0 release is expected to include several binary size improvements, which should make the update result in a smaller binary size footprint (see #79122), but I'm actually seeing a regression, and not even a trivial one 🥲
Configuration
| System.Text.Json version | Microsoft Store package size |
|---|---|
| 7.0.2 | 66.410 KB |
| 8.0.0-preview.4.23216.5 | 70.015 KB |
Delta: +3.605 KB (+5.4%). The real delta for the x64 binary is actually ~8.4 MB (ie. ~17%), see details below.
Regression?
Yes. The binary size is actually, surprisingly, lower on 7.0.2.
I assume there's definitely something wrong going on here?
Ie. my assumption would be that updating to 8.0.0 should definitely result in a net decrease of binary size, no? 🤔
Happy to help test any preview bits necessary and/or to provide more info (internally if needed, as the project is not public).