·
89 commits
to main
since this release
BREAKING
- Move
NodeLocation
andFileId
fromapollo_compiler::validation
to the crate root - SimonSapin, pull/838
Maintenance
- Remove Salsa database for 1.2× ~ 2× validation speed - SimonSapin, pull/838
We were not taking advantage of caching it provides.
Additionally, validation usesSchema
andExecutableDocument
directly
rather than converting them to AST.$ cargo bench --bench multi-source supergraph parse_and_validate time: [398.09 µs 399.32 µs 400.82 µs] change: [-19.966% -19.418% -18.864%] (p = 0.00 < 0.05) Performance has improved. simple_query parse_and_validate time: [12.097 µs 12.104 µs 12.113 µs] change: [-52.467% -52.282% -52.109%] (p = 0.00 < 0.05) Performance has improved.