# Results from testing overload module usage performance for a # compiled-from-source interpreter versus the standard RH perl # interpreter # # 2008/04/01 # [user ~]$ uname -a Linux the.machine.name 2.6.18-8.1.8.el5xen #1 SMP Mon Jun 25 17:19:38 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux [user ~]$ ~/perl/bin/perl overload_bug.t 1..6 # prepping perl interpreter with Hashref instantiation (prime the pump) ok 1 - Hashref instantiation (prime the pump) # Hashref instantiation (prime the pump) time: 0.0089918s # prepping perl interpreter with BlessedHashref instantiation (prime the pump) ok 2 - BlessedHashref instantiation (prime the pump) # BlessedHashref instantiation (prime the pump) time: 0.017906s # prepping perl interpreter with OverloadHashref instantiation (prime the pump) ok 3 - OverloadHashref instantiation (prime the pump) # OverloadHashref instantiation (prime the pump) time: 0.0131737s # perforiming test: BlessedHashref bulk empty instantiation ok 4 - BlessedHashref bulk empty instantiation # BlessedHashref bulk empty instantiation time: 0.012444s # perforiming test: OverloadHashref bulk empty instantiation ok 5 - OverloadHashref bulk empty instantiation # OverloadHashref bulk empty instantiation time: 0.012465s # difference: 0.2% longer ok 6 - Negligible difference for overload [user ~]$ /usr/bin/perl overload_bug.t 1..6 # prepping perl interpreter with Hashref instantiation (prime the pump) ok 1 - Hashref instantiation (prime the pump) # Hashref instantiation (prime the pump) time: 0.0075825s # prepping perl interpreter with BlessedHashref instantiation (prime the pump) ok 2 - BlessedHashref instantiation (prime the pump) # BlessedHashref instantiation (prime the pump) time: 0.0171273s # prepping perl interpreter with OverloadHashref instantiation (prime the pump) ok 3 - OverloadHashref instantiation (prime the pump) # OverloadHashref instantiation (prime the pump) time: 5.2946298s # perforiming test: BlessedHashref bulk empty instantiation ok 4 - BlessedHashref bulk empty instantiation # BlessedHashref bulk empty instantiation time: 0.011003s # perforiming test: OverloadHashref bulk empty instantiation ok 5 - OverloadHashref bulk empty instantiation # OverloadHashref bulk empty instantiation time: 3.671455s # difference: 33267.8% longer not ok 6 - Negligible difference for overload # Failed test 'Negligible difference for overload' # at overload_bug.t line 273. # Looks like you failed 1 test of 6.