Skip to content

Commit 9eb6f63

Browse files
authored
Migrate from SnoopPrecompile to PrecompileTools (#487)
1 parent 39ce8b9 commit 9eb6f63

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ OffsetArrays = "6fe1bfb0-de20-5000-8ca7-80f57d26f881"
2828
PolyesterWeave = "1d0040c9-8b98-4ee7-8388-3f51789ca0ad"
2929
SIMDTypes = "94e857df-77ce-4151-89e5-788b33177be4"
3030
SLEEFPirates = "476501e8-09a2-5ece-8869-fb82de89a1fa"
31-
SnoopPrecompile = "66db9d55-30c0-4569-8b51-7e840670fc0c"
31+
PrecompileTools = "aea7be01-6a6a-4083-8856-8a6e6704d82a"
3232
SpecialFunctions = "276daf66-3868-5448-9aa4-cd146d93841b"
3333
Static = "aedffcd0-7271-4cad-89d0-dc628f76c6d3"
3434
StaticArrayInterface = "0d7ed370-da01-4f52-bd93-41d350b8b718"
@@ -51,7 +51,7 @@ OffsetArrays = "1.4.1"
5151
PolyesterWeave = "0.1.10, 0.2"
5252
SIMDTypes = "0.1"
5353
SLEEFPirates = "0.6.23"
54-
SnoopPrecompile = "1"
54+
PrecompileTools = "1"
5555
SpecialFunctions = "1, 2"
5656
Static = "0.8.4"
5757
StaticArrayInterface = "1"

src/precompile.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11

2-
using SnoopPrecompile
2+
using PrecompileTools
33

4-
@precompile_setup begin
4+
@setup_workload begin
55
x = rand(10)
6-
@precompile_all_calls begin
6+
@compile_workload begin
77
_vreduce(+, x)
88
end
99
end

0 commit comments

Comments
 (0)