# Is it normal for \`include\` to take a long time? I have a file, say \`model.jl\` that

**URL:** <https://discourse.julialang.org/t/is-it-normal-for-include-to-take-a-long-time-i-have-a-file-say-model-jl-that/54513>\
**Category:** General Usage\
**Created:** [February 3, 2021, 4:49am UTC](https://discourse.julialang.org/t/is-it-normal-for-include-to-take-a-long-time-i-have-a-file-say-model-jl-that/54513 "2021-02-03T04:49:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![BridgeBot](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bridgebot/32/21491_2.png) [@BridgeBot](https://discourse.julialang.org/u/BridgeBot)\
**Post date:** [February 3, 2021, 4:49am UTC](https://discourse.julialang.org/t/is-it-normal-for-include-to-take-a-long-time-i-have-a-file-say-model-jl-that/54513/1 "2021-02-03T04:49:50Z")

</div>

Is it normal for `include` to take a long time? I have a file, say `model.jl` that includes only functions and the following header:

```julia
using DifferentialEquations
using Parameters
using Gnuplot
using CSV
using DataFrames
using LinearAlgebra
using ForwardDiff
using ProgressMeter
using DelimitedFiles

```

but `include("model.jl")` in a fresh julia takes about 48 - 60 seconds? Why does it take so long to simply bring functions into scope? I have no globals.

```julia
julia&gt; @time include("model.jl")
 48.162177 seconds (89.10 M allocations: 4.882 GiB, 4.22% gc time)
ngm2 (generic function with 1 method)

```

where are all the allocations coming from?

Note that the original poster on Slack cannot see your response here on Discourse. Consider _transcribing the appropriate answer back to Slack_, or pinging the poster here on Discourse so they can _follow this thread_.  
[(Original message :slack:)](https://julialang.slack.com/archives/C6A044SQH/p1612327674467700?thread_ts=1612327674.467700&cid=C6A044SQH) [(More Info)](https://github.com/JuliaCommunity/SlackBridge)

---

<div class="post-metadata">

**Author:** ![jling](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jling/32/212909_2.png) [@jling](https://discourse.julialang.org/u/jling)\
**Post date:** [February 3, 2021, 5:12am UTC](https://discourse.julialang.org/t/is-it-normal-for-include-to-take-a-long-time-i-have-a-file-say-model-jl-that/54513/2 "2021-02-03T05:12:12Z")

</div>

```julia
@time begin
using DifferentialEquations
using Parameters
using Gnuplot
using CSV
using DataFrames
using LinearAlgebra
using ForwardDiff
using ProgressMeter
using DelimitedFiles
end

```

how long does this take in a fresh REPL?
