redex: adjust benchmark contracts and provides

This commit is contained in:
Burke Fetscher 2014-06-18 16:20:31 -05:00
parent ae23c070f1
commit b10f178e98
2 changed files with 13 additions and 12 deletions

View File

@ -11,4 +11,5 @@
run-gen-and-check/mods
bmark-log-directory
benchmark-logging-to
bmark-log)
bmark-log
(struct-out run-results))

View File

@ -14,18 +14,18 @@
(provide/contract
[run-gen-and-check/mods
(-> module-path?
module-path?
natural-number/c
#:name string?
run-results?)]
(->* (module-path?
module-path?
natural-number/c)
(#:name string?)
run-results?)]
[run-gen-and-check
(-> (-> (-> any/c))
(-> any/c boolean?)
natural-number/c
#:name string?
#:type symbol?
run-results?)])
(->* ((-> (-> any/c))
(-> any/c boolean?)
natural-number/c)
(#:name string?
#:type symbol?)
run-results?)])
(define (run-gen-and-check/mods gen-mod-path check-mod-path seconds #:name [name "unknown"])
(define get-gen (dynamic-require gen-mod-path 'get-generator))