graphql-engine/server/src-lib
kodiakhq[bot] 3f3b19c565 server: tune builder runners, for ByteStrings we're about to send
`toLazyByteString` is a little deficient in two ways:

- It allocates relatively large chunks (4KB + 32KB +32KB, etc…) which is wasteful for small ByteStrings
- It shrinks each chunk (Copying the data to a new chunk of exactly the right size) if it's not more than half filled. If we're running the builder right before we send it over the wire, this copy is totally extraneous (we simply end up with more work for the next GC)

part of the effort: https://github.com/hasura/graphql-engine-mono/issues/5518

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7187
GitOrigin-RevId: b499cd49c33da6cfee96be629a36b5c812486e39
2022-12-07 06:01:08 +00:00
..
Autodocodec ghc 9.2.5 2022-11-15 11:26:42 +00:00
Control Make Schema Cache building code slightly more readable 2022-11-15 20:14:22 +00:00
Data server: Improve modelling of function metadata and schema diffing 2022-12-05 10:22:15 +00:00
Database/MSSQL Source catalog migrations minor enhancements 2022-11-01 22:42:40 +00:00
GHC Add allocation counter to trace spans and trace metadata 2022-08-18 21:57:59 +00:00
Hasura server: tune builder runners, for ByteStrings we're about to send 2022-12-07 06:01:08 +00:00
Net server: vendor used bits of 'ip' package to cut dependencies 2022-06-20 23:16:51 +00:00
Network Upgrade Ormolu to v0.5. 2022-11-02 20:55:13 +00:00