graphql-engine/v3/crates
Brandon Simmons efee881784 ENG-1227: mbs: reduce artifact size by omitting "default" values (#1323)
We get a 17% reduction in size for chinook.json, 14% for our big schema.

Benchmark is 8% faster for chinook.json

<!-- The PR description should answer 2 important questions: -->

### What

reduce artifact size

### How

remove certain common "default" fields on serialization, to be
repopulated on deserialization. Since this works at the serde level we
should still benefit if we manage to switch to e.g. bincode

I attempted to create a macro for this, but decided it wasn't worth it.
Fields were chosen by sorting and counting json fields, and adding these
annotations for the heaviest ones.

V3_GIT_ORIGIN_REV_ID: 4605016021fa6aafb97759e3bd5346116413a0ef
2024-11-07 16:35:05 +00:00
..
auth Bump derive_more from 0.99.18 to 1.0.0 (#1310) 2024-11-04 11:13:21 +00:00
compatibility Factor out jsonpath into its own crate (#1101) 2024-09-11 15:21:47 +00:00
custom-connector Upgrade to NDC v0.2.0-rc.1 (#1291) 2024-11-06 13:08:10 +00:00
engine Upgrade to NDC v0.2.0-rc.1 (#1291) 2024-11-06 13:08:10 +00:00
execute Upgrade to NDC v0.2.0-rc.1 (#1291) 2024-11-06 13:08:10 +00:00
graphql ENG-1227: mbs: reduce artifact size by omitting "default" values (#1323) 2024-11-07 16:35:05 +00:00
jsonapi Upgrade to NDC v0.2.0-rc.1 (#1291) 2024-11-06 13:08:10 +00:00
metadata-resolve ENG-1227: mbs: reduce artifact size by omitting "default" values (#1323) 2024-11-07 16:35:05 +00:00
metadata-schema-generator Move all dependency versions into the workspace file. (#734) 2024-06-20 12:25:55 +00:00
open-dds Upgrade to NDC v0.2.0-rc.1 (#1291) 2024-11-06 13:08:10 +00:00
plan Enable argument presets in OpenDD pipeline (#1228) 2024-10-17 10:48:04 +00:00
plan-types Move plan types out of GraphQL IR (#1203) 2024-10-04 13:53:06 +00:00
plugins Combine graphql crates together (#1290) 2024-10-29 10:16:46 +00:00
query-usage-analytics ENG-1227: mbs: reduce artifact size by omitting "default" values (#1323) 2024-11-07 16:35:05 +00:00
sql Upgrade to NDC v0.2.0-rc.1 (#1291) 2024-11-06 13:08:10 +00:00
utils ENG-1227: mbs: reduce artifact size by omitting "default" values (#1323) 2024-11-07 16:35:05 +00:00