/ experiments / 2648edcb31c28f81.json
2648edcb31c28f81.json
 1  {
 2    "id": "2648edcb31c28f81",
 3    "schema_version": 1,
 4    "project": "my-rust-project",
 5    "description": "Added fast-path for triangle OBJ parsing",
 6    "timestamp": "2026-04-20T20:35:21.975411+00:00",
 7    "author": "503114698ba319cc",
 8    "pubkey": "503114698ba319cccabd3b9aea44bbfc80a32ba7de05cbd0c9482829d9c80a86",
 9    "benchmark": {
10      "path": "examples\\benchmark_example.py",
11      "command": [
12        "python",
13        "examples\\benchmark_example.py"
14      ],
15      "script": "import json\nimport time\n\n\ndef main() -> None:\n    # Replace this with your real benchmark invocation and measurements.\n    start = time.perf_counter()\n    time.sleep(0.05)\n    _ = sum(i * i for i in range(20000))\n    elapsed = (time.perf_counter() - start) * 1_000_000\n\n    metrics = {\n        \"total_us\": {\n            \"before\": 1_234_567,\n            \"after\": int(elapsed),\n            \"delta_pct\": round(((elapsed - 1_234_567) / 1_234_567) * 100, 2),\n        },\n        \"memory_mb\": {\n            \"before\": 256,\n            \"after\": 180,\n            \"delta_pct\": -29.69,\n        },\n    }\n\n    print(json.dumps({\"metrics\": metrics}))\n\n\nif __name__ == \"__main__\":\n    main()\n",
16      "stdout": "{\"metrics\": {\"total_us\": {\"before\": 1234567, \"after\": 52699, \"delta_pct\": -95.73}, \"memory_mb\": {\"before\": 256, \"after\": 180, \"delta_pct\": -29.69}}}\n"
17    },
18    "metrics": {
19      "total_us": {
20        "before": 1234567,
21        "after": 52699,
22        "delta_pct": -95.73
23      },
24      "memory_mb": {
25        "before": 256,
26        "after": 180,
27        "delta_pct": -29.69
28      }
29    },
30    "benchmark_payload": {},
31    "git": {
32      "head": null,
33      "origin": null
34    },
35    "radicle": {
36      "available": false,
37      "rid": null
38    },
39    "environment": {
40      "python": "3.12.9",
41      "platform": "nt"
42    },
43    "signature": "40b303064b4ae75ad93d84bceb556efb51c7086d88530b61f7c610888a5ddff55648c3bdde52d0fb0d308cd722a61b3e42558a29c039498394f632eb8a141f02"
44  }