On Fri, Mar 29, 2013 at 5:28 AM, Marko Topolnik <marko.topol...@gmail.com> wrote: > >> I certainly don't see that. I've measured this more than a few times, >> and it's several seconds for a simple "Hello World" Java application >> on any machine that I can touch. Additionally, on an embedded system, >> I'm not going to have the same kind of CPU power. For instance, the >> current processor we use runs at 400MHz instead of your desktop's >> 3GHz. > > > In fairness to Java, your measurements are the exception, not Mikera's. For > example: > > $ java -version > java version "1.7.0_17" > Java(TM) SE Runtime Environment (build 1.7.0_17-b02) > Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode) > $ echo 'public class Test { public static void main(String... args) { > System.out.println("Hello"); } }' > Test.java > $ javac Test.java > $ time java Test > Hello > > real 0m0.137s > user 0m0.097s > sys 0m0.034s
Hmmm... perhaps I was testing something more full-fledged (though not a server application) that could be used as a skeleton for a command-line tool. I'll have to check. I'm not seeing it be that fast on my current machine, but is less that 1 second with Java 6--though this machine is rather powerful. Still, it's not going to be that fast on a 400MHz ARM. :-) -John -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.