Skip to content

armgit / ruflo

Public Imported from GitHub
0

🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated

Checkpoint: File edits

rUvf5e2dd0242ee
diff --git a/v3/@claude-flow/cli/src/mcp-tools/performance-tools.ts b/v3/@claude-flow/cli/src/mcp-tools/performance-tools.ts
index 11062e84c9..863ce89b03 100644
--- a/v3/@claude-flow/cli/src/mcp-tools/performance-tools.ts
+++ b/v3/@claude-flow/cli/src/mcp-tools/performance-tools.ts
@@ -3,15 +3,19 @@
*
* V2 Compatibility - Performance monitoring and optimization tools
*
- * ⚠️ IMPORTANT: Most metrics are ILLUSTRATIVE.
- * - Some real process metrics via process.memoryUsage()
- * - Benchmarks are simulated for demonstration
- * - For production profiling, use real profiling tools
+ * ✅ Uses REAL process metrics where available:
+ * - process.memoryUsage() for real heap/memory stats
+ * - process.cpuUsage() for real CPU time
+ * - os module for system load and memory
+ * - Real timing for benchmark operations
+ *
+ * Note: Some optimization suggestions are illustrative
*/
import type { MCPTool } from './types.js';
import { existsSync, readFileSync, writeFileSync, mkdirSync } from 'node:fs';
import { join } from 'node:path';
+import * as os from 'node:os';
// Storage paths
const STORAGE_DIR = '.claude-flow';