Show HN: Which is faster? Puppeteer, Playwright or Selenium

https://colab.research.google.com/drive/11qDml4BwXrJ9L6kfEX4kRDvDv42eW7Y-?usp=sharing
by eneuman • 3 years ago
6 4 3 years ago

Hey Everyone, I just ran a [rather silly] race between Puppeteer (JS), Playwright (Python) and Selenium (Python) to see which one would be fastest on a simple scrape (using Google Colab so you can also run it)

Far from a comprehensive benchmark, this race is 100% free from advanced configurations, multi-threading or anything complicated. It just opens Wallapop (a second hand marketplace in Spain) and times how long it takes to extract the first 2000 results of a search.

If you like this simple format, have any ideas on how to improve a race like this or have a strong urge to prove Ward Cunningham wright, let me know in the comments!

Related Stories

Loading related stories...

Source preview

colab.research.google.com