Comments (2)
[For my version I'm deving, I have @time
a two places for debug.]
Very strange, I've never before seen precompiling faster than the (then) precompiled code, by even almost 3 sec.:
julia> @time @time using Queryverse
[ Info: Precompiling Queryverse [612083be-0b0f-5412-89c1-4e7c75506a58]
6.007613 seconds (11.89 M allocations: 712.061 MiB, 5.70% gc time)
0.125396 seconds (203.22 k allocations: 14.252 MiB)
8.077601 seconds (819.60 k allocations: 49.927 MiB, 0.38% gc time)
8.098104 seconds (819.89 k allocations: 49.944 MiB, 0.38% gc time)
julia>
pharaldsson_sym@SYMLINUX011:~/nowcasting/eagdpsmall_jl$ julia -q
julia> @time @time using Queryverse
10.788762 seconds (15.31 M allocations: 924.085 MiB, 3.68% gc time)
10.820495 seconds (15.34 M allocations: 926.251 MiB, 3.67% gc time)
julia> @time @time using Queryverse
0.045575 seconds (31.53 k allocations: 1.784 MiB)
0.045721 seconds (31.57 k allocations: 1.786 MiB)
julia>
pharaldsson_sym@SYMLINUX011:~/nowcasting/eagdpsmall_jl$ julia -q
julia> @time @time using Queryverse
10.610409 seconds (15.31 M allocations: 924.081 MiB, 3.66% gc time)
10.641014 seconds (15.34 M allocations: 926.247 MiB, 3.65% gc time)
Probably because I did first in the same session:
$ julia -q
julia> using Reexport; @time @reexport using CSVFiles, ExcelFiles, StatFiles, ParquetFiles, DataFrames, VegaLite
10.263021 seconds (14.32 M allocations: 857.337 MiB, 3.59% gc time)
shell> vi ~/.julia/dev/Queryverse/src/Queryverse.jl
where I believe I edited the file, and thought would invalidae the precompile, why it happened, apparently, not all of it.
from queryverse.jl.
More strangeness, adding one more package (DataValues), makes using
faster (and have fewer allocations):
$ julia -q -O0
julia> @time using DataValues, CSVFiles, ExcelFiles, StatFiles, ParquetFiles, DataFrames, VegaLite
6.862661 seconds (14.07 M allocations: 842.613 MiB, 4.93% gc time)
$ julia -q -O0
julia> @time using DataValues, CSVFiles, ExcelFiles, StatFiles, ParquetFiles, DataFrames, VegaLite
6.817513 seconds (14.07 M allocations: 842.667 MiB, 4.95% gc time)
$ julia -q -O0
julia> @time using CSVFiles, ExcelFiles, StatFiles, ParquetFiles, DataFrames, VegaLite
7.072484 seconds (14.33 M allocations: 857.858 MiB, 4.91% gc time)
Also when using reexport:
$ julia -q -O0
julia> using Reexport; @time @reexport using CSVFiles, ExcelFiles, StatFiles, ParquetFiles, DataFrames, VegaLite
7.116889 seconds (14.32 M allocations: 857.302 MiB, 5.15% gc time)
$ julia -q -O0
julia> using Reexport; @time @reexport using CSVFiles, ExcelFiles, StatFiles, ParquetFiles, DataFrames, VegaLite
7.138370 seconds (14.32 M allocations: 857.345 MiB, 5.41% gc time)
$ julia -q -O0
julia> using Reexport; @time @reexport using CSVFiles, ExcelFiles, StatFiles, ParquetFiles, DataFrames, VegaLite
7.294075 seconds (14.32 M allocations: 857.356 MiB, 5.42% gc time)
$ julia -q -O0
julia> using Reexport; @time @reexport using DataValues, CSVFiles, ExcelFiles, StatFiles, ParquetFiles, DataFrames, VegaLite
6.826384 seconds (14.07 M allocations: 842.087 MiB, 5.39% gc time)
$ julia -q -O0
julia> using Reexport; @time @reexport using DataValues, CSVFiles, ExcelFiles, StatFiles, ParquetFiles, DataFrames, VegaLite
6.999893 seconds (14.07 M allocations: 842.102 MiB, 5.28% gc time)
$ julia -q -O0
julia> using Reexport; @time @reexport using CSVFiles, ExcelFiles, StatFiles, ParquetFiles, DataFrames, VegaLite
7.203445 seconds (14.32 M allocations: 857.352 MiB, 5.34% gc time)
$ julia -q -O0
julia> using Reexport; @time @reexport using CSVFiles, ExcelFiles, StatFiles, ParquetFiles, DataFrames, VegaLite
7.086503 seconds (14.32 M allocations: 857.347 MiB, 5.46% gc time)
from queryverse.jl.
Related Issues (20)
- Other plotting packages HOT 3
- Queryverse fails to compile on Julia 1.0.0 HOT 4
- loading small data takes a long time. HOT 1
- JuliaPro Failed to Precompile HOT 6
- Problem pre compiling on mac Mojave due to Cairo (I think) HOT 2
- Should the readme link to the website rather than to the unfinished book? HOT 1
- @groupby and @map(_.key) issue HOT 1
- Atom with Julia 1.2: Pkg.add("Queryverse") not working HOT 2
- Error after "using Queryverse" HOT 1
- Queryverse isn't currently usable. HOT 3
- Query v1.0 not being compatible with Queryverse v0.6.1 on Project.toml HOT 1
- Does not load on Julia 1.5.1
- Queryverse is using an old version of Parquet.jl
- Cannot `add Queryverse` on new environment HOT 1
- Question: How to @group_by multiple columns? HOT 1
- TagBot trigger issue HOT 1
- Could not write `.dta` file HOT 2
- load might support a cache mechanism HOT 5
- loading package crashes whole Julia instance HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from queryverse.jl.