Skip to content

cjheppell/grafast-memory-spike-repro

Repository files navigation

grafast-memory-spike-repro

Run postgres in docker, install the schema, and add the data

make all

Run postgraphile in one terminal:

pnpm run postgraphile

Run ruru in another:

pnpm run ruru

Run this graphql query:

query {
  allUsers {
    nodes {
      rowId
      name
      totalLanguages
    }
  }
}

In the console output, observe the JS heap jump significantly when the query is executed going through our plugin.

On my machine (Macbook Pro M1, 32GB RAM, node v20.11.0) I see a jump from ~50mb straight to ~250mb on query execution.

See:

grafast-repro-720p.mov

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published