Next up in my posts of the HTML Software I'm testing is a PHP version which is generally labelled htmldiff.
It has some different versions of itself, including an original Java codebase named Daisy Diff.
Advantages
- The first one is naturally the fact that it's written in PHP. Very easy to include into my controller logic, and little potential for conflicts with requiring linux packages to be available
- Easy API: Very simple to use, and compare two documents to
Disadvantages
- Slow: When comparing the Amazon link http://www.amazon.com/Restful-Web-Services-Leonard-Richardson/dp/0596529260, this library would often timeout. When comparing it with the C library (which happened to work unbelievably fast), it seemed kind of ridiculous.
The speed of this library was enough for me to look elsewhere. It may be useful in small pieces of markup for evaluation, but for full documents, it doesn't seem usable.
Note
My code is running on a VM on my OSX machine, whereby it has a cpu and 512MB of ram at it's disposal.