module Nokogiri::XML

Constants

PROFILE_DATA

rubocop:disable Style/MutableConstant

Public Class Methods

print_profile_data() click to toggle source

Patches inside Nokogiri to count, time, and print searches. At end of baking you can `puts Nokogiri::XML::PROFILE_DATA` to see the totals. The counts hash is defined outside of the if block so that code that prints it doesn't explode if run without the env var. The `print_profile_data` method is also provided for a nice printout