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

Performance profiling #278

Open
Tracked by #274
strawgate opened this issue Apr 22, 2024 · 5 comments
Open
Tracked by #274

Performance profiling #278

strawgate opened this issue Apr 22, 2024 · 5 comments

Comments

@strawgate
Copy link
Collaborator

I'd like to do a one-off performance profiling test (or maybe a pytest) with a high number of entities to test memory/CPU usage and make sure there's nothing we're doing anywhere that is particularly bad.

@strawgate
Copy link
Collaborator Author

It looks like there is a profiling integration so this might be easier than I thought

@strawgate
Copy link
Collaborator Author

strawgate commented Apr 27, 2024

Top hot functions based on 0.7.0
image

Seems like there might be an opportunity to optimize sanitizing attributes and sanitizing datastream names.

The simplest solution is probably to just cache the sanitized names

@strawgate
Copy link
Collaborator Author

strawgate commented Apr 27, 2024

Cache datastream and attribute normalization:
Issue: #293
PR: #294

@strawgate
Copy link
Collaborator Author

strawgate commented Apr 30, 2024

Reduce attribute counts:

Issue: #297

PR: #298

@strawgate
Copy link
Collaborator Author

strawgate commented May 16, 2024

Issue: #310

PR: #311

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

No branches or pull requests

1 participant