{
  "measuredAtUtc": "2026-11-29T05:18:55Z",
  "options": {
    "runs": 21,
    "warmup": 5,
    "rssRuns": 5,
    "order": "alternating first tool between rounds"
  },
  "results": {
    "rpi": {
      "label": "rpi (Rust, v0.32.0)",
      "version": "rpi 0.32.0",
      "versionAll": [
        86.2101249999996,
        16.524083000000246,
        28.612832999999227,
        9.272249999998166,
        26.226208000000042,
        15.36083299999882,
        22.995915999999852,
        9.450417000000016,
        28.1462500000016,
        12.220083000000159,
        23.680707999999868,
        13.282874999997148,
        19.416666999997688,
        13.651083000000654,
        20.381208000006154,
        7.627667000000656,
        10.25087500000518,
        8.80466599999636,
        20.4588750000039,
        10.599084000001312,
        27.610333999997238
      ],
      "coldStartAll": [
        191.98241700000108,
        35.373999999999796,
        101.83866699999999,
        32.39970800000083,
        74.41949999999997,
        31.002917000001617,
        73.5411669999994,
        27.785667000000103,
        78.1617499999993,
        35.24462499999936,
        72.27504100000078,
        27.471166999999696,
        58.03620900000169,
        25.54395800000202,
        52.66491700000188,
        24.018582999997307,
        26.60358300000371,
        28.306166999995185,
        63.007707999997365,
        25.403292000002693,
        62.8695000000007
      ],
      "rssAtReadyAll": [
        19677184,
        19693568,
        19742720,
        19644416,
        19677184
      ],
      "versionMs": 16.524083000000246,
      "coldStartMs": 35.373999999999796,
      "rssAtReadyBytes": 19677184,
      "installBytes": 51391280,
      "installWithRuntimeBytes": 51391280
    },
    "pi": {
      "label": "pi (TypeScript, v1.7.0)",
      "version": "1.7.0",
      "versionAll": [
        458.40599999999904,
        794.8744159999987,
        790.3537079999987,
        493.0846249999995,
        315.1458329999987,
        548.6862079999992,
        394.5352920000005,
        639.0322919999999,
        340.9484999999986,
        693.1216249999998,
        568.3025420000013,
        711.0099159999991,
        668.9732500000027,
        368.89350000000195,
        610.8682499999995,
        321.42949999999837,
        283.599083000001,
        357.6976250000007,
        418.1591249999983,
        381.8307910000003,
        349.5120420000021
      ],
      "coldStartAll": [
        1562.6732919999995,
        1137.3064590000013,
        1292.5494999999974,
        590.1205829999999,
        401.36683300000004,
        487.7572919999984,
        706.5151250000017,
        430.7834580000017,
        557.986832999999,
        774.8315409999996,
        420.29212499999994,
        694.0120000000024,
        637.166333000001,
        796.8278329999994,
        441.320415999995,
        304.7519590000011,
        333.6903749999983,
        294.11108299999614,
        483.6539579999953,
        395.55275000000256,
        520.0336249999964
      ],
      "rssAtReadyAll": [
        116244480,
        115163136,
        68026368,
        115654656,
        114507776
      ],
      "versionMs": 458.40599999999904,
      "coldStartMs": 520.0336249999964,
      "rssAtReadyBytes": 115163136,
      "installBytes": 124618401,
      "installWithRuntimeBytes": 237642561
    }
  },
  "artifacts": {
    "rpi": {
      "source": "https://github.com/bigfish1913/pi-rust/releases/download/v0.32.0/rpi-v0.32.0-aarch64-apple-darwin.tar.gz",
      "revision": "bb5e5c727cc769f6146f82a03877361f3eec53a5",
      "archiveSha256": "7e5d687c5f5306e85e95098b72d39c676c0120a4a21d38a3aa261fc54de66d02",
      "binarySha256": "45734e2d1bb244442472b9037d9b536c4c26e9f41544aeeaf0cfbd7341e1dcb8"
    },
    "pi": {
      "package": "@earendil-works/pi-coding-agent",
      "version": "1.7.0",
      "entrypoint": "dist/bundle/cli.js",
      "packageIntegrity": "sha512-opRelA1oqV/o+cByICMYU87oiHuICeCkghHMqsZsDwDz9F6qo8HFhoH4J/wZkr6tBeFor7ryOSwEmpZsusYrbA=="
    },
    "node": {
      "source": "https://nodejs.org/dist/v22.23.5/node-v22.23.5-darwin-arm64.tar.xz",
      "archiveSha256": "d0c68c321161bb2c6483efea9a343010dea8e5e7f60d73c6a7eba140016d662f",
      "binaryBytes": 113024160
    }
  },
  "methodology": {
    "baseScript": "https://github.com/bigfish1913/pi-rust/blob/bb5e5c727cc769f6146f82a03877361f3eec53a5/scripts/bench-vs-pi.mjs",
    "adjustments": "Alternate which CLI runs first each round, wait for the RPC child to exit between trials, require a successful get_state response for both timing and RSS, and sample RSS five times.",
    "isolation": "Fresh per-tool agent dir and empty working directory per trial. Offline mode and a dummy credential, with an otherwise cleared environment and a temporary home directory.",
    "version": "Wall time from before spawn to exit of --version.",
    "coldStart": "Wall time from before spawn until parsing the successful get_state response in RPC mode. Each sample uses a fresh process. Filesystem caches are warm after warmups.",
    "rssAtReady": "Process RSS from ps after a successful get_state response, measured separately from timing.",
    "install": "Logical bytes of the rpi binary versus regular files in the isolated npm node_modules tree. With runtime adds the official Node.js executable to pi. Symlinks, archives and npm cache are excluded."
  },
  "nodeVersion": "22.23.5",
  "historicalComparison": {
    "date": "2026-09-30",
    "source": "https://github.com/bigfish1913/pi-rust/blob/bb5e5c727cc769f6146f82a03877361f3eec53a5/docs/performance/benchmark-vs-pi.md",
    "results": {
      "rpi": {
        "version": "rpi 0.3.6",
        "versionMs": 17.5,
        "coldStartMs": 17.7,
        "rssAtReadyMiB": 12.0,
        "installBytes": 22870528,
        "installWithRuntimeBytes": 22870528
      },
      "pi": {
        "version": "pi 0.87.1",
        "versionMs": 169.5,
        "coldStartMs": 189.5,
        "rssAtReadyMiB": 91.5,
        "installBytes": 403645836,
        "installWithRuntimeBytes": 499263884
      }
    }
  },
  "displaySelection": "For each metric the website selects the lower rpi value and displays the pi value from the same benchmark run."
}
