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

High CPU usage #173

Open
ocervell opened this issue Nov 20, 2024 · 1 comment
Open

High CPU usage #173

ocervell opened this issue Nov 20, 2024 · 1 comment

Comments

@ocervell
Copy link
Contributor

ocervell commented Nov 20, 2024

cariddi can give crazy CPU usage and decent memory usage when run on a huge list of URLs (~150 in this case).
We should probably profile it and find areas of improvements for performance. Such a library should be I/O heavy but not too CPU or memory heavy normally.

cat urls.txt | cariddi -info -s -err -e -ext 1 -json -c 5

image

@edoardottt
Copy link
Owner

Hi @ocervell ! Thanks for the issue.
I know it's quite resource intensive since the first commits :(
I guess the CPU and memory high load comes from pattern matching.
I'd love to profile it and understand if we can improve it, however I've never used a profiler.

Let me know if you can help in some way, I'd love to improve cariddi.

Thanks again

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

2 participants