-
Notifications
You must be signed in to change notification settings - Fork 3
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
Proposal: Benchmarks for phase space points #55
base: dev
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like the idea!
a9d6c02
to
19ab1e2
Compare
QEDprocesses.incoming_particles(proc::TestProcess) = proc.incoming_particles | ||
QEDprocesses.outgoing_particles(proc::TestProcess) = proc.outgoing_particles |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
According to the interface description, these should return tuples, but currently they return Vectors, which is bad because it's type unstable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The same problem exists in the TestImplementation of the tests themselves. I changed this in #63
This is a proposal to include benchmarks of the phase space point functionality to QEDprocesses.jl. The implementation is not very sophisticated, but it shows to some extent the current performance status and helps keep track of improvements.
Since this does not change the main code and is rather self-contained, this could be added to represent a blueprint for future benchmarks of other parts of QEDprocesses.jl (or even other packages within QED.jl)