Skip to content

🕷️ The BEST Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev

docs: updating the benchmarks

Karim shoairc19c9bff52eb
diff --git a/README.md b/README.md
index 1e716b1..8d95c33 100644
--- a/README.md
+++ b/README.md
@@ -428,14 +428,14 @@ Scrapling isn't just powerful-it's also blazing fast. The following benchmarks c
| # | Library | Time (ms) | vs Scrapling |
|---|:-----------------:|:---------:|:------------:|
-| 1 | Scrapling | 2.02 | 1.0x |
-| 2 | Parsel/Scrapy | 2.04 | 1.01 |
-| 3 | Raw Lxml | 2.54 | 1.257 |
-| 4 | PyQuery | 24.17 | ~12x |
-| 5 | Selectolax | 82.63 | ~41x |
-| 6 | MechanicalSoup | 1549.71 | ~767.1x |
-| 7 | BS4 with Lxml | 1584.31 | ~784.3x |
-| 8 | BS4 with html5lib | 3391.91 | ~1679.1x |
+| 1 | Scrapling | 1.98 | 1.0x |
+| 2 | Parsel/Scrapy | 1.99 | 1.005 |
+| 3 | Raw Lxml | 2.48 | 1.253 |
+| 4 | PyQuery | 23.15 | ~12x |
+| 5 | Selectolax | 196.09 | ~99x |
+| 6 | MechanicalSoup | 1531.24 | ~773.4x |
+| 7 | BS4 with Lxml | 1535.19 | ~775.3x |
+| 8 | BS4 with html5lib | 3388.16 | ~1711.2x |
### Element Similarity & Text Search Performance
@@ -444,8 +444,8 @@ Scrapling's adaptive element finding capabilities significantly outperform alter
| Library | Time (ms) | vs Scrapling |
|-------------|:---------:|:------------:|
-| Scrapling | 2.39 | 1.0x |
-| AutoScraper | 12.45 | 5.209x |
+| Scrapling | 2.29 | 1.0x |
+| AutoScraper | 12.46 | 5.441x |
> All benchmarks represent averages of 100+ runs. See [benchmarks.py](https://github.com/D4Vinci/Scrapling/blob/main/benchmarks.py) for methodology.
diff --git a/docs/README_AR.md b/docs/README_AR.md
index 5557725..972c562 100644
--- a/docs/README_AR.md
+++ b/docs/README_AR.md
@@ -424,14 +424,14 @@ Scrapling ليس قوياً فحسب - بل هو أيضاً سريع بشكل م
| # | المكتبة | الوقت (ms) | vs Scrapling |
|---|:-----------------:|:----------:|:------------:|
-| 1 | Scrapling | 2.02 | 1.0x |
-| 2 | Parsel/Scrapy | 2.04 | 1.01 |
-| 3 | Raw Lxml | 2.54 | 1.257 |
-| 4 | PyQuery | 24.17 | ~12x |
-| 5 | Selectolax | 82.63 | ~41x |
-| 6 | MechanicalSoup | 1549.71 | ~767.1x |
-| 7 | BS4 with Lxml | 1584.31 | ~784.3x |
-| 8 | BS4 with html5lib | 3391.91 | ~1679.1x |
+| 1 | Scrapling | 1.98 | 1.0x |
+| 2 | Parsel/Scrapy | 1.99 | 1.005 |
+| 3 | Raw Lxml | 2.48 | 1.253 |
+| 4 | PyQuery | 23.15 | ~12x |
+| 5 | Selectolax | 196.09 | ~99x |
+| 6 | MechanicalSoup | 1531.24 | ~773.4x |
+| 7 | BS4 with Lxml | 1535.19 | ~775.3x |
+| 8 | BS4 with html5lib | 3388.16 | ~1711.2x |
### أداء تشابه العناصر والبحث النصي
@@ -440,8 +440,8 @@ Scrapling ليس قوياً فحسب - بل هو أيضاً سريع بشكل م
| المكتبة | الوقت (ms) | vs Scrapling |
|-------------|:----------:|:------------:|
-| Scrapling | 2.39 | 1.0x |
-| AutoScraper | 12.45 | 5.209x |
+| Scrapling | 2.29 | 1.0x |
+| AutoScraper | 12.46 | 5.441x |
> تمثل جميع المعايير متوسطات أكثر من 100 تشغيل. انظر [benchmarks.py](https://github.com/D4Vinci/Scrapling/blob/main/benchmarks.py) للمنهجية.
diff --git a/docs/README_CN.md b/docs/README_CN.md
index 14f8357..9a144e2 100644
--- a/docs/README_CN.md
+++ b/docs/README_CN.md
@@ -424,14 +424,14 @@ Scrapling 不仅功能强大--它还速度极快。以下基准测试将 Scrapli
| # | 库 | 时间 (ms) | vs Scrapling |
|---|:-----------------:|:---------:|:------------:|
-| 1 | Scrapling | 2.02 | 1.0x |
-| 2 | Parsel/Scrapy | 2.04 | 1.01 |
-| 3 | Raw Lxml | 2.54 | 1.257 |
-| 4 | PyQuery | 24.17 | ~12x |
-| 5 | Selectolax | 82.63 | ~41x |
-| 6 | MechanicalSoup | 1549.71 | ~767.1x |
-| 7 | BS4 with Lxml | 1584.31 | ~784.3x |
-| 8 | BS4 with html5lib | 3391.91 | ~1679.1x |
+| 1 | Scrapling | 1.98 | 1.0x |
+| 2 | Parsel/Scrapy | 1.99 | 1.005 |
+| 3 | Raw Lxml | 2.48 | 1.253 |
+| 4 | PyQuery | 23.15 | ~12x |
+| 5 | Selectolax | 196.09 | ~99x |
+| 6 | MechanicalSoup | 1531.24 | ~773.4x |
+| 7 | BS4 with Lxml | 1535.19 | ~775.3x |
+| 8 | BS4 with html5lib | 3388.16 | ~1711.2x |
### 元素相似性和文本搜索性能
@@ -440,8 +440,8 @@ Scrapling 的自适应元素查找功能明显优于替代方案:
| 库 | 时间 (ms) | vs Scrapling |
|-------------|:---------:|:------------:|
-| Scrapling | 2.39 | 1.0x |
-| AutoScraper | 12.45 | 5.209x |
+| Scrapling | 2.29 | 1.0x |
+| AutoScraper | 12.46 | 5.441x |
> 所有基准测试代表 100+ 次运行的平均值。请参阅 [benchmarks.py](https://github.com/D4Vinci/Scrapling/blob/main/benchmarks.py) 了解方法。
diff --git a/docs/README_DE.md b/docs/README_DE.md
index 6dccc26..aad2ad2 100644
--- a/docs/README_DE.md
+++ b/docs/README_DE.md
@@ -424,14 +424,14 @@ Scrapling ist nicht nur leistungsstark -- es ist auch blitzschnell. Die folgende
| # | Bibliothek | Zeit (ms) | vs Scrapling |
|---|:-----------------:|:---------:|:------------:|
-| 1 | Scrapling | 2.02 | 1.0x |
-| 2 | Parsel/Scrapy | 2.04 | 1.01 |
-| 3 | Raw Lxml | 2.54 | 1.257 |
-| 4 | PyQuery | 24.17 | ~12x |
-| 5 | Selectolax | 82.63 | ~41x |
-| 6 | MechanicalSoup | 1549.71 | ~767.1x |
-| 7 | BS4 with Lxml | 1584.31 | ~784.3x |
-| 8 | BS4 with html5lib | 3391.91 | ~1679.1x |
+| 1 | Scrapling | 1.98 | 1.0x |
+| 2 | Parsel/Scrapy | 1.99 | 1.005 |
+| 3 | Raw Lxml | 2.48 | 1.253 |
+| 4 | PyQuery | 23.15 | ~12x |
+| 5 | Selectolax | 196.09 | ~99x |
+| 6 | MechanicalSoup | 1531.24 | ~773.4x |
+| 7 | BS4 with Lxml | 1535.19 | ~775.3x |
+| 8 | BS4 with html5lib | 3388.16 | ~1711.2x |
### Element-Ähnlichkeit & Textsuche-Leistung
@@ -440,8 +440,8 @@ Scraplings adaptive Element-Finding-Fähigkeiten übertreffen Alternativen deutl
| Bibliothek | Zeit (ms) | vs Scrapling |
|-------------|:---------:|:------------:|
-| Scrapling | 2.39 | 1.0x |
-| AutoScraper | 12.45 | 5.209x |
+| Scrapling | 2.29 | 1.0x |
+| AutoScraper | 12.46 | 5.441x |
> Alle Benchmarks stellen Durchschnittswerte von über 100 Durchläufen dar. Siehe [benchmarks.py](https://github.com/D4Vinci/Scrapling/blob/main/benchmarks.py) für die Methodik.
diff --git a/docs/README_ES.md b/docs/README_ES.md
index 8ac34ec..ce1513d 100644
--- a/docs/README_ES.md
+++ b/docs/README_ES.md
@@ -424,14 +424,14 @@ Scrapling no solo es potente, también es ultrarrápido. Los siguientes benchmar
| # | Biblioteca | Tiempo (ms) | vs Scrapling |
|---|:-----------------:|:-----------:|:------------:|
-| 1 | Scrapling | 2.02 | 1.0x |
-| 2 | Parsel/Scrapy | 2.04 | 1.01 |
-| 3 | Raw Lxml | 2.54 | 1.257 |
-| 4 | PyQuery | 24.17 | ~12x |
-| 5 | Selectolax | 82.63 | ~41x |
-| 6 | MechanicalSoup | 1549.71 | ~767.1x |
-| 7 | BS4 with Lxml | 1584.31 | ~784.3x |
-| 8 | BS4 with html5lib | 3391.91 | ~1679.1x |
+| 1 | Scrapling | 1.98 | 1.0x |
+| 2 | Parsel/Scrapy | 1.99 | 1.005 |
+| 3 | Raw Lxml | 2.48 | 1.253 |
+| 4 | PyQuery | 23.15 | ~12x |
+| 5 | Selectolax | 196.09 | ~99x |
+| 6 | MechanicalSoup | 1531.24 | ~773.4x |
+| 7 | BS4 with Lxml | 1535.19 | ~775.3x |
+| 8 | BS4 with html5lib | 3388.16 | ~1711.2x |
### Rendimiento de Similitud de Elementos y Búsqueda de Texto
@@ -440,8 +440,8 @@ Las capacidades de búsqueda adaptativa de elementos de Scrapling superan signif
| Biblioteca | Tiempo (ms) | vs Scrapling |
|-------------|:-----------:|:------------:|
-| Scrapling | 2.39 | 1.0x |
-| AutoScraper | 12.45 | 5.209x |
+| Scrapling | 2.29 | 1.0x |
+| AutoScraper | 12.46 | 5.441x |
> Todos los benchmarks representan promedios de más de 100 ejecuciones. Ver [benchmarks.py](https://github.com/D4Vinci/Scrapling/blob/main/benchmarks.py) para la metodología.
diff --git a/docs/README_FR.md b/docs/README_FR.md
index 2ff2fbe..e1694c6 100644
--- a/docs/README_FR.md
+++ b/docs/README_FR.md
@@ -424,14 +424,14 @@ Scrapling n'est pas seulement puissant - il est aussi ultra rapide. Les benchmar
| # | Bibliothèque | Temps (ms) | vs Scrapling |
|---|:-----------------:|:----------:|:------------:|
-| 1 | Scrapling | 2.02 | 1.0x |
-| 2 | Parsel/Scrapy | 2.04 | 1.01 |
-| 3 | Raw Lxml | 2.54 | 1.257 |
-| 4 | PyQuery | 24.17 | ~12x |
-| 5 | Selectolax | 82.63 | ~41x |
-| 6 | MechanicalSoup | 1549.71 | ~767.1x |
-| 7 | BS4 with Lxml | 1584.31 | ~784.3x |
-| 8 | BS4 with html5lib | 3391.91 | ~1679.1x |
+| 1 | Scrapling | 1.98 | 1.0x |
+| 2 | Parsel/Scrapy | 1.99 | 1.005 |
+| 3 | Raw Lxml | 2.48 | 1.253 |
+| 4 | PyQuery | 23.15 | ~12x |
+| 5 | Selectolax | 196.09 | ~99x |
+| 6 | MechanicalSoup | 1531.24 | ~773.4x |
+| 7 | BS4 with Lxml | 1535.19 | ~775.3x |
+| 8 | BS4 with html5lib | 3388.16 | ~1711.2x |
### Performance de similarité d'éléments & recherche textuelle
@@ -440,8 +440,8 @@ Les capacités adaptatives de recherche d'éléments de Scrapling surpassent sig
| Bibliothèque | Temps (ms) | vs Scrapling |
|--------------|:----------:|:------------:|
-| Scrapling | 2.39 | 1.0x |
-| AutoScraper | 12.45 | 5.209x |
+| Scrapling | 2.29 | 1.0x |
+| AutoScraper | 12.46 | 5.441x |
> Tous les benchmarks représentent des moyennes de plus de 100 exécutions. Voir [benchmarks.py](https://github.com/D4Vinci/Scrapling/blob/main/benchmarks.py) pour la méthodologie.
diff --git a/docs/README_JP.md b/docs/README_JP.md
index 4f84604..f0e30dc 100644
--- a/docs/README_JP.md
+++ b/docs/README_JP.md
@@ -424,14 +424,14 @@ Scrapling は強力であるだけでなく、超高速です。以下のベン
| # | ライブラリ | 時間 (ms) | vs Scrapling |
|---|:-----------------:|:---------:|:------------:|
-| 1 | Scrapling | 2.02 | 1.0x |
-| 2 | Parsel/Scrapy | 2.04 | 1.01 |
-| 3 | Raw Lxml | 2.54 | 1.257 |
-| 4 | PyQuery | 24.17 | ~12x |
-| 5 | Selectolax | 82.63 | ~41x |
-| 6 | MechanicalSoup | 1549.71 | ~767.1x |
-| 7 | BS4 with Lxml | 1584.31 | ~784.3x |
-| 8 | BS4 with html5lib | 3391.91 | ~1679.1x |
+| 1 | Scrapling | 1.98 | 1.0x |
+| 2 | Parsel/Scrapy | 1.99 | 1.005 |
+| 3 | Raw Lxml | 2.48 | 1.253 |
+| 4 | PyQuery | 23.15 | ~12x |
+| 5 | Selectolax | 196.09 | ~99x |
+| 6 | MechanicalSoup | 1531.24 | ~773.4x |
+| 7 | BS4 with Lxml | 1535.19 | ~775.3x |
+| 8 | BS4 with html5lib | 3388.16 | ~1711.2x |
### 要素類似性とテキスト検索のパフォーマンス
@@ -440,8 +440,8 @@ Scrapling の適応型要素検索機能は代替手段を大幅に上回りま
| ライブラリ | 時間 (ms) | vs Scrapling |
|-------------|:---------:|:------------:|
-| Scrapling | 2.39 | 1.0x |
-| AutoScraper | 12.45 | 5.209x |
+| Scrapling | 2.29 | 1.0x |
+| AutoScraper | 12.46 | 5.441x |
> すべてのベンチマークは 100 回以上の実行の平均を表します。方法論については[benchmarks.py](https://github.com/D4Vinci/Scrapling/blob/main/benchmarks.py)を参照してください。
diff --git a/docs/README_KR.md b/docs/README_KR.md
index 75ac11c..6b013a7 100644
--- a/docs/README_KR.md
+++ b/docs/README_KR.md
@@ -424,14 +424,14 @@ Scrapling은 강력할 뿐만 아니라 초고속입니다. 아래 벤치마크
| # | Library | Time (ms) | vs Scrapling |
|---|:-----------------:|:---------:|:------------:|
-| 1 | Scrapling | 2.02 | 1.0x |
-| 2 | Parsel/Scrapy | 2.04 | 1.01 |
-| 3 | Raw Lxml | 2.54 | 1.257 |
-| 4 | PyQuery | 24.17 | ~12x |
-| 5 | Selectolax | 82.63 | ~41x |
-| 6 | MechanicalSoup | 1549.71 | ~767.1x |
-| 7 | BS4 with Lxml | 1584.31 | ~784.3x |
-| 8 | BS4 with html5lib | 3391.91 | ~1679.1x |
+| 1 | Scrapling | 1.98 | 1.0x |
+| 2 | Parsel/Scrapy | 1.99 | 1.005 |
+| 3 | Raw Lxml | 2.48 | 1.253 |
+| 4 | PyQuery | 23.15 | ~12x |
+| 5 | Selectolax | 196.09 | ~99x |
+| 6 | MechanicalSoup | 1531.24 | ~773.4x |
+| 7 | BS4 with Lxml | 1535.19 | ~775.3x |
+| 8 | BS4 with html5lib | 3388.16 | ~1711.2x |
### 요소 유사도 & 텍스트 검색 성능
@@ -440,8 +440,8 @@ Scrapling의 적응형 요소 찾기 기능은 대안들을 크게 앞섭니다:
| Library | Time (ms) | vs Scrapling |
|-------------|:---------:|:------------:|
-| Scrapling | 2.39 | 1.0x |
-| AutoScraper | 12.45 | 5.209x |
+| Scrapling | 2.29 | 1.0x |
+| AutoScraper | 12.46 | 5.441x |
> 모든 벤치마크는 100회 이상 실행의 평균입니다. 측정 방법은 [benchmarks.py](https://github.com/D4Vinci/Scrapling/blob/main/benchmarks.py)를 참조하세요.
diff --git a/docs/README_PT_BR.md b/docs/README_PT_BR.md
index 63f2de5..65de3a2 100644
--- a/docs/README_PT_BR.md
+++ b/docs/README_PT_BR.md
@@ -426,14 +426,14 @@ O Scrapling não é apenas poderoso - ele também é extremamente rápido. Os be
| # | Biblioteca | Tempo (ms) | vs Scrapling |
|---|:-----------------:|:----------:|:------------:|
-| 1 | Scrapling | 2.02 | 1.0x |
-| 2 | Parsel/Scrapy | 2.04 | 1.01 |
-| 3 | Raw Lxml | 2.54 | 1.257 |
-| 4 | PyQuery | 24.17 | ~12x |
-| 5 | Selectolax | 82.63 | ~41x |
-| 6 | MechanicalSoup | 1549.71 | ~767.1x |
-| 7 | BS4 with Lxml | 1584.31 | ~784.3x |
-| 8 | BS4 with html5lib | 3391.91 | ~1679.1x |
+| 1 | Scrapling | 1.98 | 1.0x |
+| 2 | Parsel/Scrapy | 1.99 | 1.005 |
+| 3 | Raw Lxml | 2.48 | 1.253 |
+| 4 | PyQuery | 23.15 | ~12x |
+| 5 | Selectolax | 196.09 | ~99x |
+| 6 | MechanicalSoup | 1531.24 | ~773.4x |
+| 7 | BS4 with Lxml | 1535.19 | ~775.3x |
+| 8 | BS4 with html5lib | 3388.16 | ~1711.2x |
### Desempenho de Similaridade de Elementos e Busca por Texto
@@ -442,8 +442,8 @@ Os recursos de localização adaptativa de elementos do Scrapling superam signif
| Biblioteca | Tempo (ms) | vs Scrapling |
|-------------|:----------:|:------------:|
-| Scrapling | 2.39 | 1.0x |
-| AutoScraper | 12.45 | 5.209x |
+| Scrapling | 2.29 | 1.0x |
+| AutoScraper | 12.46 | 5.441x |
> Todos os benchmarks representam médias de 100+ execuções. Veja [benchmarks.py](https://github.com/D4Vinci/Scrapling/blob/main/benchmarks.py) para a metodologia.
diff --git a/docs/README_RU.md b/docs/README_RU.md
index 5c695ad..fdb708e 100644
--- a/docs/README_RU.md
+++ b/docs/README_RU.md
@@ -426,14 +426,14 @@ Scrapling не только мощный - он ещё и невероятно
| # | Библиотека | Время (мс) | vs Scrapling |
|---|:-----------------:|:----------:|:------------:|
-| 1 | Scrapling | 2.02 | 1.0x |
-| 2 | Parsel/Scrapy | 2.04 | 1.01 |
-| 3 | Raw Lxml | 2.54 | 1.257 |
-| 4 | PyQuery | 24.17 | ~12x |
-| 5 | Selectolax | 82.63 | ~41x |
-| 6 | MechanicalSoup | 1549.71 | ~767.1x |
-| 7 | BS4 with Lxml | 1584.31 | ~784.3x |
-| 8 | BS4 with html5lib | 3391.91 | ~1679.1x |
+| 1 | Scrapling | 1.98 | 1.0x |
+| 2 | Parsel/Scrapy | 1.99 | 1.005 |
+| 3 | Raw Lxml | 2.48 | 1.253 |
+| 4 | PyQuery | 23.15 | ~12x |
+| 5 | Selectolax | 196.09 | ~99x |
+| 6 | MechanicalSoup | 1531.24 | ~773.4x |
+| 7 | BS4 with Lxml | 1535.19 | ~775.3x |
+| 8 | BS4 with html5lib | 3388.16 | ~1711.2x |
### Производительность подобия элементов и текстового поиска
@@ -442,8 +442,8 @@ Scrapling не только мощный - он ещё и невероятно
| Библиотека | Время (мс) | vs Scrapling |
|-------------|:----------:|:------------:|
-| Scrapling | 2.39 | 1.0x |
-| AutoScraper | 12.45 | 5.209x |
+| Scrapling | 2.29 | 1.0x |
+| AutoScraper | 12.46 | 5.441x |
> Все тесты производительности представляют собой средние значения более 100 запусков. См. [benchmarks.py](https://github.com/D4Vinci/Scrapling/blob/main/benchmarks.py) для методологии.
diff --git a/docs/benchmarks.md b/docs/benchmarks.md
index e5be366..6cd149f 100644
--- a/docs/benchmarks.md
+++ b/docs/benchmarks.md
@@ -6,14 +6,14 @@ Scrapling isn't just powerful - it's also blazing fast. The following benchmarks
| # | Library | Time (ms) | vs Scrapling |
|---|:-----------------:|:---------:|:------------:|
-| 1 | Scrapling | 2.02 | 1.0x |
-| 2 | Parsel/Scrapy | 2.04 | 1.01 |
-| 3 | Raw Lxml | 2.54 | 1.257 |
-| 4 | PyQuery | 24.17 | ~12x |
-| 5 | Selectolax | 82.63 | ~41x |
-| 6 | MechanicalSoup | 1549.71 | ~767.1x |
-| 7 | BS4 with Lxml | 1584.31 | ~784.3x |
-| 8 | BS4 with html5lib | 3391.91 | ~1679.1x |
+| 1 | Scrapling | 1.98 | 1.0x |
+| 2 | Parsel/Scrapy | 1.99 | 1.005 |
+| 3 | Raw Lxml | 2.48 | 1.253 |
+| 4 | PyQuery | 23.15 | ~12x |
+| 5 | Selectolax | 196.09 | ~99x |
+| 6 | MechanicalSoup | 1531.24 | ~773.4x |
+| 7 | BS4 with Lxml | 1535.19 | ~775.3x |
+| 8 | BS4 with html5lib | 3388.16 | ~1711.2x |
### Element Similarity & Text Search Performance
@@ -22,7 +22,7 @@ Scrapling's adaptive element finding capabilities significantly outperform alter
| Library | Time (ms) | vs Scrapling |
|-------------|:---------:|:------------:|
-| Scrapling | 2.39 | 1.0x |
-| AutoScraper | 12.45 | 5.209x |
+| Scrapling | 2.29 | 1.0x |
+| AutoScraper | 12.46 | 5.441x |
> All benchmarks represent averages of 100+ runs. See [benchmarks.py](https://github.com/D4Vinci/Scrapling/blob/main/benchmarks.py) for methodology.