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

1st performance pass #14

Closed
timzuntar opened this issue Feb 20, 2022 · 2 comments
Closed

1st performance pass #14

timzuntar opened this issue Feb 20, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@timzuntar
Copy link
Owner

Identify suboptimal resource usage and try to improve it

@timzuntar timzuntar added the enhancement New feature or request label Feb 20, 2022
@timzuntar
Copy link
Owner Author

Vectorizing what can be vectorized ist the first bullet point on the agenda.

@timzuntar
Copy link
Owner Author

It seems like closing the issue by post-commit comment did not work, so here it is.

While optimization is still not stellar and better ways of doing calculations can certainly be found, the runtime of the test example (generating a single image generated by standard microscopy and comparing it with a STED-enabled one) has for the combination of parameters used been reduced from 48 seconds to 65 milliseconds, an improvement by a factor of some 700. Good enough for now.

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

No branches or pull requests

1 participant