Add a perf test for the generics code pattern from #21839.
This code showed a strong shift between compile time (got worse) and run time (got a lot better) recently which is perfectly acceptable. However it wasn't clear why the compile time regression was happening initially so I'm adding this test to make it easier to track such changes in the future.
parent
5172789a
Pipeline #57791 canceled
Stage: tool-lint
Stage: quick-build
Stage: full-build
Stage: packaging
Stage: testing
Stage: deploy
Showing
- testsuite/tests/perf/compiler/T21839c.hs 46 additions, 0 deletionstestsuite/tests/perf/compiler/T21839c.hs
- testsuite/tests/perf/compiler/T21839c.stdout 1 addition, 0 deletionstestsuite/tests/perf/compiler/T21839c.stdout
- testsuite/tests/perf/compiler/all.T 7 additions, 0 deletionstestsuite/tests/perf/compiler/all.T
- testsuite/tests/perf/should_run/T21839r.hs 46 additions, 0 deletionstestsuite/tests/perf/should_run/T21839r.hs
- testsuite/tests/perf/should_run/T21839r.stdout 1 addition, 0 deletionstestsuite/tests/perf/should_run/T21839r.stdout
- testsuite/tests/perf/should_run/all.T 8 additions, 0 deletionstestsuite/tests/perf/should_run/all.T
testsuite/tests/perf/compiler/T21839c.hs
0 → 100644
testsuite/tests/perf/compiler/T21839c.stdout
0 → 100644
testsuite/tests/perf/should_run/T21839r.hs
0 → 100644