Skip to content

Every speed claim Netweir makes is a script in bench/ that you can run. The numbers below are copied from the README, where they were measured on an Apple M-series laptop. Your machine will give different numbers; the shape should hold. The parsing and query benchmarks run in CI, and the build fails if any library beats Netweir. The crawl and the browser don't, and on those two Netweir doesn't come first.

Parsing and CSS extraction

Pulls every price, title and link out of a generated shop page.

  1. Netweir3.0 ms
  2. selectolax5.7 ms
  3. BeautifulSoup (lxml)177 ms
  4. lxml + cssselect300 ms
  5. parsel297 ms
Parsing and CSS extraction, 1 MB page. Lower is better. Log scale.
Parsing and CSS extraction, every column
Library1 MB page10 MB page
Netweir3.0 ms31 ms
selectolax5.7 ms64 ms
BeautifulSoup (lxml)177 ms2.0 s
lxml + cssselect300 ms54 s
parsel297 ms54 s

Measured on an Apple M-series laptop with Python 3.14.

selectolax parses with lexbor, a C parser. Netweir parses with its own, written in Rust from the HTML Standard, and runs the whole extraction in Rust too, which is where the other half of the time goes.

Run it yourself, from a checkout of the repository:

bench/parse.py
uv run --group bench python bench/parse.py

XPath and find_all

Parses the same shop page and asks six XPath questions, or six Beautiful Soup ones.

  1. Netweir, XPath7.5 ms
  2. lxml, XPath824 ms
  3. parsel, XPath823 ms
  4. Netweir, find_all7.7 ms
  5. Beautiful Soup, find_all149 ms
XPath and find_all, 1 MB page. Lower is better. Log scale.
XPath and find_all, every column
Library1 MB page3 MB page
Netweir, XPath7.5 ms22 ms
lxml, XPath824 ms8.4 s
parsel, XPath823 ms8.5 s
Netweir, find_all7.7 ms23 ms
Beautiful Soup, find_all149 ms462 ms

Look at lxml across the row: three times the page took ten times as long. Netweir builds a flat index of the document on the first query, so //x is a scan over a few arrays, and its time grows with the page and no faster.

Both this benchmark and the parsing one run in CI, and the build fails if any library beats Netweir.

Run it yourself, from a checkout of the repository:

bench/query.py
uv run --group bench python bench/query.py

A whole crawl

One local server plays 100 sites of 100 pages, each answer 50 ms late, and every crawler fetches all 10,000 pages and pulls a title and price from each, with the same limits (100 requests in flight, 8 per site, no robots.txt, no throttling).

  1. Colly 2.3 (Go)1,833
  2. Netweir1,782
  3. Crawlee for Python 1.111,464
  4. spider-rs 2.53 (Rust)1,246
  5. Scrapy 2.20929
  6. Crawlee for Node.js 3.18210
  7. httpx + selectolax203
  8. Scrapling 0.5182
  9. Crawl4AI 0.976
  10. Firecrawl, self-hosted17
A whole crawl, Pages a second. Higher is better.
A whole crawl, every column
LibraryPages a secondCPU per pagePeak memory
Colly 2.3 (Go)1,8330.45 ms102 MB
Netweir1,7820.21 ms89 MB
Crawlee for Python 1.111,4640.78 ms256 MB
spider-rs 2.53 (Rust)1,2460.26 ms303 MB
Scrapy 2.209291.0 ms115 MB
Crawlee for Node.js 3.182102.0 ms1,004 MB
httpx + selectolax2033.4 ms207 MB
Scrapling 0.51820.8 ms73 MB
Crawl4AI 0.9765.5 ms136 MB
Firecrawl, self-hosted17137 msabout 3.8 GB

With 100 requests in flight and 50 ms per answer, 2,000 pages a second is the most any crawler could do here. Colly and Netweir both come close, and Colly is about 3% faster; Netweir spends under half Colly’s CPU on each page, the least of any crawler here.

Not every tool can be held to every limit. Crawlee has no per-site limit. spider-rs and Crawl4AI keep the total near 100 by crawling a few sites at a time, and Crawl4AI’s per-site limit is its own 20, not 8. Scrapling is held back by its HTTP session’s default of 10 connections, which it doesn’t let you change; that is how it ships.

Firecrawl (v2.11.717, from its own docker-compose.yaml, on its defaults) gets one crawl job per site with 8 pages at a time. It renders each page in its Playwright service, which its compose file limits to 2 CPUs, and that is where its time goes. Its CPU and memory are summed across its containers; about 2.7 GB of that memory is in use before the crawl starts.

Medians of three runs, all crawlers in one session on one M2 Max (macOS 26.7, Python 3.13, Node 22, Go 1.27, November 2026); Firecrawl ran in its own session and gave 17 or 18 pages a second each time. The script’s docstring says how to build the ones that aren’t Python, and how to start Firecrawl.

Run it yourself, from a checkout of the repository:

bench/crawl.py
uv run python bench/crawl.py

Rendering pages in a browser

Each tool renders the 30 items of test.netweir.com’s client-rendered shop three times over, four pages at a time in one headless browser, and every name is checked against the site’s answer key. Netweir, Playwright and Puppeteer get the same Chrome for Testing 154 and Firefox 159 where they can take them.

  1. Puppeteer 25.16, Chrome26.7
  2. Playwright 1.65, Chrome22.4
  3. Netweir, Chrome17.4
  4. Puppeteer, Firefox16.4
  5. Playwright, Firefox16.4
  6. Netweir, Firefox12.9
Rendering pages in a browser, Pages a second. Higher is better.
Rendering pages in a browser, every column
LibraryPages a secondCPU, whole runPeak memory
Puppeteer 25.16, Chrome26.76.6 s1,850 MB
Playwright 1.65, Chrome22.49.2 s2,195 MB
Netweir, Chrome17.49.7 s1,732 MB
Puppeteer, Firefox16.412.8 s3,262 MB
Playwright, Firefox16.414.9 s2,690 MB
Netweir, Firefox12.921.1 s3,801 MB

At defaults Netweir is the slowest of the three in both browsers, though in Chrome it peaks at the least memory. Part of that is a choice: Netweir’s pages are each a window at 1280 by 807, drawn in full the way a person’s would be, and it waits a moment, as a person does, when it turns to a page. Puppeteer shows one page at a time and leaves the other three as background tabs that draw nothing.

With the same settings for both, every page drawn and Netweir’s pause off (dialog_pause=(0, 0)), Puppeteer’s Chrome does 24.8 pages a second on 9.8 s of CPU and 1,972 MB, and Netweir’s 21.2 on 9.3 s and 1,739 MB: 15% slower, on less of both. In Firefox, Netweir without stealth or the pause does 15.2. Playwright drives its own patched Firefox, as it can’t drive a stock one.

The pages come from the live site, so speed moves between runs more than CPU or memory does: Netweir’s Chrome ranged from 11.8 to 17.7 pages a second, Playwright’s Firefox from 12.9 to 17.1. CPU and memory are the whole browser’s, every process summed, and shared memory is counted once per process, so they compare tools fairly but aren’t exact. Medians of three runs, every page right in every run, on one M2 Max, November 2026.

Run it yourself, from a checkout of the repository:

bench/browser.py
uv run python bench/browser.py

When things go wrong

Netweir 0.7.0 (0.7.1 for the redesign), Scrapy 2.19 and a self-hosted Firecrawl (v2.11.645, from its own docker-compose.yaml), each on its own defaults. Four tests use the public practice shop at webscraper.io/test-sites; the rate limit and the redesign are served locally. One M2 Max, November 2026; timings are medians of three to five runs.

A full crawl of a real shop

All three fetch the 179 pages of the practice shop at webscraper.io/test-sites, each on its own defaults.

A full crawl of a real shop
ToolSecondsPeak memory
Netweir4.047 MB
Scrapy 2.191.0117 MB
Firecrawl, self-hosted59about 3 GB

Scrapy finishes first because it doesn’t read robots.txt or pace itself by default, and Netweir does both. With the same settings Netweir is ahead either way: 0.26 s to 0.69 s with neither, and 3.8 s to 12.6 s with both.

Firecrawl’s memory is across its containers, idle after the runs. Raising its limits (50 jobs instead of 5, 50 pages instead of 10, 32 workers instead of 8) didn’t make it faster.

A site that allows 5 requests a second

Past that, a local server answers 429 with Retry-After: 1. It has 200 pages.

A site that allows 5 requests a second
ToolPages fetchedRequests sent during a Retry-After
Netweir2000 or 1
Scrapy 2.19517
Firecrawl, self-hosted17 to 30161 to 224

Netweir takes about a minute, which is the site’s limit plus its own backoff. At 20 requests a second Netweir and Firecrawl both get all 200 pages, Netweir in 20 to 24 seconds and Firecrawl in 15 to 25, and Scrapy gets 20 to 40.

Firecrawl runs with ALLOW_LOCAL_WEBHOOKS=true for this one, without which it won’t fetch from a local address.

A crawl stopped a third of the way in, then run again

Netweir and Scrapy keep their state in a folder; Firecrawl’s API container is stopped or killed and started again.

A crawl stopped a third of the way in, then run again
ToolAfter a clean stopAfter kill -9
Netweir179 pages, none twice179 pages, none twice
Scrapy 2.19179 pages, 2 twice107 pages, or 179 with 108 or 109 twice
Firecrawl, self-hosted179 pages, none twice179 pages, none twice

Scrapy’s documentation promises a resume only after a clean stop. Firecrawl’s queue lives in its Postgres container, so a job outlives its API, though not that container, which its compose file gives no volume.

A page that loads more as you scroll

The practice shop’s laptop page shows 117 products.

A page that loads more as you scroll
ToolProducts read
Netweir, in Chrome117
Firecrawl, self-hosted3

Scrolling is one of Firecrawl’s page actions, which need Fire Engine, a separate engine its self-hosting guide leaves you to connect. Its hosted service has actions, and isn’t tested here.

A redesign

Each learns .price on 50 product pages, then reads 50 after a redesign, with a “was” price and a shipping price beside it on every page to catch a wrong guess.

A redesign
ToolClasses renamedClasses, tags and layout changed
Netweir, track=50 right, 0 wrong50 right, 0 wrong
Scrapling 0.5, adaptive=True50 right, 0 wrong50 right, 0 wrong
Scrapy 2.190 found0 found

Netweir’s second column is from 0.7.1; 0.7.0 finds 0 of those 50. Firecrawl isn’t here: it reads fields with a language model, and the self-hosted setup has none.

Run it yourself, from a checkout of the repository:

bench/reliability.py
uv run python bench/reliability.py throttle --rate 5

The script's opening comment covers the Firecrawl setup. It runs against someone else's site, so it stays on the paths that site's robots.txt allows; please don't run it in a loop.

Try your own scraper

We run a practice site of our own at test.netweir.com. It has 19 tests, from a 495-product shop to infinite scroll, rate limits, logins and a redesign. Each one publishes an answer key, so you can check what your scraper pulled out against what was really there. Point any tool at it; that's what it's for.

Setting up to run them

The benchmarks live in the Netweir repository and run against a development build. You need Rust, a C compiler, CMake and uv:

git clone --recurse-submodules https://github.com/netweir/netweir
cd netweir
uv sync --group dev
uv run maturin develop --uv

The parsing and query benchmarks install the libraries they compare against with --group bench. The crawl and browser benchmarks expect the tools they compare against to be installed already, and each script's opening comment says how.