tests/Performance/PerformanceBaseline.json

{
  "version": "1.0.0",
  "timestamp": "2026-01-22T06:00:00Z",
  "description": "Performance baseline metrics for HermesConsoleUI. Used for regression detection.",
  "benchmarks": {
    "table_rendering": {
      "10_rows": {
        "avg_time_ms": 50,
        "threshold_time_ms": 75,
        "memory_mb": 2.0,
        "threshold_memory_mb": 5.0
      },
      "100_rows": {
        "avg_time_ms": 200,
        "threshold_time_ms": 300,
        "memory_mb": 4.0,
        "threshold_memory_mb": 10.0
      },
      "1000_rows": {
        "avg_time_ms": 2000,
        "threshold_time_ms": 3000,
        "memory_mb": 15.0,
        "threshold_memory_mb": 25.0
      }
    },
    "menu_interaction": {
      "10_options": {
        "avg_time_ms": 5,
        "threshold_time_ms": 10
      },
      "100_options": {
        "avg_time_ms": 20,
        "threshold_time_ms": 40
      }
    },
    "spinner_animation": {
      "5_seconds": {
        "cpu_delta": 2.0,
        "threshold_cpu_delta": 5.0,
        "memory_delta_mb": 1.0,
        "threshold_memory_delta_mb": 3.0
      }
    },
    "color_processing": {
      "100_words": {
        "avg_time_ms": 1.0,
        "threshold_time_ms": 5.0
      },
      "1000_words": {
        "avg_time_ms": 10.0,
        "threshold_time_ms": 20.0
      }
    }
  }
}