Skip to content

Measure the default worker count, not only the extremes - #16

Merged
chross22 merged 1 commit into
masterfrom
measure-all-three-worker-counts
Aug 6, 2026
Merged

Measure the default worker count, not only the extremes#16
chross22 merged 1 commit into
masterfrom
measure-all-three-worker-counts

Conversation

@chross22

@chross22 chross22 commented Aug 6, 2026

Copy link
Copy Markdown
Owner

The speedup table added in #14 showed 1 and 6 workers, so its headline number was one nobody gets without asking for it, and the default was described in prose as landing "around 3.8x" — an estimate carried over from a different, shorter fetch rather than from the run being described.

Measured 4 alongside the other two, all three cold-cache and back to back in one session:

n_workers Elapsed
1 295 s
4 (the default) 80 s 3.7x faster
6 51 s 5.8x faster

The default is now a row in the table and labelled as such, and the estimate is gone.

Why trust these

The re-run reproduces the previous one closely — serial 295.2 s against 293.6 s, six workers 51.0 s against 51.1 s. Two independent cold-cache runs landing within about half a percent is the reason to read these as properties of the code rather than of the afternoon.

All three runs returned identical() data: same 59 days, same 9,971 rows. That is what makes the comparison mean anything — the fast runs are not fast by doing less.

README only (.Rmd and the knitted .md). No code changes.

🤖 Generated with Claude Code

The speedup table showed 1 and 6 workers, so its headline number was one
nobody gets without asking for it, and the default was described in
prose as landing "around 3.8x" - an estimate carried over from a
different, shorter fetch rather than from the run being described.

Measured 4 alongside the other two, all three cold-cache and back to
back in one session: 295 s serial, 80 s at four, 51 s at six, or 3.7x
and 5.8x. The default is now a row in the table and labelled as the
default, and the estimate is gone.

The re-run reproduces the previous one closely - serial 295.2 s against
293.6 s, six workers 51.0 s against 51.1 s - which is the reason to
trust any of these as properties of the code rather than of the
afternoon.

Also records that all three returned identical data, which is what makes
the comparison mean anything: the fast runs are not fast by doing less.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@chross22
chross22 merged commit 4ae165c into master Aug 6, 2026
@chross22
chross22 deleted the measure-all-three-worker-counts branch August 6, 2026 23:32
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