Skip to content

Conversation

@webdevred
Copy link
Owner

@webdevred webdevred commented Nov 14, 2025

Summary

  • Added jbeam-edit-bench using Criterion in tools/bench/Main.hs to measure:
    1. format-only
    2. transform+format
  • Benchmarks load .hs AST files from examples/ast/jbeam and examples/ast/jbfl, covering minimal and complex cases.
  • Updated cabal.project.ci and package.yaml to define benchmark targets and support +transformation flag.
  • Integrated benchmarks into release and latest-deps workflows:
    • Release workflow runs benchmarks when +transformation flag is set.
    • Latest workflow always runs benchmarks to validate performance on newest GHC/dependencies.
  • Project scripts (configure_project.sh, prepare_installer.sh) updated to ensure benchmarks build and run correctly.
  • IDE support for bench/Main.hs added in hie.yaml and Emacs .dir-locals.el.

@webdevred webdevred force-pushed the benchmark-for-windows branch from cee6915 to fad3939 Compare November 14, 2025 15:47
@webdevred webdevred force-pushed the benchmark-for-windows branch from 60d171d to 4f97cc2 Compare November 14, 2025 16:07
@webdevred webdevred merged commit 6c2fe0c into master Nov 14, 2025
14 checks passed
@webdevred webdevred deleted the benchmark-for-windows branch November 14, 2025 16:22
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.

2 participants