Skip to content

Conversation

@justsml
Copy link

@justsml justsml commented Jan 9, 2026

Add semaphore-based concurrency control for evalite.each() to limit the number of variants that run concurrently. This enables:

  • API rate limit management when comparing multiple models
  • Cost control by running expensive variants sequentially or in batches
  • Resource management for large-scale evaluations

Usage:
evalite.each(variants, { parallelLimit: 2 })("Compare", { ... })

Implementation uses Vitest beforeAll/afterAll hooks with a shared semaphore per variant group to control concurrent execution while maintaining backward compatibility.

…ncy control

Add semaphore-based concurrency control for evalite.each() to limit the number of variants that run concurrently. This enables:
- API rate limit management when comparing multiple models
- Cost control by running expensive variants sequentially or in batches
- Resource management for large-scale evaluations

Usage:
  evalite.each(variants, { parallelLimit: 2 })("Compare", { ... })

Implementation uses Vitest beforeAll/afterAll hooks with a shared semaphore per variant group to control concurrent execution while maintaining backward compatibility.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@changeset-bot
Copy link

changeset-bot bot commented Jan 9, 2026

⚠️ No Changeset found

Latest commit: b704ea1

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel
Copy link

vercel bot commented Jan 9, 2026

@justsml is attempting to deploy a commit to the Skill Recordings Team on Vercel.

A member of the Team first needs to authorize it.

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