magi-code 0.80.2

Repository-aware CLI coding agent for terminal work
Documentation
{
  "schema_version": 1,
  "measured_on": "2026-09-06",
  "product": "magi-code",
  "version": "0.77.1",
  "commit": "24bb42229a796284ba94b256d2b5b8022231defc",
  "binary_sha256": "57432c33d758279d62d58ce71575e56fa6d11d82b95baf995cddce59db52747f",
  "environment": {
    "cpu": "Apple M5 Pro",
    "memory_gib": 64,
    "os": "Darwin 27.0.0",
    "architecture": "arm64",
    "rustc": "1.98.0 (88d9e12ae 2026-08-18)",
    "build_profile": "release",
    "terminal_backend": "pseudo-terminal",
    "terminal_columns": 120,
    "terminal_rows": 36,
    "network": "denied by macOS sandbox",
    "credentials": "none",
    "settings": "empty",
    "system_load_controlled": false
  },
  "measurements": [
    {
      "scenario": "empty_animated_welcome_screen",
      "accepted_run_ids": ["0-turns-run-6", "0-turns-run-7", "0-turns-run-8"],
      "launches": 3,
      "observation_seconds_per_launch_approximate": 30,
      "average_cpu_percent_of_one_core_by_launch": [0.46372160615882535, 0.4965385127945662, 0.4636237181061754],
      "rss_end_mib_by_launch": [18.5, 18.421875, 18.40625],
      "highest_observed_rss_mib": 18.515625,
      "single_key_to_prompt_output": {
        "unit": "milliseconds",
        "trials": 90,
        "median": 0.3132495,
        "p95_nearest_rank": 0.390542,
        "maximum": 0.536042,
        "missing_updates": 0,
        "terminal_echo_disabled_verified": true,
        "prompt_row_verified": 35
      }
    },
    {
      "scenario": "idle_with_1000_synthetic_question_answer_pairs",
      "accepted_run_ids": ["1000-turns-run-4", "1000-turns-run-5", "1000-turns-run-7"],
      "launches": 3,
      "observation_seconds_per_launch_approximate": 121,
      "fixture_pairs": 1000,
      "fixture_events": 2000,
      "fixture_bytes": 1678780,
      "load_method": "Mission Control /sessions picker",
      "final_answer_observed": true,
      "average_cpu_percent_of_one_core_range_rounded": [0.182, 0.190],
      "rss_end_mib_by_launch": [33.875, 34.359375, 34.484375],
      "highest_observed_rss_mib": 34.484375,
      "single_key_to_prompt_output": {
        "unit": "milliseconds",
        "trials": 90,
        "median": 0.3638125,
        "p95_nearest_rank": 0.459834,
        "maximum": 0.577209,
        "missing_updates": 0,
        "terminal_echo_disabled_verified": true,
        "prompt_row_verified": 35
      }
    },
    {
      "scenario": "repeated_near_tail_scrolling_with_1000_synthetic_pairs",
      "accepted_run_ids": ["1000-turns-run-1-scroll"],
      "launches": 1,
      "observation_seconds": 241.58554129099997,
      "mouse_wheel_events_sent": 960,
      "direction_change_seconds": 30,
      "visible_question_indices_observed_range": [988, 999],
      "average_cpu_percent_of_one_core_rounded": 0.211,
      "rss_start_mib": 34.34375,
      "rss_end_mib": 34.59375,
      "highest_observed_rss_mib": 34.59375,
      "rss_change_mib": 0.25,
      "median_rss_mib_per_60_samples": [34.59375, 34.59375, 34.59375, 34.59375],
      "normal_exit": true
    }
  ],
  "limitations": [
    "Local observations on one machine, not universal guarantees.",
    "PTY output timing excludes Ghostty paint, physical keyboard input, completed-frame flush, and provider responses.",
    "Single-key timing includes observer scheduling and validation; not sustained typing or paste.",
    "RSS samples cover one application PID at approximately one-second intervals, excluding startup/loading peaks, brief spikes, subprocesses, and terminal memory.",
    "CPU uses a 0.01-second-resolution counter and 100 percent means one fully occupied core.",
    "Synthetic history was preloaded; no live provider, tool, or subagent turns were executed.",
    "Four-minute scrolling is not evidence of leak freedom or multi-hour memory behavior.",
    "Different UI states and observation lengths do not establish that larger histories reduce CPU use."
  ],
  "methodology_document": "performance-baseline-2026-09-06.md"
}