Skip to content

feat: offload CPU-bound HTML parsing and BeautifulSoup to thread pool - #14

Open
Abivankenobi wants to merge 1 commit into
mainfrom
scraper-offloading
Open

feat: offload CPU-bound HTML parsing and BeautifulSoup to thread pool#14
Abivankenobi wants to merge 1 commit into
mainfrom
scraper-offloading

Conversation

@Abivankenobi

Copy link
Copy Markdown
Collaborator
  • Integrated dedicated thread pool executors for base scraper, multi-engine scraper, and citation normalization
  • Converted CPU-intensive BeautifulSoup metadata and image/link extraction to execute asynchronously on thread workers
  • Added non-blocking event loop verification tests utilizing concurrent asyncio tick latency measurements

- Integrated dedicated thread pool executors for base scraper, multi-engine scraper, and citation normalization
- Converted CPU-intensive BeautifulSoup metadata and image/link extraction to execute asynchronously on thread workers
- Added non-blocking event loop verification tests utilizing concurrent asyncio tick latency measurements
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.

1 participant