In Lumo case there is heavy optimisation of startup time in not loading CLJS from JS sources at all. They use V8 Startup Snapshots. See https://anmonteiro.com/2016/11/the-fastest-clojure-repl-in-the-world/ for more details.
Dne sobota 15. července 2017 0:20:28 UTC+2 Didier napsal(a): > > This link: > https://dev.clojure.org/display/design/Improving+Clojure+Start+Time says > that the Java startup time is ~94 ms, while Clojure boot time is ~640 ms. > That's a ~680% increase. > > On my machine the java start time is: ~1042 ms, and the Clojure start time > is around ~3108 ms. A ~298% increase. > > When I time the startup time of lumo against node, I get ~1190 ms for > node, and ~1523 ms for lumo. A ~128% increase only. > > Does Clojure perform more initialization then ClojureScript? And would > that explain the much higher overhead Clojure has on top of the JVM, versus > ClojureScript? > -- 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/d/optout.