Skip to content

Clojure(Script) compiler characterization tests corpus

License

Notifications You must be signed in to change notification settings

mfikes/coal-mine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Coal Mine

A large corpus of Clojure(Script) compiler characterization tests derived from submissions by the top 1000 users on 4Clojure.

Current Stats: 50,000 tests, 195,000 assertions, 368,000 LOC.

This is useful for regression testing compiler patches. Since the codebase is large, it is also useful for testing compiler performance.

To run all tests via Clojure:

clj -Mclj -m coal-mine.test-runner

or, to break things into smaller runs

clj -Mclj -m coal-mine.test-runner-1
clj -Mclj -m coal-mine.test-runner-2
clj -Mclj -m coal-mine.test-runner-3
clj -Mclj -m coal-mine.test-runner-4
clj -Mclj -m coal-mine.test-runner-5

or via ClojureScript

clj -Mcljs -m coal-mine.test-runner

or via Planck

plk -m coal-mine.test-runner

Alternatively,

clj -Mnode

will run the all the tests via ClojureScript on Node, split for RAM use reduction.

About

Clojure(Script) compiler characterization tests corpus

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published