Skip to content

Commit 5d3e7e9

Browse files
gzagattiChrisRackauckas
authored andcommitted
adds QueueMethod to benchmark.
1 parent 33bf509 commit 5d3e7e9

File tree

6 files changed

+38
-13
lines changed

6 files changed

+38
-13
lines changed

benchmarks/Jumps/Diffusion_CTRW.jmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ N = 256
2121
h = 1 / N
2222
u0 = 10 * ones(Int64, N)
2323
tf = .01
24-
methods = (Direct(), SortingDirect(), NRM(), DirectCR(), RSSA(), RSSACR())
24+
methods = (Direct(), SortingDirect(), NRM(), DirectCR(), RSSA(), RSSACR(), QueueMethod())
2525
shortlabels = [string(leg)[15:end-2] for leg in methods]
2626
jprob = JumpProblemLibrary.prob_jump_diffnetwork
2727
rn = jprob.network(N)

benchmarks/Jumps/Manifest.toml

Lines changed: 33 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# This file is machine-generated - editing it directly is not advised
22

3-
julia_version = "1.8.1"
3+
julia_version = "1.8.0"
44
manifest_format = "2.0"
5-
project_hash = "013abde731b3d76e3dccfe35d36c5e64c73bb4e2"
5+
project_hash = "5455d431245955657e71819ee934b7a0d433989e"
66

77
[[deps.AbstractAlgebra]]
88
deps = ["GroupsCore", "InteractiveUtils", "LinearAlgebra", "MacroTools", "Markdown", "Random", "RandomExtensions", "SparseArrays", "Test"]
@@ -170,6 +170,12 @@ git-tree-sha1 = "5522c338564580adf5d58d91e43a55db0fa5fb39"
170170
uuid = "fb6a15b2-703c-40df-9091-08a04967cfa9"
171171
version = "0.1.10"
172172

173+
[[deps.CodeTracking]]
174+
deps = ["InteractiveUtils", "UUIDs"]
175+
git-tree-sha1 = "cc4bd91eba9cdbbb4df4746124c22c0832a460d6"
176+
uuid = "da1fd8a2-8d9e-5ec2-8556-3022fb5608a2"
177+
version = "1.1.1"
178+
173179
[[deps.CodecZlib]]
174180
deps = ["TranscodingStreams", "Zlib_jll"]
175181
git-tree-sha1 = "ded953804d019afa9a3f98981d99b33e3db7b6da"
@@ -405,10 +411,10 @@ uuid = "c87230d0-a227-11e9-1b43-d7ebe4e7570a"
405411
version = "0.4.1"
406412

407413
[[deps.FFMPEG_jll]]
408-
deps = ["Artifacts", "Bzip2_jll", "FreeType2_jll", "FriBidi_jll", "JLLWrappers", "LAME_jll", "Libdl", "Ogg_jll", "OpenSSL_jll", "Opus_jll", "Pkg", "Zlib_jll", "libaom_jll", "libass_jll", "libfdk_aac_jll", "libvorbis_jll", "x264_jll", "x265_jll"]
409-
git-tree-sha1 = "ccd479984c7838684b3ac204b716c89955c76623"
414+
deps = ["Artifacts", "Bzip2_jll", "FreeType2_jll", "FriBidi_jll", "JLLWrappers", "LAME_jll", "Libdl", "Ogg_jll", "OpenSSL_jll", "Opus_jll", "PCRE2_jll", "Pkg", "Zlib_jll", "libaom_jll", "libass_jll", "libfdk_aac_jll", "libvorbis_jll", "x264_jll", "x265_jll"]
415+
git-tree-sha1 = "74faea50c1d007c85837327f6775bea60b5492dd"
410416
uuid = "b22a6f82-2f65-5046-a5b2-351ab43fb4e5"
411-
version = "4.4.2+0"
417+
version = "4.4.2+2"
412418

413419
[[deps.FastBroadcast]]
414420
deps = ["ArrayInterface", "ArrayInterfaceCore", "LinearAlgebra", "Polyester", "Static", "StrideArraysCore"]
@@ -704,6 +710,12 @@ git-tree-sha1 = "1ec2cb3b87d0c38e3b01c76d9b11639f1eaeec96"
704710
uuid = "98e50ef6-434e-11e9-1051-2b60c6c9e899"
705711
version = "1.0.10"
706712

713+
[[deps.JuliaInterpreter]]
714+
deps = ["CodeTracking", "InteractiveUtils", "Random", "UUIDs"]
715+
git-tree-sha1 = "a79c4cf60cc7ddcdcc70acbb7216a5f9b4f8d188"
716+
uuid = "aa1ae85d-cabe-5617-a682-6adf51b2e16a"
717+
version = "0.9.16"
718+
707719
[[deps.JumpProblemLibrary]]
708720
deps = ["Catalyst", "DiffEqBase", "RuntimeGeneratedFunctions"]
709721
git-tree-sha1 = "7fe2667d577812b285f0a8f30a1f16d779f9d0c6"
@@ -712,9 +724,9 @@ version = "0.1.3"
712724

713725
[[deps.JumpProcesses]]
714726
deps = ["ArrayInterfaceCore", "DataStructures", "DiffEqBase", "DocStringExtensions", "FunctionWrappers", "Graphs", "LinearAlgebra", "Markdown", "PoissonRandom", "Random", "RandomNumbers", "RecursiveArrayTools", "Reexport", "SciMLBase", "StaticArrays", "TreeViews", "UnPack"]
715-
git-tree-sha1 = "5a6e6c522e8a7b39b24be8eebcc13cc7885c6f2c"
727+
path = "/home/gzagatti/.julia/dev/JumpProcesses"
716728
uuid = "ccbc3e58-028d-4f4c-8cd5-9ae44345cda5"
717-
version = "9.2.0"
729+
version = "9.2.3"
718730

719731
[[deps.KLU]]
720732
deps = ["LinearAlgebra", "SparseArrays", "SuiteSparse_jll"]
@@ -882,6 +894,12 @@ git-tree-sha1 = "7b97cfe6e51e4fde195b7654425aa84e527d9657"
882894
uuid = "bdcacae8-1622-11e9-2a5c-532679323890"
883895
version = "0.12.128"
884896

897+
[[deps.LoweredCodeUtils]]
898+
deps = ["JuliaInterpreter"]
899+
git-tree-sha1 = "dedbebe234e06e1ddad435f5c6f4b85cd8ce55f7"
900+
uuid = "6f1432cf-f94c-5a45-995e-cdbf5db27b0b"
901+
version = "2.2.2"
902+
885903
[[deps.MacroTools]]
886904
deps = ["Markdown", "Random"]
887905
git-tree-sha1 = "3d3e902b31198a27340d0bf00d6ac452866021cf"
@@ -1173,9 +1191,9 @@ uuid = "9abbd945-dff8-562f-b5e8-e1ebf5ef1b79"
11731191

11741192
[[deps.Qt5Base_jll]]
11751193
deps = ["Artifacts", "CompilerSupportLibraries_jll", "Fontconfig_jll", "Glib_jll", "JLLWrappers", "Libdl", "Libglvnd_jll", "OpenSSL_jll", "Pkg", "Xorg_libXext_jll", "Xorg_libxcb_jll", "Xorg_xcb_util_image_jll", "Xorg_xcb_util_keysyms_jll", "Xorg_xcb_util_renderutil_jll", "Xorg_xcb_util_wm_jll", "Zlib_jll", "xkbcommon_jll"]
1176-
git-tree-sha1 = "c6c0f690d0cc7caddb74cef7aa847b824a16b256"
1194+
git-tree-sha1 = "0c03844e2231e12fda4d0086fd7cbe4098ee8dc5"
11771195
uuid = "ea2cea3b-5b76-57ae-a6ef-0a8af62496e1"
1178-
version = "5.15.3+1"
1196+
version = "5.15.3+2"
11791197

11801198
[[deps.QuadGK]]
11811199
deps = ["DataStructures", "LinearAlgebra"]
@@ -1249,6 +1267,12 @@ git-tree-sha1 = "838a3a4188e2ded87a4f9f184b4b0d78a1e91cb7"
12491267
uuid = "ae029012-a4dd-5104-9daa-d747884805df"
12501268
version = "1.3.0"
12511269

1270+
[[deps.Revise]]
1271+
deps = ["CodeTracking", "Distributed", "FileWatching", "JuliaInterpreter", "LibGit2", "LoweredCodeUtils", "OrderedCollections", "Pkg", "REPL", "Requires", "UUIDs", "Unicode"]
1272+
git-tree-sha1 = "dad726963ecea2d8a81e26286f625aee09a91b7c"
1273+
uuid = "295af30f-e4ad-537b-8983-00126c2a3abe"
1274+
version = "3.4.0"
1275+
12521276
[[deps.Rmath]]
12531277
deps = ["Random", "Rmath_jll"]
12541278
git-tree-sha1 = "bf3188feca147ce108c76ad82c2792c57abe7b1f"

benchmarks/Jumps/Mendes_multistate_example.jmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ reactions(rn)
2121

2222
# Plot solutions by each method
2323
```julia
24-
methods = (Direct(), FRM(), SortingDirect(), NRM(), DirectCR(), RSSA(), RSSACR())
24+
methods = (Direct(), FRM(), SortingDirect(), NRM(), DirectCR(), RSSA(), RSSACR(), QueueMethod())
2525
shortlabels = [string(leg)[15:end-2] for leg in methods]
2626
tf = 10.0 * jprob.tstop
2727
prob = DiscreteProblem(rn, jprob.u0, (0.0, tf), jprob.rates)

benchmarks/Jumps/NegFeedback_GeneExpr.jmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ reactions(rn)
2020
# Plot solutions by each method
2121

2222
```julia
23-
methods = (Direct(), FRM(), SortingDirect(), NRM(), DirectCR(), RSSA(), RSSACR())
23+
methods = (Direct(), FRM(), SortingDirect(), NRM(), DirectCR(), RSSA(), RSSACR(), QueueMethod())
2424
shortlabels = [string(leg)[15:end-2] for leg in methods]
2525
prob = prob_jump_dnarepressor.discrete_prob
2626
tf = prob_jump_dnarepressor.tstop

benchmarks/Jumps/NegFeedback_GeneExpr_Marchetti.jmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ plot(solution, format=fmt)
3333

3434
```julia
3535
tf = 4000.
36-
methods = (Direct(), FRM(), SortingDirect(), NRM(), DirectCR(), RSSA(), RSSACR())
36+
methods = (Direct(), FRM(), SortingDirect(), NRM(), DirectCR(), RSSA(), RSSACR(), QueueMethod())
3737
shortlabels = [string(leg)[15:end-2] for leg in methods]
3838
prob = prob = DiscreteProblem(rn, u0, (0.0, tf), rnpar)
3939
ploth = plot(reuse=false)

benchmarks/Jumps/Project.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ ModelingToolkit = "961ee093-0014-501f-94e3-6117800e7a78"
88
OrdinaryDiffEq = "1dea7af3-3e70-54e6-95c3-0bf5283fa5ed"
99
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"
1010
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
11+
Revise = "295af30f-e4ad-537b-8983-00126c2a3abe"
1112
SciMLBenchmarks = "31c91b34-3c75-11e9-0341-95557aab0344"
1213
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
1314

0 commit comments

Comments
 (0)