Skip to content

Commit eb15aae

Browse files
committed
docs: update benchmarks with the current results
1 parent ab23b71 commit eb15aae

8 files changed

Lines changed: 109 additions & 102 deletions

File tree

docs/README.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -244,23 +244,24 @@ Scrapling isn't just powerful—it's also blazing fast, and the updates since ve
244244

245245
| # | Library | Time (ms) | vs Scrapling |
246246
|---|:-----------------:|:---------:|:------------:|
247-
| 1 | Scrapling | 1.92 | 1.0x |
248-
| 2 | Parsel/Scrapy | 1.99 | 1.036x |
249-
| 3 | Raw Lxml | 2.33 | 1.214x |
250-
| 4 | PyQuery | 20.61 | ~11x |
251-
| 5 | Selectolax | 80.65 | ~42x |
252-
| 6 | BS4 with Lxml | 1283.21 | ~698x |
253-
| 7 | MechanicalSoup | 1304.57 | ~679x |
254-
| 8 | BS4 with html5lib | 3331.96 | ~1735x |
247+
| 1 | Scrapling | 1.99 | 1.0x |
248+
| 2 | Parsel/Scrapy | 2.01 | 1.01x |
249+
| 3 | Raw Lxml | 2.5 | 1.256x |
250+
| 4 | PyQuery | 22.93 | ~11.5x |
251+
| 5 | Selectolax | 80.57 | ~40.5x |
252+
| 6 | BS4 with Lxml | 1541.37 | ~774.6x |
253+
| 7 | MechanicalSoup | 1547.35 | ~777.6x |
254+
| 8 | BS4 with html5lib | 3410.58 | ~1713.9x |
255+
255256

256257
### Element Similarity & Text Search Performance
257258

258259
Scrapling's adaptive element finding capabilities significantly outperform alternatives:
259260

260261
| Library | Time (ms) | vs Scrapling |
261262
|-------------|:---------:|:------------:|
262-
| Scrapling | 1.87 | 1.0x |
263-
| AutoScraper | 10.24 | 5.476x |
263+
| Scrapling | 2.46 | 1.0x |
264+
| AutoScraper | 13.3 | 5.407x |
264265

265266

266267
> All benchmarks represent averages of 100+ runs. See [benchmarks.py](https://github.com/D4Vinci/Scrapling/blob/main/benchmarks.py) for methodology.

docs/README_AR.md

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -233,24 +233,25 @@ Scrapling ليس قوياً فقط - إنه أيضاً سريع بشكل مذه
233233
### اختبار سرعة استخراج النص (5000 عنصر متداخل)
234234

235235
| # | المكتبة | الوقت (ms) | vs Scrapling |
236-
|---|:-----------------:|:---------:|:------------:|
237-
| 1 | Scrapling | 1.92 | 1.0x |
238-
| 2 | Parsel/Scrapy | 1.99 | 1.036x |
239-
| 3 | Raw Lxml | 2.33 | 1.214x |
240-
| 4 | PyQuery | 20.61 | ~11x |
241-
| 5 | Selectolax | 80.65 | ~42x |
242-
| 6 | BS4 with Lxml | 1283.21 | ~698x |
243-
| 7 | MechanicalSoup | 1304.57 | ~679x |
244-
| 8 | BS4 with html5lib | 3331.96 | ~1735x |
236+
|---|:-----------------:|:----------:|:------------:|
237+
| 1 | Scrapling | 1.99 | 1.0x |
238+
| 2 | Parsel/Scrapy | 2.01 | 1.01x |
239+
| 3 | Raw Lxml | 2.5 | 1.256x |
240+
| 4 | PyQuery | 22.93 | ~11.5x |
241+
| 5 | Selectolax | 80.57 | ~40.5x |
242+
| 6 | BS4 with Lxml | 1541.37 | ~774.6x |
243+
| 7 | MechanicalSoup | 1547.35 | ~777.6x |
244+
| 8 | BS4 with html5lib | 3410.58 | ~1713.9x |
245+
245246

246247
### أداء تشابه العناصر والبحث النصي
247248

248249
قدرات العثور على العناصر التكيفية لـ Scrapling تتفوق بشكل كبير على البدائل:
249250

250-
| المكتبة | الوقت (ms) | vs Scrapling |
251-
|-------------|:---------:|:------------:|
252-
| Scrapling | 1.87 | 1.0x |
253-
| AutoScraper | 10.24 | 5.476x |
251+
| المكتبة | الوقت (ms) | vs Scrapling |
252+
|-------------|:----------:|:------------:|
253+
| Scrapling | 2.46 | 1.0x |
254+
| AutoScraper | 13.3 | 5.407x |
254255

255256

256257
> تمثل جميع المعايير متوسطات أكثر من 100 تشغيل. انظر [benchmarks.py](https://github.com/D4Vinci/Scrapling/blob/main/benchmarks.py) للمنهجية.

docs/README_CN.md

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -232,25 +232,26 @@ Scrapling不仅功能强大——它还速度极快,自0.3版本以来的更
232232

233233
### 文本提取速度测试(5000个嵌套元素)
234234

235-
| # || 时间(ms) | vs Scrapling |
236-
|---|:--------------:|:--------:|:------------:|
237-
| 1 | Scrapling | 1.92 | 1.0x |
238-
| 2 | Parsel/Scrapy | 1.99 | 1.036x |
239-
| 3 | Raw Lxml | 2.33 | 1.214x |
240-
| 4 | PyQuery | 20.61 | ~11x |
241-
| 5 | Selectolax | 80.65 | ~42x |
242-
| 6 | BS4 with Lxml | 1283.21 | ~698x |
243-
| 7 | MechanicalSoup | 1304.57 | ~679x |
244-
| 8 |BS4 with html5lib| 3331.96 | ~1735x |
235+
| # || 时间(ms) | vs Scrapling |
236+
|---|:-----------------:|:-------:|:------------:|
237+
| 1 | Scrapling | 1.99 | 1.0x |
238+
| 2 | Parsel/Scrapy | 2.01 | 1.01x |
239+
| 3 | Raw Lxml | 2.5 | 1.256x |
240+
| 4 | PyQuery | 22.93 | ~11.5x |
241+
| 5 | Selectolax | 80.57 | ~40.5x |
242+
| 6 | BS4 with Lxml | 1541.37 | ~774.6x |
243+
| 7 | MechanicalSoup | 1547.35 | ~777.6x |
244+
| 8 | BS4 with html5lib | 3410.58 | ~1713.9x |
245+
245246

246247
### 元素相似性和文本搜索性能
247248

248249
Scrapling的自适应元素查找功能明显优于替代方案:
249250

250-
| | 时间(ms) | vs Scrapling |
251-
|-------------|:--------:|:------------:|
252-
| Scrapling | 1.87 | 1.0x |
253-
| AutoScraper | 10.24 | 5.476x |
251+
| | 时间(ms) | vs Scrapling |
252+
|-------------|:------:|:------------:|
253+
| Scrapling | 2.46 | 1.0x |
254+
| AutoScraper | 13.3 | 5.407x |
254255

255256

256257
> 所有基准测试代表100+次运行的平均值。请参阅[benchmarks.py](https://github.com/D4Vinci/Scrapling/blob/main/benchmarks.py)了解方法。

docs/README_DE.md

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -232,25 +232,26 @@ Scrapling ist nicht nur leistungsstark – es ist auch blitzschnell, und die Upd
232232

233233
### Textextraktions-Geschwindigkeitstest (5000 verschachtelte Elemente)
234234

235-
| # | Bibliothek | Zeit (ms) | vs Scrapling |
236-
|---|:--------------------:|:---------:|:------------:|
237-
| 1 | Scrapling | 1.92 | 1.0x |
238-
| 2 | Parsel/Scrapy | 1.99 | 1.036x |
239-
| 3 | Raw Lxml | 2.33 | 1.214x |
240-
| 4 | PyQuery | 20.61 | ~11x |
241-
| 5 | Selectolax | 80.65 | ~42x |
242-
| 6 | BS4 mit Lxml | 1283.21 | ~698x |
243-
| 7 | MechanicalSoup | 1304.57 | ~679x |
244-
| 8 | BS4 mit html5lib | 3331.96 | ~1735x |
235+
| # | Bibliothek | Zeit (ms) | vs Scrapling |
236+
|---|:-----------------:|:---------:|:------------:|
237+
| 1 | Scrapling | 1.99 | 1.0x |
238+
| 2 | Parsel/Scrapy | 2.01 | 1.01x |
239+
| 3 | Raw Lxml | 2.5 | 1.256x |
240+
| 4 | PyQuery | 22.93 | ~11.5x |
241+
| 5 | Selectolax | 80.57 | ~40.5x |
242+
| 6 | BS4 with Lxml | 1541.37 | ~774.6x |
243+
| 7 | MechanicalSoup | 1547.35 | ~777.6x |
244+
| 8 | BS4 with html5lib | 3410.58 | ~1713.9x |
245+
245246

246247
### Element-Ähnlichkeit & Textsuche-Leistung
247248

248249
Scraplings adaptive Element-Finding-Fähigkeiten übertreffen Alternativen deutlich:
249250

250-
| Bibliothek | Zeit (ms) | vs Scrapling |
251+
| Bibliothek | Zeit (ms) | vs Scrapling |
251252
|-------------|:---------:|:------------:|
252-
| Scrapling | 1.87 | 1.0x |
253-
| AutoScraper | 10.24 | 5.476x |
253+
| Scrapling | 2.46 | 1.0x |
254+
| AutoScraper | 13.3 | 5.407x |
254255

255256

256257
> 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.

docs/README_ES.md

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -232,25 +232,26 @@ Scrapling no solo es poderoso, también es increíblemente rápido, y las actual
232232

233233
### Prueba de Velocidad de Extracción de Texto (5000 elementos anidados)
234234

235-
| # | Biblioteca | Tiempo (ms) | vs Scrapling |
236-
|---|:--------------------:|:-----------:|:------------:|
237-
| 1 | Scrapling | 1.92 | 1.0x |
238-
| 2 | Parsel/Scrapy | 1.99 | 1.036x |
239-
| 3 | Raw Lxml | 2.33 | 1.214x |
240-
| 4 | PyQuery | 20.61 | ~11x |
241-
| 5 | Selectolax | 80.65 | ~42x |
242-
| 6 | BS4 con Lxml | 1283.21 | ~698x |
243-
| 7 | MechanicalSoup | 1304.57 | ~679x |
244-
| 8 | BS4 con html5lib | 3331.96 | ~1735x |
235+
| # | Biblioteca | Tiempo (ms) | vs Scrapling |
236+
|---|:-----------------:|:-----------:|:------------:|
237+
| 1 | Scrapling | 1.99 | 1.0x |
238+
| 2 | Parsel/Scrapy | 2.01 | 1.01x |
239+
| 3 | Raw Lxml | 2.5 | 1.256x |
240+
| 4 | PyQuery | 22.93 | ~11.5x |
241+
| 5 | Selectolax | 80.57 | ~40.5x |
242+
| 6 | BS4 with Lxml | 1541.37 | ~774.6x |
243+
| 7 | MechanicalSoup | 1547.35 | ~777.6x |
244+
| 8 | BS4 with html5lib | 3410.58 | ~1713.9x |
245+
245246

246247
### Rendimiento de Similitud de Elementos y Búsqueda de Texto
247248

248249
Las capacidades de búsqueda adaptativa de elementos de Scrapling superan significativamente a las alternativas:
249250

250-
| Biblioteca | Tiempo (ms) | vs Scrapling |
251-
|--------------|:-----------:|:------------:|
252-
| Scrapling | 1.87 | 1.0x |
253-
| AutoScraper | 10.24 | 5.476x |
251+
| Biblioteca | Tiempo (ms) | vs Scrapling |
252+
|-------------|:-----------:|:------------:|
253+
| Scrapling | 2.46 | 1.0x |
254+
| AutoScraper | 13.3 | 5.407x |
254255

255256

256257
> 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.

docs/README_JP.md

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -232,25 +232,26 @@ Scraplingは強力であるだけでなく、驚くほど高速で、バージ
232232

233233
### テキスト抽出速度テスト(5000個のネストされた要素)
234234

235-
| # | ライブラリ | 時間(ms) | vs Scrapling |
236-
|---|:-------------------:|:--------:|:------------:|
237-
| 1 | Scrapling | 1.92 | 1.0x |
238-
| 2 | Parsel/Scrapy | 1.99 | 1.036x |
239-
| 3 | Raw Lxml | 2.33 | 1.214x |
240-
| 4 | PyQuery | 20.61 | ~11x |
241-
| 5 | Selectolax | 80.65 | ~42x |
242-
| 6 | BS4 with Lxml | 1283.21 | ~698x |
243-
| 7 | MechanicalSoup | 1304.57 | ~679x |
244-
| 8 | BS4 with html5lib | 3331.96 | ~1735x |
235+
| # | ライブラリ | 時間(ms) | vs Scrapling |
236+
|---|:-----------------:|:-------:|:------------:|
237+
| 1 | Scrapling | 1.99 | 1.0x |
238+
| 2 | Parsel/Scrapy | 2.01 | 1.01x |
239+
| 3 | Raw Lxml | 2.5 | 1.256x |
240+
| 4 | PyQuery | 22.93 | ~11.5x |
241+
| 5 | Selectolax | 80.57 | ~40.5x |
242+
| 6 | BS4 with Lxml | 1541.37 | ~774.6x |
243+
| 7 | MechanicalSoup | 1547.35 | ~777.6x |
244+
| 8 | BS4 with html5lib | 3410.58 | ~1713.9x |
245+
245246

246247
### 要素類似性とテキスト検索のパフォーマンス
247248

248249
Scraplingの適応型要素検索機能は代替手段を大幅に上回ります:
249250

250-
| ライブラリ | 時間(ms) | vs Scrapling |
251-
|-------------|:--------:|:------------:|
252-
| Scrapling | 1.87 | 1.0x |
253-
| AutoScraper | 10.24 | 5.476x |
251+
| ライブラリ | 時間(ms) | vs Scrapling |
252+
|-------------|:------:|:------------:|
253+
| Scrapling | 2.46 | 1.0x |
254+
| AutoScraper | 13.3 | 5.407x |
254255

255256

256257
> すべてのベンチマークは100回以上の実行の平均を表します。方法論については[benchmarks.py](https://github.com/D4Vinci/Scrapling/blob/main/benchmarks.py)を参照してください。

docs/README_RU.md

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -232,25 +232,26 @@ Scrapling не только мощный - он также невероятно
232232

233233
### Тест скорости извлечения текста (5000 вложенных элементов)
234234

235-
| # | Библиотека | Время (мс) | vs Scrapling |
236-
|---|:--------------------:|:----------:|:------------:|
237-
| 1 | Scrapling | 1.92 | 1.0x |
238-
| 2 | Parsel/Scrapy | 1.99 | 1.036x |
239-
| 3 | Raw Lxml | 2.33 | 1.214x |
240-
| 4 | PyQuery | 20.61 | ~11x |
241-
| 5 | Selectolax | 80.65 | ~42x |
242-
| 6 | BS4 с Lxml | 1283.21 | ~698x |
243-
| 7 | MechanicalSoup | 1304.57 | ~679x |
244-
| 8 | BS4 с html5lib | 3331.96 | ~1735x |
235+
| # | Библиотека | Время (мс) | vs Scrapling |
236+
|---|:-----------------:|:----------:|:------------:|
237+
| 1 | Scrapling | 1.99 | 1.0x |
238+
| 2 | Parsel/Scrapy | 2.01 | 1.01x |
239+
| 3 | Raw Lxml | 2.5 | 1.256x |
240+
| 4 | PyQuery | 22.93 | ~11.5x |
241+
| 5 | Selectolax | 80.57 | ~40.5x |
242+
| 6 | BS4 with Lxml | 1541.37 | ~774.6x |
243+
| 7 | MechanicalSoup | 1547.35 | ~777.6x |
244+
| 8 | BS4 with html5lib | 3410.58 | ~1713.9x |
245+
245246

246247
### Производительность подобия элементов и текстового поиска
247248

248249
Возможности адаптивного поиска элементов Scrapling значительно превосходят альтернативы:
249250

250-
| Библиотека | Время (мс) | vs Scrapling |
251+
| Библиотека | Время (мс) | vs Scrapling |
251252
|-------------|:----------:|:------------:|
252-
| Scrapling | 1.87 | 1.0x |
253-
| AutoScraper | 10.24 | 5.476x |
253+
| Scrapling | 2.46 | 1.0x |
254+
| AutoScraper | 13.3 | 5.407x |
254255

255256

256257
> Все тесты производительности представляют собой средние значения более 100 запусков. См. [benchmarks.py](https://github.com/D4Vinci/Scrapling/blob/main/benchmarks.py) для методологии.

docs/benchmarks.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,20 @@ Scrapling isn't just powerful—it's also blazing fast, and the updates since ve
88

99
| # | Library | Time (ms) | vs Scrapling |
1010
|---|:-----------------:|:---------:|:------------:|
11-
| 1 | Scrapling | 1.92 | 1.0x |
12-
| 2 | Parsel/Scrapy | 1.99 | 1.036x |
13-
| 3 | Raw Lxml | 2.33 | 1.214x |
14-
| 4 | PyQuery | 20.61 | ~11x |
15-
| 5 | Selectolax | 80.65 | ~42x |
16-
| 6 | BS4 with Lxml | 1283.21 | ~698x |
17-
| 7 | MechanicalSoup | 1304.57 | ~679x |
18-
| 8 | BS4 with html5lib | 3331.96 | ~1735x |
11+
| 1 | Scrapling | 1.99 | 1.0x |
12+
| 2 | Parsel/Scrapy | 2.01 | 1.01x |
13+
| 3 | Raw Lxml | 2.5 | 1.256x |
14+
| 4 | PyQuery | 22.93 | ~11.5x |
15+
| 5 | Selectolax | 80.57 | ~40.5x |
16+
| 6 | BS4 with Lxml | 1541.37 | ~774.6x |
17+
| 7 | MechanicalSoup | 1547.35 | ~777.6x |
18+
| 8 | BS4 with html5lib | 3410.58 | ~1713.9x |
1919

2020
### Element Similarity & Text Search Performance
2121

2222
Scrapling's adaptive element finding capabilities significantly outperform alternatives:
2323

24-
| Library | Time (ms) | vs Scrapling |
24+
| Library | Time (ms) | vs Scrapling |
2525
|-------------|:---------:|:------------:|
26-
| Scrapling | 1.87 | 1.0x |
27-
| AutoScraper | 10.24 | 5.476x |
26+
| Scrapling | 2.46 | 1.0x |
27+
| AutoScraper | 13.3 | 5.407x |

0 commit comments

Comments
 (0)