Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate from SnoopPrecompile to PrecompileTools #273

Merged
merged 1 commit into from
Apr 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ version = "3.1.3"
[deps]
BioSymbols = "3c28c6f8-a34d-59c4-9654-267d177fcfa9"
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
SnoopPrecompile = "66db9d55-30c0-4569-8b51-7e840670fc0c"
PrecompileTools = "aea7be01-6a6a-4083-8856-8a6e6704d82a"
Twiddle = "7200193e-83a8-5a55-b20d-5d36d44a0795"

[compat]
BioSymbols = "5.1.2"
SnoopPrecompile = "1"
PrecompileTools = "1"
StableRNGs = "0.1, 1.0"
Twiddle = "1.1.1"
julia = "1.5"
Expand Down
4 changes: 2 additions & 2 deletions src/workload.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using BioSequences
using SnoopPrecompile
using PrecompileTools

# BioSequences define a whole bunch of types and methods, most of which is never used in any workload.
# This workload here uses what I consider to be the most common operations,
Expand All @@ -8,7 +8,7 @@ using SnoopPrecompile
# not wasting time loading code the user will never use.
# The code not cached here will have to be precompiled in downstream packages

@precompile_all_calls begin
@compile_workload begin
seqs = [
aa"TAGCW"
dna"ATCGA"
Expand Down