redex: fix benchmark package dependencies
This commit is contained in:
parent
e4eb42616f
commit
6695ccc8cd
|
@ -6,6 +6,7 @@
|
|||
"compiler-lib"
|
||||
"rackunit-lib"
|
||||
"redex-lib"
|
||||
"redex-examples"
|
||||
"math-lib"
|
||||
"plot-lib"))
|
||||
|
||||
|
|
|
@ -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)])
|
||||
|
|
|
@ -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\"")
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user