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

Proposal: Benchmarks for phase space points #55

Draft
wants to merge 10 commits into
base: dev
Choose a base branch
from

Conversation

szabo137
Copy link
Member

@szabo137 szabo137 commented May 8, 2024

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)

Copy link
Member

@AntonReinhard AntonReinhard left a 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!

benchmark/plot_bench.jl Outdated Show resolved Hide resolved
Comment on lines +28 to +29
QEDprocesses.incoming_particles(proc::TestProcess) = proc.incoming_particles
QEDprocesses.outgoing_particles(proc::TestProcess) = proc.outgoing_particles
Copy link
Member

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.

Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants