Perf investigation - Time qgl query (#18911)

Added a new IS_GRAPHQL_QUERY_TIMING_ENABLED feature flag that, when
activated per workspace, logs the execution time and operation name of
every GraphQL query across both the standard Yoga pipeline and the
direct execution fast path. The timing context propagates via
AsyncLocalStorage to also instrument buildColumnsToSelect and
formatResult — giving a breakdown of column selection and result
transformation costs without any caller changes.
This commit is contained in:
Etienne
2026-03-24 14:41:15 +01:00
committed by GitHub
parent d3c7b0131d
commit 56ea79d98c
13 changed files with 181 additions and 11 deletions
@@ -250,6 +250,7 @@ describe('WorkspaceEntityManager', () => {
IS_DIRECT_GRAPHQL_EXECUTION_ENABLED: false,
IS_RECORD_PAGE_LAYOUT_GLOBAL_EDITION_ENABLED: false,
IS_CONNECTED_ACCOUNT_MIGRATED: false,
IS_GRAPHQL_QUERY_TIMING_ENABLED: false,
},
userWorkspaceRoleMap: {},
eventEmitterService: {