codeflash/code_to_optimize/js/code_to_optimize_ts
Kevin Turcios a73ccca426 Increase test data size for TS findDuplicates benchmark
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.
2026-04-09 22:26:19 -05:00
..
tests Increase test data size for TS findDuplicates benchmark 2026-04-09 22:26:19 -05:00
bubble_sort.ts add e2e test for CI 2026-01-27 20:54:01 -08:00
codeflash.yaml add e2e test for CI 2026-01-27 20:54:01 -08:00
data_processor.ts add e2e test for CI 2026-01-27 20:54:01 -08:00
fibonacci.ts add e2e test for CI 2026-01-27 20:54:01 -08:00
jest.config.ts add e2e test for CI 2026-01-27 20:54:01 -08:00
package-lock.json fix: upgrade dependencies to resolve Dependabot security alerts 2026-03-07 03:48:38 -05:00
package.json move package dependencies to codeflash 2026-01-28 11:34:44 +05:30
string_utils.ts add e2e test for CI 2026-01-27 20:54:01 -08:00
tsconfig.json add e2e test for CI 2026-01-27 20:54:01 -08:00