checkpoint: File edit:

🚀 Generated with [Claude Code](https://claude.com/claude-code)
📊 V3 Development Progress Checkpoint

Co-Authored-By: Claude Sonnet 4 <noreply@anthropic.com>
This commit is contained in:
rUvandClaude Sonnet 4 committed 2026-01-04 20:45:47 +00:00
1 parent baefd4e5ca
commit 6d43e2f0a4
1 file changed
+8 -6
@@ -223,14 +223,16 @@ describe('FlashAttentionOptimizer', () => {
});
it('should calculate average across multiple benchmarks', () => {
optimizer.benchmark();
optimizer.benchmark();
const result1 = optimizer.benchmark();
const result2 = optimizer.benchmark();
const speedup = optimizer.getSpeedup();
// Both benchmarks should have speedup
expect(result1.speedup).toBeGreaterThan(0);
expect(result2.speedup).toBeGreaterThan(0);
// Peak speedup should be tracked
const metrics = optimizer.getMetrics();
expect(speedup).toBeGreaterThan(0);
expect(metrics.totalOperations).toBeGreaterThanOrEqual(2);
expect(metrics.peakSpeedup).toBeGreaterThan(0);
});
});