/ experiments / 29126bea8f7dce31.json
29126bea8f7dce31.json
 1  {
 2    "id": "29126bea8f7dce31",
 3    "schema_version": 1,
 4    "project": "openreprolab-smoke-test",
 5    "description": "Smoke test after pipx install on Ubuntu",
 6    "timestamp": "2026-04-20T21:28:05.087727+00:00",
 7    "author": "3388be9eefcc1311",
 8    "pubkey": "3388be9eefcc131161f867a21a92ed704e2119a6197bd1d2805fac80192ad1c3",
 9    "benchmark": {
10      "path": "examples/benchmark_example.py",
11      "command": [
12        "/home/terexitarius/.local/share/pipx/venvs/openreprolab/bin/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\": 55360, \"delta_pct\": -95.52}, \"memory_mb\": {\"before\": 256, \"after\": 180, \"delta_pct\": -29.69}}}\n"
17    },
18    "metrics": {
19      "total_us": {
20        "before": 1234567,
21        "after": 55360,
22        "delta_pct": -95.52
23      },
24      "memory_mb": {
25        "before": 256,
26        "after": 180,
27        "delta_pct": -29.69
28      }
29    },
30    "benchmark_payload": {},
31    "git": {
32      "head": "837f42f0099f5e1cb46b79486a0a1e93cae65b62",
33      "origin": "https://github.com/TerexitariusStomp/hermes-token-screener.git"
34    },
35    "radicle": {
36      "available": false,
37      "rid": null
38    },
39    "environment": {
40      "python": "3.12.3",
41      "platform": "posix"
42    },
43    "signature": "bf36b5f680f9a03a2492ab60c151c52d1df43820bd84982c90af611b3013a16302ec394d10890b93f407b42c142f2c7e28224f2b6c9cb6dbe297324630daa30b"
44  }