Re: [julia-users] Why is Gadfly so slow when plotting it's first plot?

2015-03-29 Thread Steven Sagaert
Thanks for the info. I suspected it might have something to do with JIT 
compilation.

On Saturday, March 28, 2015 at 2:16:54 PM UTC+1, Isaiah wrote:

 This delay is due to parsing and JIT'ing a bunch of code in both Gadfly 
 and dependencies.

 There is a work-in-progress caching process you could try. See:
 https://github.com/dcjones/Gadfly.jl/issues/251#issuecomment-38626716

 and:
 http://docs.julialang.org/en/latest/devdocs/sysimg/

 The PR to make that simpler and module-specific is here:
 https://github.com/JuliaLang/julia/pull/8745

 On Sat, Mar 28, 2015 at 9:00 AM, Steven Sagaert steven@gmail.com 
 javascript: wrote:

 Hi,
 I use Gadfly to create simple barplots   save them as SVG. Since this is 
 for usage in a web page, I've only installed Gadfly, not extra backends. 
 Now when doing the first plot it is incredibly slow but much better on 
 subsequent plots. Why is that? Is there anything that can be done to speed 
 things up?




Re: [julia-users] Why is Gadfly so slow when plotting it's first plot?

2015-03-28 Thread Isaiah Norton
This delay is due to parsing and JIT'ing a bunch of code in both Gadfly and
dependencies.

There is a work-in-progress caching process you could try. See:
https://github.com/dcjones/Gadfly.jl/issues/251#issuecomment-38626716

and:
http://docs.julialang.org/en/latest/devdocs/sysimg/

The PR to make that simpler and module-specific is here:
https://github.com/JuliaLang/julia/pull/8745

On Sat, Mar 28, 2015 at 9:00 AM, Steven Sagaert steven.saga...@gmail.com
wrote:

 Hi,
 I use Gadfly to create simple barplots   save them as SVG. Since this is
 for usage in a web page, I've only installed Gadfly, not extra backends.
 Now when doing the first plot it is incredibly slow but much better on
 subsequent plots. Why is that? Is there anything that can be done to speed
 things up?