I did some simple benchmark on for loop

a=0
for i=1:1000000000
 a+=1
end

The C equivalent runs way faster... does that mean julia is slow on loops ?

On Sunday, March 30, 2014 10:06:20 PM UTC+8, Isaiah wrote:
>
> https://github.com/JuliaLang/julia/tree/master/test/perf
>
> >  I also wonder why no tests were done with Java..
>
> There is an open PR for Java, which you could check out and try:
>
> https://github.com/JuliaLang/julia/pull/5260
>
>
>
> On Sun, Mar 30, 2014 at 9:55 AM, Freddy Chua <fred...@gmail.com<javascript:>
> > wrote:
>
>> Hi, 
>>
>> I wonder where can I download the source code of these benchmarks, I want 
>> to try it on my own... I also wonder why no tests were done with Java..
>>
>>
>> Fortran JuliaPythonR MatlabOctaveMathe-matica JavaScriptGo gcc 4.8.10.2
>> 2.7.3 3.0.2R2012a 3.6.48.0V8 3.7.12.22 go1 fib0.260.9130.37 411.361992.00
>> 3211.81 64.462.181.03parse_int 5.031.6013.9559.40 1463.167109.8529.542.434.79
>> quicksort1.111.14 31.98524.29101.841132.04 35.743.511.25mandel 0.860.85
>> 14.19106.97 64.58316.956.073.49 2.36pi_sum0.801.00 16.3315.421.29237.411.32
>> 0.841.41rand_mat_stat 0.641.6613.5210.84 6.6114.984.523.28 8.12
>> rand_mat_mul0.961.01 3.413.981.103.41 1.1614.608.51
>>
>>
>

Reply via email to