Skip to content

huangworld/final-benchmarks

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Benchmarks for the CSCI 1260 final project

Open up a pull request on this repository to add a benchmark to the benchmarks/ directory.

Benchmarking the final homework

Here's how to get started running benchmarks for the final homework:

  1. Clone this respository into your final homework repository:
git clone https://github.com/BrownCS1260/final-benchmarks.git benchmarks
  1. In the new benchmarks directory, edit the config.json file. This file should be a JSON-formatted dictionary where the keys are configurations and the values are lists of pass names. For example, it might look like:
{"No optimizations": [],
 "Inlining": ["uniquify-variables", "inline"],
 "Constant propagation and inlining": ["uniquify-variables", "inline", "propagate-constants"]}
  1. Run the benchmark script from the benchmark directory. It will run each benchmark 10 times using each specified configuration and write the results to results.csv.
python3 bench.py

Have fun!

About

Final benchmarks for the final homework.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • NewLisp 47.8%
  • Common Lisp 46.5%
  • Python 5.7%