ops: update benchmarks script

This commit is contained in:
Karim shoair
2026-02-08 23:33:30 +02:00
parent 0c86d70307
commit 1f9eb17414
+1 -1
View File
@@ -75,7 +75,7 @@ def test_scrapling():
# No need to do `.extract()` like parsel to extract text
# Also, this is faster than `[t.text for t in Selector(large_html, adaptive=False).css('.item')]`
# for obvious reasons, of course.
return ScraplingSelector(large_html, adaptive=False).css(".item::text")
return ScraplingSelector(large_html, adaptive=False).css(".item::text").getall()
@benchmark