TryGhost
Ghost
Sign in / Sign up
Open main menu
Distributed computation caching and task execution are currently disabled for this organization.
Ghost
GitHub
Overview
Runs
Analytics
Loading workspace stats
Loading workspace insights...
Statistics interval
7 days
30 days
Latest CI Pipeline Executions
Status
Fix filter
Filter
Fuzzy
Filter range
Sort by
Sort by
Start time
Sort ascending
Sort descending
Failed
perf/lazy-express-test-snapshot
a6c94eac Changed @tryghost/express-test snapshot bridge to lazy load - vitest-setup.ts top-level required @tryghost/express-test's snapshot bridge synchronously; that costs ~170ms per worker and only the lifecycle hooks ever read it - replaced the top-level require with a memoized getSnapshotExports() getter, mirroring the existing lazy getMockManager() pattern - each hook (beforeAll, beforeEach, afterEach, afterAll) now calls the getter at execution time, so a worker that ends up running no tests (e.g. under nx affected) pays nothing - measured wall clock on this machine: 7.57s → ~6.7s; vitest's reported 'setup' CPU drops from ~13s to ~3.4s, 'tests' bucket essentially unchanged
by Steve Larson
S
Previous page
Previous
Next
Next page