I believe this is related to an oddity of the clojure compiler: it
syncs every time it writes a class file to disk. This appears to be
necessary for reasons that escape me. (One might naively assume that a
simple flush() would be enough; but that was not so when I stumbled
across this myself
Thanks for all your answers. Makes me feel even better about the money
I spent for my SSD.
- Raju
--
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
I'm a bit concerned that it's a hard disk problem, but I've checked
the disk, tested other build processes using Ant, and don't see a
similar effect.
-- Raju
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to
I've checked out the Clojure source code, and build the JAR using the
Ant command. I'm seeing a strange effect, where the compile time on my
normal hard disk takes almost 4 min (with most the time being spent in
the compile-clojure task, and doing the same build process on my SSD
taking 30-35s.
Raju Bitter rajubit...@googlemail.com writes:
I've checked out the Clojure source code, and build the JAR using the
Ant command. I'm seeing a strange effect, where the compile time on my
normal hard disk takes almost 4 min (with most the time being spent in
the compile-clojure task, and doing
On Mon, Jul 16, 2012 at 5:21 PM, Raju Bitter rajubit...@googlemail.com wrote:
I've checked out the Clojure source code, and build the JAR using the
Ant command. I'm seeing a strange effect, where the compile time on my
normal hard disk takes almost 4 min (with most the time being spent in
the
On Mon, Jul 16, 2012 at 9:17 PM, Ben Smith-Mannschott
bsmith.o...@gmail.com wrote:
On Mon, Jul 16, 2012 at 5:21 PM, Raju Bitter rajubit...@googlemail.com
wrote:
I've checked out the Clojure source code, and build the JAR using the
Ant command. I'm seeing a strange effect, where the compile
Thanks a lot for your answers. That explains the behavior I'm seeing.
- Raju
--
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
There are links to older discussions on this topic in the description of ticket
CLJ-703:
http://dev.clojure.org/jira/browse/CLJ-703
Also proposed patches to Clojure, although I don't know whether some of those
may lead to incorrect behavior.
Andy
On Jul 16, 2012, at 12:48 PM, Raju Bitter
In my opinion, on-disk consistency isn't and wasn't a goal. And the
spamming of calls to sync does nothing other than make compilation
ridiculously slow on file systems that are slow at sync.
sync should not have any user visible effects. It just seems to me to be a
bit of voodoo code that
Hello,
Le 16 juil. 2012 à 22:52, David Powell d...@djpowell.net a écrit :
In my opinion, on-disk consistency isn't and wasn't a goal. And the
spamming of calls to sync does nothing other than make compilation
ridiculously slow on file systems that are slow at sync.
sync should not have any
I'm happy to now be aware of this issue.
In amongst other (software, hardware) changes, I migrated a reasonably
sized clojure application from 1.2 and 1.3
and compile times ballooned. It took me a while to realise it was a
clojure issue.
On Jul 17, 6:26 am, Andy Fingerhut
Hi,
Le 17 juil. 2012 à 01:05, Craig craig.worr...@gmail.com a écrit :
I'm happy to now be aware of this issue.
In amongst other (software, hardware) changes, I migrated a reasonably
sized clojure application from 1.2 and 1.3
The addition of the call to sync() in the compiler predates 1.2
Hi, Raju,
We often AOT build here and we dropped standard disks a while ago.
It brought us down to a build time around 30 seconds before it was several
minutes.
We have a mix of Clojure and Java code.
Would not get back to a standard drive for all the $ in the world.
Jar packaging also benefits
Le 17 juil. 2012 à 02:04, Softaddicts lprefonta...@softaddicts.ca a écrit :
Hi, Raju,
We often AOT build here and we dropped standard disks a while ago.
It brought us down to a build time around 30 seconds before it was several
minutes.
We have a mix of Clojure and Java code.
Would not
15 matches
Mail list logo