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

Query Profiler #396

Open
maxnowack opened this issue Nov 29, 2023 · 2 comments
Open

Query Profiler #396

maxnowack opened this issue Nov 29, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@maxnowack
Copy link
Owner

The integration of a query profiler in SignalDB is proposed to enhance the database's performance analysis capabilities. This profiler would enable developers to monitor and evaluate the performance of various queries executed within SignalDB. It should provide detailed insights such as execution time, memory usage, and frequency of query calls, enabling developers to identify and optimize performance bottlenecks effectively. The profiler would also support tracking the impact of queries on the overall application performance, helping in fine-tuning the data retrieval and manipulation processes. Additionally, the query profiler should be designed to be minimally invasive, ensuring that its operation does not significantly impact the performance it is meant to measure. This feature is crucial for developers who need to ensure optimal performance and efficiency of their applications, particularly those with complex data handling requirements.

@maxnowack maxnowack added the enhancement New feature or request label Nov 29, 2023
@maxnowack
Copy link
Owner Author

I‘m also thinking of developing a developer tools chrome extension or something and integrating the query profiler in it

@maxnowack
Copy link
Owner Author

The profiling itself is already prepared and also profiles the queries if Collection.enableDebugMode() was called.
These events get called after the profiling:
https://github.com/maxnowack/signaldb/blob/main/packages/signaldb/src/Collection/index.ts#L55-L62

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