EMRY-012: Throughput + ETA processor #57
No reviewers
Labels
No labels
blocked
bug
compat
docs
documentation
duplicate
emry-cli
emry-core
emry-engine
emry-ingest
emry-py
emry-store
emry-tui
emry-web
enhancement
good first issue
gpu-compute
help wanted
hpc
infra
integrations
invalid
needs-design
P0-blocker
P1-core
P2-enhanced
P3-future
performance
pull-request
python
pytorch
question
rust
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
femboy/emry!57
Loading…
Reference in a new issue
No description provided.
Delete branch "emry-012-throughput-eta"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes EMRY-012 (#10). Branched off
main.What
crates/emry-engine/src/throughput.rs—ThroughputProcessor reporting:steps_per_sec— over a sliding window of(time, step)sampleseta_secs— whentotal_stepsis known (set_total_stepsupdates it mid-run)Events carry no wall-clock time, so the live
on_eventpath stamps a monotonicInstant; the rate math is a pureobserve(step, now_secs)for deterministic tests. Ignores non-advancing/out-of-order steps and zero-duration windows.Verification
./scripts/pre-commit-rust.shgreen: clippy-D warnings, 23 engine tests, throughput.rs 100% lines, total 95.01%Review-driven changes
set_total_steps(review conf 80): extended runs no longer emit a misleadingeta_secs=0.observe/on_eventmust not be mixed on one instance.