trivial/icfp-2016/benchmark
2016-03-20 00:08:15 -04:00
..
fsm [icfp] update benchmarks with define: fix 2016-03-14 20:54:37 -04:00
gregor [icfp] update benchmarks with define: fix 2016-03-14 20:54:37 -04:00
hyphenate [icfp] data file for hyphenate 2016-03-14 22:17:02 -04:00
modulegraph [icfp] update benchmarks with define: fix 2016-03-14 20:54:37 -04:00
morsecode [icfp] update benchmarks with define: fix 2016-03-14 20:54:37 -04:00
suffixtree [icfp] allow recursive define (need to do same for lets) 2016-03-14 21:31:01 -04:00
synth [icfp] allow recursive define (need to do same for lets) 2016-03-14 21:31:01 -04:00
main.rkt [icfp] typo: pre/post 2016-03-14 20:55:49 -04:00
out.rktd [icfp] added a few benchmark programs 2016-03-14 11:13:06 -04:00
output-albany.rktd [icfp] updated benchmark data 2016-03-20 00:08:15 -04:00
README.md [icfp] benchmark results from albs 2016-03-14 16:20:17 -04:00

benchmark

Format

  • Benchmark gets dedicated folder
  • 2 required folders inside benchmark folder
    • pre : code without trivial
    • post : code after adding trivial
  • 1 optional folder
    • base : contains shared data files

Test Cases

Changes

(Anything to get it to typecheck?)

  • fsm : changed a few defines automata.rkt 46:(define: COOPERATE 0) 48:(define: DEFECT 1) 163:(define: PAYOFF-TABLE

             population.rkt
             42:(define: DEF-COO 2)
    
  • gregor : a few arithmetic constants

  • hyphenate : 1 set!, ignored the import hyphenate.rkt 51:(define: default-min-length 5) 52:(define: default-min-left-length 2) 53:(define: default-min-right-length 2) 54:(define: default-joiner #\u00AD)

  • modulegraph : simplified some regexp matching, no more dev assertions

  • morse-code : 1 set!, 12 lines (just ignored the import) removed an annotation on regexp-match

  • suffixtree : 2 set! to set-box!, 6 lines affected

  • synth : had to remove racket/vector imports

Other

shootout was a failure, the code is a little too weird