mirror of
https://github.com/codeflash-ai/codeflash.git
synced 2026-05-04 18:25:17 +00:00
The js-ts-class E2E test was flaky because n=100 is too small for the O(n²)→O(n) optimization to overcome Map/Set per-operation overhead. At n=100, the LLM correctly generates a Map-based O(n) solution but it benchmarks as slower (-10.6%) due to constant factor dominance. Bump to n=10,000 so the algorithmic improvement produces measurable speedup, making the 30% E2E threshold reliably achievable. |
||
|---|---|---|
| .. | ||
| code_to_optimize_js | ||
| code_to_optimize_js_cjs | ||
| code_to_optimize_js_esm | ||
| code_to_optimize_mocha | ||
| code_to_optimize_ts | ||
| code_to_optimize_vitest | ||