redex: fix benchmark package dependencies

This commit is contained in:
Burke Fetscher 2014-06-11 12:45:59 -05:00
parent e4eb42616f
commit 6695ccc8cd
3 changed files with 8 additions and 6 deletions

View File

@ -6,6 +6,7 @@
"compiler-lib"
"rackunit-lib"
"redex-lib"
"redex-examples"
"math-lib"
"plot-lib"))

View File

@ -4,7 +4,7 @@
racket/match
math/statistics
math/distributions
plot
plot/no-gui
"logging.rkt")
(provide type-colors)
@ -195,18 +195,18 @@
[plot-x-label ""])
(if (output-file)
(plot
(plot-file
(for/list ([t (if (empty? (types)) all-types (types))]
[n (in-naturals)])
(plot-type t n))
(output-file)
'pdf
#:x-min 0
#:y-min (min-y)
#:y-max (if (max-t)
(* 60 (max-t))
(+ 5 (/ (apply max (filter values (map (λ (d) (list-ref d 2)) data))) 1000)))
#:x-max (+ 0.5 (length (hash-keys name-avgs)))
#:out-file (output-file)
#:out-kind 'jpeg)
#:x-max (+ 0.5 (length (hash-keys name-avgs))))
(plot-pict
(for/list ([t (if (empty? (types)) all-types (types))]
[n (in-naturals)])

View File

@ -13,7 +13,8 @@
"gui-lib"
"htdp-lib"
"pict-lib"
"redex-gui-lib"))
"redex-gui-lib"
"redex-benchmark"))
(define pkg-desc "documentation part of \"redex\"")