🔖 Task: @ruvnet ➜ /workspaces/claude-code-flow (alpha-88) $ swarm-benchmark real swarm "Build REST API" --...

This commit is contained in:
rUv committed 2025-08-06 11:38:46 +00:00
1 parent d24781ea43
commit fe7197711d
6 files changed
+256 -10943

No files matched your search

+1 -1
View File
@@ -1,5 +1,5 @@
{
"startTime": 1754480199183,
"startTime": 1754480207995,
"totalTasks": 1,
"successfulTasks": 1,
"failedTasks": 0,
File diff suppressed because it is too large. Load diff
+3 -3
View File
@@ -1,10 +1,10 @@
[
{
"id": "cmd-hooks-1754480199282",
"id": "cmd-hooks-1754480208094",
"type": "hooks",
"success": true,
"duration": 10.741776000000016,
"timestamp": 1754480199293,
"duration": 4147.1558270000005,
"timestamp": 1754480212241,
"metadata": {}
}
]
@@ -0,0 +1,66 @@
{
"summary": {
"wall_clock_time": 1.305372953414917,
"tasks_per_second": 0.7660645927923916,
"success_rate": 1.0,
"peak_memory_mb": 0.0,
"average_cpu_percent": 0.0
},
"performance": {
"average_duration": 0.0,
"median_duration": 0.0,
"p95_duration": 0.0,
"p99_duration": 0.0,
"total_cpu_seconds": 0.0
},
"resources": {
"memory": {
"peak_mb": 0.0,
"average_mb": 0.0
},
"cpu": {
"average_percent": 0.0,
"total_seconds": 0.0
},
"io": {
"disk_read_mb": 0.0,
"disk_write_mb": 0.0,
"network_sent_mb": 0.0,
"network_recv_mb": 0.0
}
},
"processes": {
"total": 1,
"peak_threads": 0,
"peak_fds": 0
},
"output": {
"total_size": 1,
"average_size": 1,
"complexity_score": 0.7660645927923916
},
"collectors": {
"performance": 1,
"resource": 1
},
"timestamp": "2025-08-06T11:38:38.761207",
"process_executions": {
"sparc:{\"positional\": [\"coder\", \"Build REST API\"]}": {
"command_type": "sparc",
"args": {
"positional": [
"coder",
"Build REST API"
]
},
"execution_count": 1,
"success_count": 1,
"failure_count": 0,
"success_rate": 1.0,
"average_duration": 0.30335211753845215,
"total_duration": 0.30335211753845215,
"average_memory_mb": 42.27734375,
"peak_memory_mb": 70.1015625
}
}
}
@@ -0,0 +1,47 @@
{
"summary": {
"total_executions": 1,
"successful_executions": 1,
"failed_executions": 0,
"overall_success_rate": 1.0,
"total_duration": 0.30335211753845215,
"average_duration": 0.30335211753845215,
"peak_memory_mb": 70.1015625,
"average_memory_mb": 42.27734375,
"total_output_lines": 1,
"total_errors": 1
},
"command_statistics": {
"sparc:{\"positional\": [\"coder\", \"Build REST API\"]}": {
"command_type": "sparc",
"args": {
"positional": [
"coder",
"Build REST API"
]
},
"execution_count": 1,
"success_count": 1,
"failure_count": 0,
"success_rate": 1.0,
"average_duration": 0.30335211753845215,
"total_duration": 0.30335211753845215,
"average_memory_mb": 42.27734375,
"peak_memory_mb": 70.1015625
}
},
"executions": [
{
"command": "claude-flow sparc coder Build REST API",
"exit_code": 0,
"success": true,
"duration": 0.30335211753845215,
"start_time": 1754480315.452625,
"output_size": 1,
"error_count": 1,
"cpu_percent": 92.60000000000001,
"memory_mb": 42.27734375,
"peak_memory_mb": 70.1015625
}
]
}
@@ -0,0 +1,132 @@
{
"id": "200a752c-ded2-4d39-a5bf-05ef3f254995",
"name": "real-benchmark-development-centralized",
"description": "Real Benchmark: Build REST API",
"status": "completed",
"config": {
"name": "real-benchmark-development-centralized",
"description": "Real Benchmark: Build REST API",
"strategy": "development",
"mode": "centralized",
"max_agents": 5,
"max_tasks": 100,
"timeout": 3600,
"task_timeout": 300,
"max_retries": 3,
"parallel": false,
"background": false,
"monitoring": false,
"quality_threshold": 0.8,
"resource_limits": {
"max_memory_mb": 1024,
"max_cpu_percent": 80,
"max_network_mbps": 100
},
"output_formats": [
"json"
],
"output_directory": "./reports",
"verbose": false
},
"tasks": [
{
"id": "a0882177-fa4e-4547-b70d-ae5e5fd181af",
"objective": "Build REST API",
"description": "Benchmark task: Build REST API",
"strategy": "development",
"mode": "centralized",
"parameters": {},
"timeout": 300,
"max_retries": 3,
"priority": 1,
"status": "pending",
"created_at": "2025-08-06T11:38:35.452170",
"started_at": null,
"completed_at": null,
"duration": null,
"assigned_agents": [],
"parent_task_id": null,
"subtasks": [],
"dependencies": []
}
],
"results": [
{
"id": "cbe9d92e-141e-4176-88c9-e22df9048af2",
"task_id": "a0882177-fa4e-4547-b70d-ae5e5fd181af",
"agent_id": "claude-flow",
"status": "success",
"output": {
"raw_output": "\u274c Failed to run SPARC mode: Deno is not defined",
"lines": [
"\u274c Failed to run SPARC mode: Deno is not defined"
],
"sections": {}
},
"errors": [],
"warnings": [],
"performance_metrics": {
"execution_time": 0.26589345932006836,
"queue_time": 0.0,
"throughput": 3.7609048472164686,
"success_rate": 1.0,
"error_rate": 0.0,
"retry_count": 0,
"coordination_overhead": 0.0,
"communication_latency": 0.0
},
"quality_metrics": {
"accuracy_score": 0.0,
"completeness_score": 1.0,
"consistency_score": 0.0,
"relevance_score": 0.0,
"overall_quality": 0.5,
"review_score": null,
"automated_score": null
},
"resource_usage": {
"cpu_percent": 92.60000000000001,
"memory_mb": 42.27734375,
"network_bytes_sent": 0,
"network_bytes_recv": 0,
"disk_bytes_read": 0,
"disk_bytes_write": 0,
"peak_memory_mb": 70.1015625,
"average_cpu_percent": 92.60000000000001
},
"execution_details": {
"command": "claude-flow sparc coder Build REST API",
"exit_code": 0,
"output_lines": 1,
"error_count": 1
},
"created_at": "2025-08-06T11:38:35.756391",
"started_at": "2025-08-06T11:38:35.452625",
"completed_at": "2025-08-06T11:38:35.755977",
"duration": 0.303352
}
],
"metrics": {
"total_tasks": 1,
"completed_tasks": 1,
"failed_tasks": 0,
"total_agents": 0,
"active_agents": 0,
"average_execution_time": 0.0,
"total_execution_time": 1.305372953414917,
"success_rate": 1.0,
"throughput": 0.7660645927923916,
"resource_efficiency": 0.0,
"coordination_efficiency": 1.0,
"quality_score": 0.0,
"peak_memory_usage": 0.0,
"total_cpu_time": 0.0,
"network_overhead": 0.0
},
"created_at": "2025-08-06T11:38:35.452196",
"started_at": "2025-08-06T11:38:35.452203",
"completed_at": "2025-08-06T11:38:35.756408",
"duration": 0.304205,
"error_log": [],
"metadata": {}
}