Skip to content

Perf/fast pipeline - #3

Merged
SahilMotyar merged 2 commits into
mainfrom
perf/fast-pipeline
Aug 17, 2026
Merged

Perf/fast pipeline#3
SahilMotyar merged 2 commits into
mainfrom
perf/fast-pipeline

Conversation

@SahilMotyar

Copy link
Copy Markdown
Owner

No description provided.

SahilMotyar and others added 2 commits August 17, 2026 22:53
Budget measured elapsed time with time.monotonic(), whose resolution on
Windows is ~15.6ms -- coarse enough that short intervals measured as
exactly zero, so the Stage 2 timeout could not fire on short work there.
perf_counter is equally monotonic and far finer.

Two chunking tests passed for the wrong reason: their filler words
repeated in every sentence, so the overlap assertions matched shared
vocabulary rather than actual overlap. The fixtures now use vocabulary
unique to each sentence, and the zero-overlap case checks every adjacent
pair instead of only the first.

Adds the CI workflow: tests on Python 3.11-3.13, a byte-compile step for
the modules the suite cannot import, and a guard that fails the build if
a requirements file is not valid UTF-8 -- requirements.txt shipped as
UTF-16LE once already.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@SahilMotyar
SahilMotyar requested a balanced review from Copilot August 17, 2026 17:39

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@SahilMotyar
SahilMotyar merged commit 6ed9fcb into main Aug 17, 2026
4 checks passed
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.

2 participants