prisma-engines
prisma-engines copied to clipboard
perf: serialize raw results as arrays instead of object
Overview
closes #1215
Implementation of https://www.notion.so/prismaio/QueryRaw-Performance-Discovery-e65b91e8ac744633aa1a6fe1b85e7341?pvs=4
CodSpeed Performance Report
Merging #4939 will not alter performance
Comparing perf/query-raw-serialization (8faf64c) with main (9618390)
Summary
✅ 11 untouched benchmarks
WASM Query Engine file Size
| Engine | This PR | Base branch | Diff |
|---|---|---|---|
| Postgres | 2.053MiB | 2.044MiB | 9.299KiB |
| Postgres (gzip) | 820.248KiB | 814.575KiB | 5.673KiB |
| Mysql | 2.022MiB | 2.014MiB | 9.043KiB |
| Mysql (gzip) | 806.667KiB | 801.013KiB | 5.655KiB |
| Sqlite | 1.922MiB | 1.915MiB | 7.749KiB |
| Sqlite (gzip) | 768.549KiB | 762.983KiB | 5.567KiB |