perf: Transfer ResultWrapper rawData as Buffer(JSON), ~10x faster#10728
perf: Transfer ResultWrapper rawData as Buffer(JSON), ~10x faster#10728
Conversation
|
Claude finished @ovr's task in 1m 16s —— View job Code Review: PR #10728
SummaryClean, well-scoped performance optimization. The approach — serialize to JSON on the TS side and pass a Findings1. Minor: Stale error message in
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #10728 +/- ##
===========================================
+ Coverage 58.06% 78.81% +20.74%
===========================================
Files 215 466 +251
Lines 16697 91994 +75297
Branches 3362 3362
===========================================
+ Hits 9695 72502 +62807
- Misses 6512 19002 +12490
Partials 490 490
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
…(JSON), ~10x faster Serialize JS result rows once on the TS side and pass them across the Neon bridge as a Buffer, so Rust can consume them via serde_json::from_slice instead of walking a JsArray through JsValueDeserializer.
10c0736 to
bf7b125
Compare
Serialize JS result rows once on the JS side and pass them across the Neon bridge as a Buffer, so Rust can consume them via serde_json::from_slice instead of walking a JsArray through JsValueDeserializer.