Run your code once before you profile it---otherwise you're profiling the JIT 
compiler as well as the runtime.

Best,
--Tim

On Sunday, January 03, 2016 11:50:48 AM Stuart Brorson wrote:
> Duh!
> 
> > *  If I need to nail down my variable types better (to eliminate type
> > 
> >   instability and get better performance), what is the recommended
> >   way to identify variables or locations in the code where types
> >   should be better defined?  A pointer to blog posts or documentation
> >   is a fine way to answer this question.  But I'm wondering if there
> >   are "lint"-type tools which identify uncertain types in Julia code?
> 
> OK, I just re-read the documentation and found  @code_warntype.  I will
> play with that.  Sorry for the noise.
> 
> Stuart

Reply via email to