[julia-users] Re: Simple bench : what I am measuring ??

2015-11-06 Thread Lionel du Peloux
Thank you for answering. I've tried to wrap my bench in

Re: [julia-users] Re: Simple bench : what I am measuring ??

2015-11-06 Thread Lionel du Peloux
Yichao, thank you for this meaningful answer. I understand points 1-4 to improve my coding. - I’ve redrawn a unique graph with your 2 benchmarking methods. - I’ve added a broadcast! version of sqrt. And two version from the MKL/VML library (with VML.jl) - I’ve finally added my first custom

[julia-users] Re: Simple bench : what I am measuring ??

2015-11-06 Thread Keith Campbell
"If you are posting a message on performance issues, please make sure that you do not have variables in global scope in your program. Wrap all your code in a function before timing it. Also, do see the section on Performance Tips

[julia-users] Re: Simple bench : what I am measuring ??

2015-11-06 Thread Lionel du Peloux
Thank you for answering. I've tried to wrap my bench in a function to avoid global scope. However I get the same results. Would you mind producing a short piece of code to explain how to bench that correctly ? Thanks again, Lionel

[julia-users] Re: Simple bench : what I am measuring ??

2015-11-06 Thread Lionel du Peloux
Yes, I should have done that before I posted ... I apologize ... However, as said in my previous answer, wrapping my bench in a function doesn't change the results. So I still don't know if I'm doing something wrong (and what ...) : julia> using DataFrames julia> using Gadfly julia>

Re: [julia-users] Re: Simple bench : what I am measuring ??

2015-11-06 Thread Yichao Yu
On Fri, Nov 6, 2015 at 12:32 PM, Lionel du Peloux wrote: > > Yichao, thank you for this meaningful answer. > > I understand points 1-4 to improve my coding. > > - I’ve redrawn a unique graph with your 2 benchmarking methods. > - I’ve added a broadcast! version of

Re: [julia-users] Re: Simple bench : what I am measuring ??

2015-11-06 Thread Yichao Yu
On Fri, Nov 6, 2015 at 12:47 PM, Yichao Yu wrote: > > > On Fri, Nov 6, 2015 at 12:32 PM, Lionel du Peloux < > lionel.dupel...@gmail.com> wrote: > >> >> Yichao, thank you for this meaningful answer. >> >> I understand points 1-4 to improve my coding. >> >> - I’ve redrawn a

[julia-users] Re: Simple bench : what I am measuring ??

2015-11-06 Thread Lionel du Peloux
Here are the results