Hmm, is this the expected result? (Interpreted results much faster than compiled, on my computer at least.) Or is this just because the tests only run once, so the overhead of compilation outweighs any benefit gained from compiled code? (I think I just answered my own question, posting anyway.)
run-junit-compiled: [junit] Testsuite: org.jruby.test.MainTestSuite [junit] Tests run: 232, Failures: 0, Errors: 0, Time elapsed: 20.781 sec [junit] Testsuite: org.jruby.test.ScriptTestSuite [junit] Tests run: 108, Failures: 0, Errors: 0, Time elapsed: 71.562 sec [junit] Testsuite: org.jruby.test.TestUnitTestSuite [junit] Tests run: 102, Failures: 0, Errors: 0, Time elapsed: 77.25 sec [junit] Testsuite: org.jvyamlb.YAMLLoadTest [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 0.672 sec [junit] Testsuite: org.jvyamlb.YAMLDumpTest [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0.547 sec [junitreport] Transform time: 2625ms run-junit-interpreted: [junit] Testsuite: org.jruby.test.MainTestSuite [junit] Tests run: 232, Failures: 0, Errors: 0, Time elapsed: 18.86 sec [junit] Testsuite: org.jruby.test.ScriptTestSuite [junit] Tests run: 108, Failures: 0, Errors: 0, Time elapsed: 59.813 sec [junit] Testsuite: org.jruby.test.TestUnitTestSuite [junit] Tests run: 102, Failures: 0, Errors: 0, Time elapsed: 53.282 sec [junit] Testsuite: org.jvyamlb.YAMLLoadTest [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 0.641 sec [junit] Testsuite: org.jvyamlb.YAMLDumpTest [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0.547 sec On 5/5/07, Charles Oliver Nutter <[EMAIL PROTECTED]> wrote:
I modified the "test" target to run "test-interpreted" and "test-compiled", since we really need to test both modes now. Of course this makes the test run twice as long. If you want to avoid this, running just test-compiled is probably your best bet. Any ideas on speeding this up or making it lower-impact are welcome. - Charlie --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email