On Friday, April 8, 2016 at 5:50:33 AM UTC+9:30, Sean Corfield wrote:
>
> On 4/6/16, 1:21 PM, "Piyush Katariya" <clo...@googlegroups.com 
> <javascript:> on behalf of corporat...@gmail.com <javascript:>> wrote: 
> > Has anybody experienced the performance boost by switching to Clojure 
> version 1.8 (and direct linking) ? 
>
> We switched to direct linking in stages. We first moved from 1.7 to 1.8 
> (which brought a direct-linked core). Then we enabled direct-linking for 
> our entire code base. 
>
> I don’t recall seeing any noticeable improvement with that first stage (it 
> may have been a very minor improvement, I no longer recall – we had 
> prerelease builds of 1.8 in production for months). 
>

This pretty much exactly matches our experience. I've also run some 
CPU-intensive benchmarks with direct linking on and off and seen almost no 
difference.

We also quickly found it far better to run dev with it off, because 
otherwise you usually need to reload the world to reliably redefine a 
single function.

Sidenote: if only I had the time, I would *so* love to jump in and try 
implementing this with JDK 8 switchpoints/method handles/etc [1]. With that 
approach we could have our cake and eat it too!

Cheers,

Matthew.

[1] I'm well aware of the previous discussions on this, and the reasons why 
it hasn't been done as yet.

-- 
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.

Reply via email to