Hi,
I'm writing map-reduce job with Clojure, yet to find that it seems to be
much slower than a Jave job.
So I write a simple test case, and upload to gist:
https://gist.github.com/jizhang/5466149
At the end of code, there is execution outputs, here are some significant
stats:
Average time t
t this is one of the obvious ones.
>
> On Friday, April 26, 2013 12:05:33 PM UTC+2, Ji Zhang wrote:
>>
>> Hi,
>>
>> I'm writing map-reduce job with Clojure, yet to find that it seems to be
>> much slower than a Jave job.
>>
>> So I write a simple
s compared to the java
> version, once in map (just to call .get), then in reduce.
>
> There are other issues probably, but this is one of the obvious ones.
>
> On Friday, April 26, 2013 12:05:33 PM UTC+2, Ji Zhang wrote:
>>
>> Hi,
>>
>> I'm writing map
2013 6:05:33 PM UTC+8, Ji Zhang wrote:
>
> Hi,
>
> I'm writing map-reduce job with Clojure, yet to find that it seems to be
> much slower than a Jave job.
>
> So I write a simple test case, and upload to gist:
> https://gist.github.com/jizhang/5466149
>
> At the
ng that takes a few minutes at least.
>
> However, you can help startup time in a number of ways, AOT compilation
> can help a bit, as well as judicious use of third-party code and keeping
> class dependencies low.
>
>
> On Fri, Apr 26, 2013 at 12:02 PM, Ji Zhang
> > wr
ay, April 26, 2013 6:05:33 PM UTC+8, Ji Zhang wrote:
>
> Hi,
>
> I'm writing map-reduce job with Clojure, yet to find that it seems to be
> much slower than a Jave job.
>
> So I write a simple test case, and upload to gist:
> https://gist.github.com/jizhang/5466149
&