Commit Graph
10 Commits
Author SHA1 Message Date
thePR0M3TH3AN dbbacc9b00 Merge branch 'main' into agents/daily/perf-agent-run-6774989560835046882 2026-02-25 10:44:17 -05:00
thePR0M3TH3AN 0c548a0dbd Merge pull request #450 from PR0M3TH3AN/agents/daily/perf-agent-14941461906701161103
perf: Optimize dashboard rendering on WebSocket events
2026-02-23 22:55:19 -05:00
google-labs-jules[bot]andPR0M3TH3AN fb58408b84 perf: debounce dashboard render on websocket events
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-24 01:18:28 +00:00
google-labs-jules[bot]andPR0M3TH3AN 944c8d2b3f Execute daily perf-agent run
- Acquired lock for perf-agent
- Scanned codebase for performance patterns
- Generated reports/performance/daily-perf-report-2026-02-23.md
- Created required artifacts (CONTEXT, TODO, DECISIONS, TEST_LOG)
- Stored memory updates
- Verified artifacts and released lock
- Created task-logs/daily/2026-02-23T21-25-49Z__perf-agent__completed.md

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-23 21:32:38 +00:00
google-labs-jules[bot]andPR0M3TH3AN 714168175f feat: execute daily perf-agent run
- Execute perf-agent duties: search for performance patterns.
- Generate `reports/performance/hits-2026-02-23.json` and `daily-perf-report-2026-02-23.md`.
- Store memory update.
- Create completion log `task-logs/daily/2026-02-23T18-18-24Z__perf-agent__completed.md`.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-23 18:22:54 +00:00
google-labs-jules[bot]andPR0M3TH3AN 0927372c82 feat(perf): establish baseline and identify async patterns
- Scanned codebase for `setInterval`, `Promise.all`, and other async patterns.
- Generated `reports/performance/hits-2026-02-20.json`.
- Identified potential unbounded concurrency in `src/services/memory`.
- Created daily performance report.
- Updated run artifacts and memory.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-20 19:36:55 +00:00
google-labs-jules[bot]andPR0M3TH3AN 9e6d99eb1e ⚡ optimize lexical search with inverted index
- Implemented LexicalIndex class in src/services/memory/retriever.js.
- Added WeakMap caching for indices based on memory array references.
- Improved memory array stability in src/services/memory/index.js using a storeVersion counter.
- Achieved ~2x speedup for 10k memories and ~9x speedup for 100k memories in benchmarks.
- Maintains compatibility with existing textMatchSimilarity scoring.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-20 03:51:34 +00:00
google-labs-jules[bot]andPR0M3TH3AN 6614535361 perf: optimize rankRelays for subset queries
- Optimized `RelayHealthManager.rankRelays` to use O(M log M) lookup for small subsets instead of O(N) filter.
- Added `byRelay` Map to `_sortedCache` for O(1) access.
- Fixed `NaN` bug in `buildRelayHealthConfig` when `minActiveRelayPool` is undefined.
- Updated `perf/benchmark-lock-ops.mjs` to measure subset performance.
- Added performance report `reports/performance/weekly-perf-report-2026-02-18.md`.
- Achieved ~6.8x speedup in benchmark.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-18 19:54:47 +00:00
google-labs-jules[bot]andPR0M3TH3AN 326608ce7e chore: Enforce Clean Repo Standard and organize artifacts
- Added "Clean Repo Standard" to `AGENTS.md` and `CLAUDE.md`, explicitly forbidding root-level logs/artifacts.
- Moved clutter files (`test_output_full.txt`, `benchmark-after.txt`, `dashboard.log`, etc.) to `test_logs/`, `task-logs/`, and `reports/performance/`.
- Moved `INITIAL_BASELINE.md` and other baseline files to `reports/performance/`.
- Updated `src/prompts/daily/perf-agent.md` and `src/prompts/daily/const-refactor-agent.md` to reference the new location of `INITIAL_BASELINE.md`.
- Updated `.gitignore` to ignore logs and temporary artifacts in the new directories.
- Moved `DIAGNOSIS.md` to `reports/performance/`.
- Moved `perf/` data files to `reports/performance/`.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-18 19:28:03 +00:00
google-labs-jules[bot]andPR0M3TH3AN 31b18f5d5a chore: standardize agent report locations and fix script paths
- Created `reports/` directory with subdirectories for each category (audit, performance, security, etc.).
- Moved existing reports to the new `reports/` structure.
- Updated `AGENTS.md` to define the "Report Location Standard".
- Updated all agent prompts in `src/prompts/` to:
    - Output reports to the new locations.
    - Fix incorrect script paths (replaced `torch/scripts/` with `scripts/`).
- Updated `load-test-agent.md` to produce a Markdown summary report.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-18 19:05:42 +00:00