ManasMarwah has asked for the wisdom of the Perl Monks concerning the following question:
Dear PerlMonks, I just migrated from RHEL5 to RHEL6 in one of my working project. Due to this Perl version has also been upgraded from Perl 5.8.8 to Perl 5.10.1 (Base Perl Package of RHEL 6.6). I observed few behavioral as well as performance Impact for the same Perl scripts which was used in Perl 5.8.8. Sharing few instances below: Profiler used: NYTProf 5.06
1st Instance. Test.plprofiler Output with Perl 5.8.8:#!/usr/bin/perl -w use POSIX ":sys_wait_h";
profiler Output with Perl 5.10.1:Timeon line Calls Timein subs 67µs 1 5.85ms spent 5.85ms making 1 call to POSIX::import
Query: Why is this extra call is going in Perl 5.10.1 Is it the reason for increase in time.Timeon line Calls Timein subs 178µs 2 23.0ms spent 17.9ms (935µs+16.9) within main::BEGIN@3 which was called: # onc +e (935µs+16.9ms) by main::RUNTIME at line 3 use POSIX ":sys_wait_h"; # spent 17.9ms making 1 call to main::BEGIN@3 # spent 5.17ms making 1 +call to POSIX::import
|
|---|