racket/collects/tests/mzscheme/benchmarks/mz/redsem.scm
Robby Findler 204bc48a50 set things up to remove the cache
svn: r4234
2006-09-04 01:55:59 +00:00

21 lines
502 B
Scheme

#|
Time the cache-less version of the pattern matcher
under the theory that if this speeds up, the cache
can be used less, leading to less memory use, and
better performance.
(and I'm pretty sure that measuing the cache isn't
super useful.)
Robby
|#
(require (planet "reduction-semantics.ss" ("robby" "redex.plt" 2 4)))
(set-cache-size! #f)
(require (planet "beginner.ss" ("robby" "redex.plt" 2 4) "examples"))
(collect-garbage)
(printf "Now\n")
(time (begin (run-tests) (run-tests) (run-tests)))