diff --git a/Project.toml b/Project.toml index 58f1337e..94b8adf9 100644 --- a/Project.toml +++ b/Project.toml @@ -58,7 +58,7 @@ Roots = "f2b01f46-fcfa-551c-844a-d8ac1e96c665" Rotations = "6038ab10-8711-5258-84ad-4b1120ba62dc" Serialization = "9e88b42a-f829-5b0c-bbe9-9e923198166b" Setfield = "efcf1570-3423-57d1-acb7-fd33fddbac46" -SnoopPrecompile = "66db9d55-30c0-4569-8b51-7e840670fc0c" +PrecompileTools = "aea7be01-6a6a-4083-8856-8a6e6704d82a" SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf" StaticArrays = "90137ffa-7385-5640-81b9-e52037218182" Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2" @@ -126,7 +126,7 @@ Requires = "0.5, 1" Roots = "0.8.4, 1, 2" Rotations = "1.3.4" Setfield = "0.6, 0.7, 0.8, 1" -SnoopPrecompile = "1" +PrecompileTools = "1" StaticArrays = "0.12.1, 1.0" StatsBase = "0.32, 0.33" TimerOutputs = "0.5" diff --git a/src/CMBLensing.jl b/src/CMBLensing.jl index 37e070ca..ca04cff9 100644 --- a/src/CMBLensing.jl +++ b/src/CMBLensing.jl @@ -55,7 +55,7 @@ using Roots using Requires using Serialization using Setfield -using SnoopPrecompile +using PrecompileTools using SparseArrays import StaticArrays using StaticArrays: @SMatrix, @SVector, SMatrix, StaticMatrix, StaticVector, StaticArray, @@ -186,7 +186,7 @@ function CMBLensingMuseProblem end ProgressMeter.ijulia_behavior(:clear) end -@precompile_all_calls include("precompile.jl") +@compile_workload include("precompile.jl") end