REQ-NFR-067
Critical-path computation completes within 500 ms for up to 500 activities
What
For a project of up to 500 activities and up to 1000 dependency edges, the critical-path computation (REQ-FUN-103) SHALL complete within 500 ms p95 on the reference machine.
Why
Interactive UI workflows (drag a date, see the new critical path) require sub-second feedback. 500 ms is the documented established_guidelines_tool norm.
How
CPM is O(V+E); benchmark harness in test suite exercises a synthetic 500-activity / 1000-edge network and asserts the bound. Server caches the computed path per schedule_version to avoid recomputation on re-read.
Done when
Benchmark in CI passes the 500 ms p95 bound on the reference machine.
Out of scope
Sub-millisecond critical path for huge schedules (> 5000 activities).
established project management guidelines Mapping
Performance NFR tied to established project management guidelines Develop Schedule responsiveness.