[Pharo-project] SMark
Hi. 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) 2) Can I run benchmarks in headless mode using ScriptStarter? How can I try HelloWorld script? I couldn't figure out. Thanks, MartÃn
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
Hi Martin: On 04 Apr 2012, at 09:57, Stefan Marr wrote:
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)
I fixed these warnings and fixed a couple of minor issues, like missing initialization and use of deprecated stuff on Pharo 1.4. The configuration loads now without issues into Pharo 1.3, Pharo 1.4, and Squeak 4.3. There are two failing tests, but these are expected failures ;) Let me know if you have any other problems. Thanks Stefan -- 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
Hi Stefan, thank you very much. I think it'll be useful for Fuel. Keep you posted! Best regards MartÃn On Thu, Apr 5, 2012 at 5:28 PM, Stefan Marr <smalltalk@stefan-marr.de>wrote:
Hi Martin:
On 04 Apr 2012, at 09:57, Stefan Marr wrote:
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)
I fixed these warnings and fixed a couple of minor issues, like missing initialization and use of deprecated stuff on Pharo 1.4.
The configuration loads now without issues into Pharo 1.3, Pharo 1.4, and Squeak 4.3.
There are two failing tests, but these are expected failures ;)
Let me know if you have any other problems.
Thanks Stefan
-- 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
participants (2)
-
Martin Dias -
Stefan Marr