You can use Surveyor::Benchmark::HTMLEntities under the same terms as Perl itself.