Nx
Enterprise
Nx
Sign in / Sign up
Open main menu
Nx
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
33736
753c3adc perf(core): optimize project graph cache validation Improve performance of `shouldRecomputeWholeGraph` which runs on every Nx command that touches the project graph. Changes: 1. Add pre-computed hashes to FileMapCache for pathMappings, nxJsonPlugins, and pluginsConfig - computed once when cache is written, compared on read 2. Replace JSON.stringify comparison with hash comparison using native hasher 3. Maintain backward compatibility with legacy caches (fallback to old logic) 4. Replace JSON.parse(JSON.stringify) deep clone with structuredClone Performance impact: - Cache validation: O(1) hash comparison vs O(n) JSON.stringify per item - Deep clone: structuredClone is 2-3x faster than JSON round-trip - Hot path: runs on every `nx build`, `nx test`, `nx run`, etc. The native hasher uses xxhash which is significantly faster than JSON.stringify for comparison purposes.
11 days ago
by adwait1290
a
Previous page
Previous
Next
Next page