Simple HTML DOM is SLOW

Yes simple html dom is slow. But how slow is it?

This benchmark will show you. It extracts all href, src and input names from an arbitrary web page using simple_html_dom, and the built in php DOM library.

View the code



profile for Byron Whitlock at Stack Overflow, Q&A for professional and enthusiast programmers

Downloadable Tools

EasyCSV - Run SQL queries against CSV files (windows).

FastCrawl - PHP web crawling framework.

Creative Commons License

Fun Stuff

DOM Benchmarks - So you think simple html dom is the greatest thing since sliced bread? Think again. The PHP built in libraries DOM(inate).

Craigslist Gigfinder - Find gigs in the computer section. No need to click over multiple cities any more, the gigfinder puts it all in one place!

Online image resizer - Quick and dirty image resizer

Plate Techtonics - A fun way to show off jquery transitions.