Hi Martin: On 03 Apr 2012, at 21:50, Martin Dias wrote:
> I like SMark, so I am evaluating how straightforward would be to move Fuel > benchmark suite. A couple of questions: > > 1) I had some undeclared references, no problem? > HeadlessSave class>>run: (RVMOperations is Undeclared) > ScriptStarter class>>transportersForFileOutMenu (Transporter is Undeclared) That's not a problem, both are RoarVM related and not necessary for you. [HeadlessSave was meant to make sure that no random processes are in the image anymore before it is saved. The RVMOperations thing I put in was probably for debugging. #transportersForFileOutMenu is something we use to better manage the fileouts with git. Also not relevant for you. Will try to clean these up soon.] > 2) Can I run benchmarks in headless mode using ScriptStarter? How can I try > HelloWorld script? I couldn't figure out. Try: /.../../../cog -headless my.image SMarkHarness --help The class comment should also give you an idea how to use it, I hope. The HelloWorld is used similarly: /.../../../cog -headless my.image HelloWorld something something... ScriptStarter registers itself in the startUp handler chain and will try to figure out whether the first argument is a class name, and then perform #run: on the class. You might need to disable the file loader that is normally in your Pharo image. These two are not compatible unfortunately. Good luck Stefan PS: You are the second user for SMark as far as I know. So, please report any rough edges and missing documentation :) Reinout is more lucky, since he is sitting just in the next office ;) > > > Thanks, > MartÃn -- Stefan Marr Software Languages Lab Vrije Universiteit Brussel Pleinlaan 2 / B-1050 Brussels / Belgium http://soft.vub.ac.be/~smarr Phone: +32 2 629 2974 Fax: +32 2 629 3525
