Omer Iqbal <[email protected]> writes:

Hi Omer,

> I tried the same on a ubuntu setup. Same issue as the rest I believe. :(
> time drip -cp ~/.m2/repository/org/clojure/clojure/1.4.0/clojure-1.4.0.jar 
> clojure.main -e "(reduce + (range 100))"
> 4950
>
> real 0m1.065s
> user 0m1.420s
> sys 0m0.068s

Keep in mind that only subsequent invocations will be faster.  On my
system using drip 0.1.9 I get these times:

1. 2.20s user 0.09s system 96% cpu 2.374 total
2. 0.03s user 0.03s system 25% cpu 0.222 total
3. 0.03s user 0.02s system 20% cpu 0.261 total
4. 0.03s user 0.02s system 23% cpu 0.225 total

With drip 0.1.9 and leiningen 2.0.0, now the leiningen integration also
seems to work properly:

--8<---------------cut here---------------start------------->8---
[horn@thinkpad][0][:-)][10181](git)-[master] 
[~/Repos/clj-test] % time lein version
Leiningen 2.0.0 on Java 1.7.0_09 OpenJDK 64-Bit Server VM
lein version  3.31s user 0.17s system 95% cpu 3.631 total
[horn@thinkpad][0][:-)][10182](git)-[master] 
[~/Repos/clj-test] % time lein version
Leiningen 2.0.0 on Java 1.7.0_09 OpenJDK 64-Bit Server VM
lein version  0.05s user 0.06s system 8% cpu 1.298 total
[horn@thinkpad][0][:-)][10182](git)-[master] 
[~/Repos/clj-test] % time lein version
Leiningen 2.0.0 on Java 1.7.0_09 OpenJDK 64-Bit Server VM
lein version  0.04s user 0.03s system 5% cpu 1.370 total
[horn@thinkpad][0][:-)][10182](git)-[master] 
[~/Repos/clj-test] % time lein version
Leiningen 2.0.0 on Java 1.7.0_09 OpenJDK 64-Bit Server VM
lein version  0.04s user 0.02s system 4% cpu 1.281 total
--8<---------------cut here---------------end--------------->8---

And "drip ps" only shows 1 jvm process.  Before, I had one process per
lein invocation.

Great!

Bye,
Tassilo

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Reply via email to