Skip to content
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
8 changes: 3 additions & 5 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,25 @@ version = "0.5.0"

[deps]
FourVectors = "b122eb78-8380-428a-b8c8-584a022ae8b6"
HadronicLineshapes = "49c9d978-1f9d-4e96-a984-0a9783c0b9bf"
InstructionalDecayTrees = "1d606af4-d0f8-4ff7-bc8d-eb3f657b7647"
Literate = "98b081ad-f1c9-55d3-8b20-4c87d4299306"
PartialWaveFunctions = "793d2195-304b-438e-bbb1-bc33c872ac39"
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
ThreeBodyDecays = "e6563dab-9ca1-5843-bde3-2ccf38d63843"
Tullio = "bc48ee85-29a4-5162-ae0b-a64e1601d4bc"

[compat]
FourVectors = "0.3.4"
HadronicLineshapes = "0.4.2"
HadronicLineshapes = "0.5"
InstructionalDecayTrees = "0.4.1"
Literate = "2.21.0"
PartialWaveFunctions = "0.2"
StaticArrays = "1"
ThreeBodyDecays = "0.14.0"
Tullio = "0.3"
julia = "1.11"

[extras]
HadronicLineshapes = "49c9d978-1f9d-4e96-a984-0a9783c0b9bf"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["Test"]
test = ["HadronicLineshapes", "Test"]
2 changes: 1 addition & 1 deletion benchmark/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ RamboOnDiet = {url = "https://github.com/mmikhasenko/RamboOnDiet.jl"}
[compat]
BenchmarkTools = "1"
FourVectors = "0.3.4"
HadronicLineshapes = "0.4.2"
HadronicLineshapes = "0.5"
RamboOnDiet = "0.1.1"
ThreeBodyDecays = "0.14.0"
julia = "1.11"
5 changes: 3 additions & 2 deletions benchmark/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,6 @@ Run:
julia --project=benchmark benchmark/heterogeneous_chains.jl
```

The total includes the HadronicLineshapes lineshape calls, which are not
type-stable on their own (`BreitWigner` takes ~1 μs per call).
The total includes the HadronicLineshapes lineshape calls. They are
type-stable and allocation-free since HadronicLineshapes 0.5 (`BreitWigner`
went from ~1 μs to ~130 ns per call).
6 changes: 3 additions & 3 deletions benchmark/heterogeneous_chains.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
# chain cannot be stored in a concretely typed `SVector`, which is what this
# benchmark is meant to guard.
#
# The timing includes the HadronicLineshapes lineshape calls; `BreitWigner`
# there is itself type-unstable (~1 μs per call), so it is a sizeable part of
# the total.
# The timing includes the HadronicLineshapes lineshape calls. Since
# HadronicLineshapes 0.5 they are type-stable and allocation-free, so the whole
# model passes `@inferred`.

using BenchmarkTools
using CascadeDecays
Expand Down
Loading