By default, the profiler takes one sample per millisecond. In practice, the 
timing is quite precise on Linux, seemingly within a factor of twoish on OSX, 
and nowhere close on Windows. So at least on Linux you can simply read samples 
as milliseconds.

If you want to visualize the relative contributions of each statement, I 
highly recommend ProfileView. If you use LightTable, it's already built-in via 
the profile() command. The combination of ProfileView and @profile is, in my 
(extremely biased) opinion, quite powerful compared to tools I used previously 
in other programming environments.

Finally, there's IProfile.jl, which works via a completely different mechanism 
but does report raw timings (with some pretty big caveats).

Best,
--Tim

On Monday, December 01, 2014 10:13:16 PM Christoph Ortner wrote:
> How do you get timings from the Julia profiler, or even better, %-es? I
> guess one can convert from the numbers one gets, but it is a bit painful?
> 
> Christoph

Reply via email to