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

Fix: Scrapy spider 3x slower after implementing this #11

Merged
merged 1 commit into from
May 18, 2024

Conversation

jxlil
Copy link
Owner

@jxlil jxlil commented May 18, 2024

scrapy-impersonate is now faster. The following tests were performed with a CONCURRENT_REQUESTS of 32 and 84 random websites:

Before:

scrapy crawl impersonate  3.57s user 0.64s system 29% cpu 14.467 total

After:

scrapy crawl impersonate  2.32s user 0.48s system 52% cpu 5.323 total

Closes #10

@jxlil jxlil merged commit df24c88 into master May 18, 2024
@jxlil jxlil deleted the fix/slow-spider branch May 18, 2024 02:59
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.

Scrapy spider 3x slower after implementing this
1 participant