Skip to content

[TEST] Create micro benchmarks for compiler transformations #321

@joroKr21

Description

@joroKr21

This will be useful for papers / thesis.

Use ScalaMeter to create the infrastructure for micro benchmarks of compiler transformations. This will also give us some simple statistics and reporting for free. Benchmarks can then be run on a bunch of Scala code like scala-repos. The tricky part is making sure the transformations are lenient enough to not fail on random input.

After this we can define a few variants of the core transformations like ANF and DSCF to compare: using the Transversers API, recursive methods, stateful transformers from scalac, quasiquotes vs the AST API, etc.

  • Benchmarking infrastructure
  • Benchmarks for ANF
  • Benchmarks for DSCF

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions