diff --git a/packages/gatsby/src/query/graphql-runner.ts b/packages/gatsby/src/query/graphql-runner.ts index 24d1dc9594331..e4c6490a6ac12 100644 --- a/packages/gatsby/src/query/graphql-runner.ts +++ b/packages/gatsby/src/query/graphql-runner.ts @@ -1,5 +1,4 @@ import crypto from "crypto" -import v8 from "v8" import { Span } from "opentracing" import { parse, @@ -156,13 +155,6 @@ export class GraphQLRunner { if (typeof statsQuery !== `string`) { statsQuery = statsQuery.body } - this.stats.uniqueOperations.add( - crypto - .createHash(`sha1`) - .update(statsQuery) - .update(v8.serialize(context)) - .digest(`hex`) - ) this.stats.uniqueQueries.add( crypto.createHash(`sha1`).update(statsQuery).digest(`hex`)