# How to effectively develop in Julia?

**URL:** https://discourse.julialang.org/t/how-to-effectively-develop-in-julia/61627
**Category:** New to Julia
**Created:** [May 22, 2021, 9:03am UTC](https://discourse.julialang.org/t/how-to-effectively-develop-in-julia/61627 "2021-05-22T09:03:03Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![amit1](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/amit1/32/25318_2.png) [@amit1](https://discourse.julialang.org/u/amit1)
#### Post date: [May 22, 2021, 10:15am UTC](https://discourse.julialang.org/t/how-to-effectively-develop-in-julia/61627/6 "2021-05-22T10:15:32Z")

</div>

I have checked in REPL and Pluto notebooks (after each cell the notebook show the execution time). And for me almost every thing timed same. That is why I assumed it to be normal.  
(I was using it for trying the codes of the book Statistical Rethinking)  
Eg.:

```Julia
using Plots, StatsKit
# takes about 4 sec

using StatisticalRethinking
# 126 seconds!

begin
	pgrid = 0.0:0.01:1.0
	prior = ones(length(pgrid))
	likelihood1 = pdf.(Binomial.(3,pgrid),3).*prior
	likelihood2 = pdf.(Binomial.(4,pgrid),3).*prior
	likelihood3 = pdf.(Binomial.(7,pgrid),5).*prior
	likelihood4 = pdf.(Binomial.(7,pgrid),5).*prior
	likelihood1 = likelihood1./sum(likelihood1)
	likelihood2 = likelihood2./sum(likelihood2)
	likelihood3 = likelihood3./sum(likelihood3)
	likelihood4 = likelihood4./sum(likelihood4)
end
# 15 seconds

begin
	plot(pgrid, likelihood1)
	plot!(pgrid,likelihood2)
	plot!(pgrid,likelihood3)
	plot!(pgrid,likelihood4)
end
# 14 seconds

```

I also asked similar question here first in hopes to get some clue on how to speedup things:

> [@How to use Pluto with DrWatson effectively?](https://discourse.julialang.org/t/how-to-use-pluto-with-drwatson-effectively/61582):
>
> I would like to use Pkg, DrWatson and Pluto notebooks as my main workflow. However I am not able to understand how to effectively use it. Mostly every notebook i open it takes about a min to load libraries. For example during loading a notebook, following codeblock always takes about a min to execute. begin @quickactivate "StatisticalRethinkingTuring" using StatisticalRethinking end I was under impression that libraries are slow for the first time, as they are precompiled, following that eve…

All of the above was running in `Pkg` environment `StatisticalRethinkingTuring.jl` (Link  
[Here](https://github.com/StatisticalRethinkingJulia/StatisticalRethinkingTuring.jl) ). That I initialized as per instructions

```Bash
cd StatisticalRethinkingTuring.jl
julia
julia >]
(@v1.6) pkg> activate .
(@v1.6) pkg> initialize
julia > using Pluto
julia > Pluto.run()

```

Julia version 1.6  
MacOS Mojave, Intel Corei5 2.5 GHz (2012), 8GB ram

```julia

```

---

_[View the full topic](https://discourse.julialang.org/t/how-to-effectively-develop-in-julia/61627)._
