Skip to content

Feature/manuel reil/benchmark fast only#3

Open
manuel-reil wants to merge 10 commits intomasterfrom
feature/manuel_reil/benchmark-fast-only
Open

Feature/manuel reil/benchmark fast only#3
manuel-reil wants to merge 10 commits intomasterfrom
feature/manuel_reil/benchmark-fast-only

Conversation

@manuel-reil
Copy link
Copy Markdown
Member

No description provided.

manuel-reil and others added 10 commits August 17, 2025 09:58
Only Async and Fast variants are kept, as Ultra and Sync showed worse
throughput in streaming/pipeline scenarios.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Ultra showed worse throughput than base Engine in streaming scenarios
due to recursive result chaining and deep promise nesting. Sync was
also outperformed by both async variants in pipeline usage.

Removes:
- src/sync/ (6 files: engine, rule, condition, fact, almanac, index)
- src/optimized/engine-ultra, rule-ultra, condition-ultra, almanac-ultra
- test/sync/ and test/optimized/engine-ultra* (6 test files)
- benchmark/benchmark-fast-vs-ultra.js and stream-utils-sync.js
- benchmark:compare:all npm script
- EngineSync, FactSync, RuleSync, AlmanacSync, ConditionSync, EngineUltra,
  AlmanacUltra exports from src/json-rules-engine.js

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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