factor/extra/benchmark/bootstrap2/bootstrap2.factor

15 lines
333 B
Factor
Raw Normal View History

USING: io.files io.launcher system bootstrap.image
2008-01-30 03:46:52 -05:00
namespaces sequences kernel ;
2007-09-20 18:09:08 -04:00
IN: benchmark.bootstrap2
: bootstrap-benchmark
"." resource-path cd
2008-01-30 03:46:52 -05:00
[
vm ,
"-i=" my-boot-image-name append ,
2008-01-30 03:46:52 -05:00
"-output-image=foo.image" ,
"-no-user-init" ,
2008-02-08 22:15:29 -05:00
] { } make try-process ;
2007-09-20 18:09:08 -04:00
MAIN: bootstrap-benchmark