Handbook
Glossary
run-benchmark ( vocab quot: ( vocab -- res ) -- result ok? )
Vocabulary
benchmark
.
private
Inputs
vocab
an
object
quot
a
quotation
with stack effect
( vocab -- res )
Outputs
result
an
object
ok?
an
object
Definition
USING:
continuations
kernel
tools.test
;
IN:
benchmark.private
:
run-benchmark
( vocab quot: ( vocab -- res ) -- result ok? )
over
write-header
curry
[
t
]
compose
[
f
f
f
<test-failure>
f
]
recover
;
inline