Skip to content

feat(delphi): Clojure timing probe (Spec C)#2643

Draft
jucor wants to merge 1 commit into
spr/edge/bbb74f71from
spr/edge/96c1f19e
Draft

feat(delphi): Clojure timing probe (Spec C)#2643
jucor wants to merge 1 commit into
spr/edge/bbb74f71from
spr/edge/96c1f19e

Conversation

@jucor

@jucor jucor commented Jul 22, 2026

Copy link
Copy Markdown
Collaborator

Add scripts/clj_timing_probe.py — a click CLI that runs the Clojure
Mode A replay driver (math/dev/replay.clj) at increasing vote-count
sizes, records wall-clock seconds + final-blob success per size, fits
runtime ~ a + b*N^k (log-log least squares, a estimated from the
smallest run as the fixed JVM-startup cost), and recommends the
largest N that stays within a wall-clock budget.

TDD: tests/replay_harness/test_timing_probe.py mocks the clojure
subprocess for all unit tests (CSV truncation, schedule shape, fit
recovery on synthetic power-law data, recommendation math, stdout
line budget, CLI end-to-end) plus one real-subprocess integration
test gated on clojure being on PATH and RUN_CLJ_INTEGRATION=1.

commit-id:96c1f19e


Stack:


⚠️ Part of a stack created by spr. Do not merge manually using the UI - doing so may have unexpected results.

Add scripts/clj_timing_probe.py — a click CLI that runs the Clojure
Mode A replay driver (math/dev/replay.clj) at increasing vote-count
sizes, records wall-clock seconds + final-blob success per size, fits
runtime ~ a + b*N^k (log-log least squares, a estimated from the
smallest run as the fixed JVM-startup cost), and recommends the
largest N that stays within a wall-clock budget.

TDD: tests/replay_harness/test_timing_probe.py mocks the clojure
subprocess for all unit tests (CSV truncation, schedule shape, fit
recovery on synthetic power-law data, recommendation math, stdout
line budget, CLI end-to-end) plus one real-subprocess integration
test gated on `clojure` being on PATH and RUN_CLJ_INTEGRATION=1.

commit-id:96c1f19e
This was referenced Jul 22, 2026
@jucor
jucor marked this pull request as draft July 22, 2026 00:51
@jucor
jucor changed the base branch from spr/edge/bbb74f71 to edge July 22, 2026 02:01
@jucor
jucor changed the base branch from edge to spr/edge/bbb74f71 July 22, 2026 02:02
@jucor
jucor changed the base branch from spr/edge/bbb74f71 to edge July 22, 2026 02:10
@jucor
jucor changed the base branch from edge to spr/edge/bbb74f71 July 22, 2026 02:10
@jucor
jucor changed the base branch from spr/edge/bbb74f71 to edge July 22, 2026 03:54
@jucor
jucor changed the base branch from edge to spr/edge/bbb74f71 July 22, 2026 03:54
@jucor
jucor changed the base branch from spr/edge/bbb74f71 to edge July 22, 2026 06:16
@jucor
jucor changed the base branch from edge to spr/edge/bbb74f71 July 22, 2026 06:16
@jucor
jucor changed the base branch from spr/edge/bbb74f71 to edge July 22, 2026 06:50
@jucor
jucor changed the base branch from edge to spr/edge/bbb74f71 July 22, 2026 06:50
@jucor
jucor changed the base branch from spr/edge/bbb74f71 to edge July 22, 2026 08:11
@jucor
jucor changed the base branch from edge to spr/edge/bbb74f71 July 22, 2026 08:11
@jucor
jucor changed the base branch from spr/edge/bbb74f71 to edge July 22, 2026 09:58
@jucor
jucor changed the base branch from edge to spr/edge/bbb74f71 July 22, 2026 09:58
@jucor
jucor changed the base branch from spr/edge/bbb74f71 to edge July 22, 2026 11:20
@jucor
jucor changed the base branch from edge to spr/edge/bbb74f71 July 22, 2026 11:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant