mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-29 19:30:36 +02:00
gc-benchmarks: Adapt `gcold.scm' so that if conforms to the framework.
* gc-benchmarks/larceny/gcold.scm (main): Rename to `gcold-benchmark'. (GCOld): Fix the order of the predicate and run-maker.
This commit is contained in:
parent
83e3ac9475
commit
1c14d7671d
1 changed files with 5 additions and 3 deletions
|
@ -356,12 +356,12 @@
|
|||
|
||||
(run-benchmark "GCOld"
|
||||
1
|
||||
(lambda (result) #t)
|
||||
(lambda ()
|
||||
(lambda ()
|
||||
(do ((step 0 (+ step 1)))
|
||||
((>= step steps))
|
||||
(doStep MEG)))))
|
||||
(doStep MEG))))
|
||||
(lambda (result) #t))
|
||||
|
||||
(checkTrees)
|
||||
|
||||
|
@ -380,5 +380,7 @@
|
|||
|
||||
(+ mutatorSum (vector-length aexport))))
|
||||
|
||||
(define (main . args)
|
||||
(define (gcold-benchmark . args)
|
||||
(define gcold-iters 1)
|
||||
|
||||
(GCOld 25 0 10 10 gcold-iters))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue