← Index
NYTProf Performance Profile   « block view • line view • sub view »
For /usr/share/koha/opac/cgi-bin/opac/opac-search.pl
  Run on Tue Oct 15 17:10:45 2013
Reported on Tue Oct 15 17:11:22 2013

Filename/usr/lib/perl/5.10/POSIX.pm
StatementsExecuted 94 statements in 2.34ms
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
111690µs863µsPOSIX::SigRt::::BEGIN@64 POSIX::SigRt::BEGIN@64
111636µs636µsPOSIX::::load_imports POSIX::load_imports
777272µs12.1msPOSIX::::import POSIX::import
11130µs30µsPOSIX::::ceil POSIX::ceil (xsub)
11118µs22µsPOSIX::::AUTOLOAD POSIX::AUTOLOAD
11117µs22µsPOSIX::::BEGIN@2 POSIX::BEGIN@2
82116µs16µsPOSIX::::CORE:match POSIX::CORE:match (opcode)
11115µs734µsPOSIX::::BEGIN@9 POSIX::BEGIN@9
11115µs227µsPOSIX::::BEGIN@13 POSIX::BEGIN@13
11114µs27µsPOSIX::::BEGIN@3 POSIX::BEGIN@3
11112µs19µsPOSIX::::BEGIN@39 POSIX::BEGIN@39
11112µs32µsPOSIX::::BEGIN@40 POSIX::BEGIN@40
1119µs85µsPOSIX::SigRt::::BEGIN@66 POSIX::SigRt::BEGIN@66
1119µs38µsPOSIX::SigAction::::BEGIN@58POSIX::SigAction::BEGIN@58
1118µs27µsPOSIX::SigRt::::BEGIN@62 POSIX::SigRt::BEGIN@62
1116µs6µsPOSIX::::BEGIN@11 POSIX::BEGIN@11
0000s0sPOSIX::SigRt::::DESTROY POSIX::SigRt::DESTROY
0000s0sPOSIX::::__ANON__[:51] POSIX::__ANON__[:51]
0000s0sPOSIX::::croak POSIX::croak
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1
2327µs227µs
# spent 22µs (17+5) within POSIX::BEGIN@2 which was called: # once (17µs+5µs) by C4::Context::BEGIN@106 at line 2
# spent 22µs making 1 call to POSIX::BEGIN@2 # spent 5µs making 1 call to strict::import
3367µs240µs
# spent 27µs (14+13) within POSIX::BEGIN@3 which was called: # once (14µs+13µs) by C4::Context::BEGIN@106 at line 3
# spent 27µs making 1 call to POSIX::BEGIN@3 # spent 13µs making 1 call to warnings::import
- -
514µs
- -
71500ns
- -
9334µs21.45ms
# spent 734µs (15+719) within POSIX::BEGIN@9 which was called: # once (15µs+719µs) by C4::Context::BEGIN@106 at line 9
# spent 734µs making 1 call to POSIX::BEGIN@9 # spent 719µs making 1 call to AutoLoader::import
- -
11355µs16µs
# spent 6µs within POSIX::BEGIN@11 which was called: # once (6µs+0s) by C4::Context::BEGIN@106 at line 11
# spent 6µs making 1 call to POSIX::BEGIN@11
- -
131213µs
# spent 227µs (15+213) within POSIX::BEGIN@13 which was called: # once (15µs+213µs) by C4::Context::BEGIN@106 at line 19
# spent 213µs making 1 call to Exporter::import
- -
193172µs1227µs
# spent 227µs making 1 call to POSIX::BEGIN@13
- -
221300ns
- -
24
# spent 12.1ms (272µs+11.8) within POSIX::import which was called 7 times, avg 1.73ms/call: # once (62µs+4.77ms) by MARC::Charset::Table::BEGIN@36 at line 36 of MARC/Charset/Table.pm # once (73µs+3.92ms) by C4::Ratings::BEGIN@25 at line 25 of /usr/share/koha/lib/C4/Ratings.pm # once (38µs+2.93ms) by C4::Dates::BEGIN@28 at line 28 of /usr/share/koha/lib/C4/Dates.pm # once (26µs+51µs) by C4::Biblio::BEGIN@30 at line 30 of /usr/share/koha/lib/C4/Biblio.pm # once (23µs+54µs) by main::BEGIN@56 at line 56 of /usr/share/koha/opac/cgi-bin/opac/opac-search.pl # once (24µs+43µs) by C4::Auth::BEGIN@32 at line 32 of /usr/share/koha/lib/C4/Auth.pm # once (25µs+40µs) by Set::Infinite::Arithmetic::BEGIN@11 at line 11 of Set/Infinite/Arithmetic.pm
2542165µs122µs
# spent 22µs making 1 call to POSIX::AUTOLOAD
- -
27711µs
# spent 11µs making 7 calls to POSIX::CORE:match, avg 2µs/call
- -
29710.4ms
# spent 10.4ms making 7 calls to Exporter::import, avg 1.48ms/call
- -
32
- -
361644µs1636µs
# spent 636µs making 1 call to XSLoader::load
- -
38
# spent 22µs (18+5) within POSIX::AUTOLOAD which was called: # once (18µs+5µs) by POSIX::import at line 25
39329µs225µs
# spent 19µs (12+6) within POSIX::BEGIN@39 which was called: # once (12µs+6µs) by C4::Context::BEGIN@106 at line 39
# spent 19µs making 1 call to POSIX::BEGIN@39 # spent 7µs making 1 call to strict::unimport
403166µs253µs
# spent 32µs (12+21) within POSIX::BEGIN@40 which was called: # once (12µs+21µs) by C4::Context::BEGIN@106 at line 40
# spent 32µs making 1 call to POSIX::BEGIN@40 # spent 21µs making 1 call to warnings::unimport
41326µs15µs
# spent 5µs making 1 call to POSIX::CORE:match
- -
441754µs
# spent 754µs making 1 call to AutoLoader::AUTOLOAD
- -
51
- -
58339µs266µs
# spent 38µs (9+29) within POSIX::SigAction::BEGIN@58 which was called: # once (9µs+29µs) by C4::Context::BEGIN@106 at line 58
# spent 38µs making 1 call to POSIX::SigAction::BEGIN@58 # spent 29µs making 1 call to AutoLoader::import
- -
62327µs245µs
# spent 27µs (8+18) within POSIX::SigRt::BEGIN@62 which was called: # once (8µs+18µs) by C4::Context::BEGIN@106 at line 62
# spent 27µs making 1 call to POSIX::SigRt::BEGIN@62 # spent 18µs making 1 call to AutoLoader::import
- -
643146µs1863µs
# spent 863µs (690+173) within POSIX::SigRt::BEGIN@64 which was called: # once (690µs+173µs) by C4::Context::BEGIN@106 at line 64
# spent 863µs making 1 call to POSIX::SigRt::BEGIN@64
- -
66364µs2160µs
# spent 85µs (9+75) within POSIX::SigRt::BEGIN@66 which was called: # once (9µs+75µs) by C4::Context::BEGIN@106 at line 66
# spent 85µs making 1 call to POSIX::SigRt::BEGIN@66 # spent 75µs making 1 call to vars::import
6719µs
- -
691600ns
- -
7117µs19µs
# spent 9µs making 1 call to Tie::StdHash::TIEHASH
- -
73
- -
7719µs
- -
758#line 759 "../../lib/POSIX.pm (autosplit into ../../lib/auto/POSIX/load_imports.al)"
759
# spent 636µs within POSIX::load_imports which was called: # once (636µs+0s) by POSIX::import at line 51 of AutoLoader.pm
sub load_imports {
7607638µs%EXPORT_TAGS = (
761
762 assert_h => [qw(assert NDEBUG)],
763
764 ctype_h => [qw(isalnum isalpha iscntrl isdigit isgraph islower
765 isprint ispunct isspace isupper isxdigit tolower toupper)],
766
767 dirent_h => [],
768
769 errno_h => [qw(E2BIG EACCES EADDRINUSE EADDRNOTAVAIL EAFNOSUPPORT
770 EAGAIN EALREADY EBADF EBUSY ECHILD ECONNABORTED
771 ECONNREFUSED ECONNRESET EDEADLK EDESTADDRREQ EDOM EDQUOT
772 EEXIST EFAULT EFBIG EHOSTDOWN EHOSTUNREACH EINPROGRESS
773 EINTR EINVAL EIO EISCONN EISDIR ELOOP EMFILE EMLINK
774 EMSGSIZE ENAMETOOLONG ENETDOWN ENETRESET ENETUNREACH
775 ENFILE ENOBUFS ENODEV ENOENT ENOEXEC ENOLCK ENOMEM
776 ENOPROTOOPT ENOSPC ENOSYS ENOTBLK ENOTCONN ENOTDIR
777 ENOTEMPTY ENOTSOCK ENOTTY ENXIO EOPNOTSUPP EPERM
778 EPFNOSUPPORT EPIPE EPROCLIM EPROTONOSUPPORT EPROTOTYPE
779 ERANGE EREMOTE ERESTART EROFS ESHUTDOWN ESOCKTNOSUPPORT
780 ESPIPE ESRCH ESTALE ETIMEDOUT ETOOMANYREFS ETXTBSY
781 EUSERS EWOULDBLOCK EXDEV errno)],
782
783 fcntl_h => [qw(FD_CLOEXEC F_DUPFD F_GETFD F_GETFL F_GETLK F_RDLCK
784 F_SETFD F_SETFL F_SETLK F_SETLKW F_UNLCK F_WRLCK
785 O_ACCMODE O_APPEND O_CREAT O_EXCL O_NOCTTY O_NONBLOCK
786 O_RDONLY O_RDWR O_TRUNC O_WRONLY
787 creat
788 SEEK_CUR SEEK_END SEEK_SET
789 S_IRGRP S_IROTH S_IRUSR S_IRWXG S_IRWXO S_IRWXU
790 S_ISBLK S_ISCHR S_ISDIR S_ISFIFO S_ISGID S_ISREG S_ISUID
791 S_IWGRP S_IWOTH S_IWUSR)],
792
793 float_h => [qw(DBL_DIG DBL_EPSILON DBL_MANT_DIG
794 DBL_MAX DBL_MAX_10_EXP DBL_MAX_EXP
795 DBL_MIN DBL_MIN_10_EXP DBL_MIN_EXP
796 FLT_DIG FLT_EPSILON FLT_MANT_DIG
797 FLT_MAX FLT_MAX_10_EXP FLT_MAX_EXP
798 FLT_MIN FLT_MIN_10_EXP FLT_MIN_EXP
799 FLT_RADIX FLT_ROUNDS
800 LDBL_DIG LDBL_EPSILON LDBL_MANT_DIG
801 LDBL_MAX LDBL_MAX_10_EXP LDBL_MAX_EXP
802 LDBL_MIN LDBL_MIN_10_EXP LDBL_MIN_EXP)],
803
804 grp_h => [],
805
806 limits_h => [qw( ARG_MAX CHAR_BIT CHAR_MAX CHAR_MIN CHILD_MAX
807 INT_MAX INT_MIN LINK_MAX LONG_MAX LONG_MIN MAX_CANON
808 MAX_INPUT MB_LEN_MAX NAME_MAX NGROUPS_MAX OPEN_MAX
809 PATH_MAX PIPE_BUF SCHAR_MAX SCHAR_MIN SHRT_MAX SHRT_MIN
810 SSIZE_MAX STREAM_MAX TZNAME_MAX UCHAR_MAX UINT_MAX
811 ULONG_MAX USHRT_MAX _POSIX_ARG_MAX _POSIX_CHILD_MAX
812 _POSIX_LINK_MAX _POSIX_MAX_CANON _POSIX_MAX_INPUT
813 _POSIX_NAME_MAX _POSIX_NGROUPS_MAX _POSIX_OPEN_MAX
814 _POSIX_PATH_MAX _POSIX_PIPE_BUF _POSIX_SSIZE_MAX
815 _POSIX_STREAM_MAX _POSIX_TZNAME_MAX)],
816
817 locale_h => [qw(LC_ALL LC_COLLATE LC_CTYPE LC_MESSAGES
818 LC_MONETARY LC_NUMERIC LC_TIME NULL
819 localeconv setlocale)],
820
821 math_h => [qw(HUGE_VAL acos asin atan ceil cosh fabs floor fmod
822 frexp ldexp log10 modf pow sinh tan tanh)],
823
824 pwd_h => [],
825
826 setjmp_h => [qw(longjmp setjmp siglongjmp sigsetjmp)],
827
828 signal_h => [qw(SA_NOCLDSTOP SA_NOCLDWAIT SA_NODEFER SA_ONSTACK
829 SA_RESETHAND SA_RESTART SA_SIGINFO SIGABRT SIGALRM
830 SIGCHLD SIGCONT SIGFPE SIGHUP SIGILL SIGINT SIGKILL
831 SIGPIPE %SIGRT SIGRTMIN SIGRTMAX SIGQUIT SIGSEGV SIGSTOP
832 SIGTERM SIGTSTP SIGTTIN SIGTTOU SIGUSR1 SIGUSR2
833 SIG_BLOCK SIG_DFL SIG_ERR SIG_IGN SIG_SETMASK SIG_UNBLOCK
834 raise sigaction signal sigpending sigprocmask sigsuspend)],
835
836 stdarg_h => [],
837
838 stddef_h => [qw(NULL offsetof)],
839
840 stdio_h => [qw(BUFSIZ EOF FILENAME_MAX L_ctermid L_cuserid
841 L_tmpname NULL SEEK_CUR SEEK_END SEEK_SET
842 STREAM_MAX TMP_MAX stderr stdin stdout
843 clearerr fclose fdopen feof ferror fflush fgetc fgetpos
844 fgets fopen fprintf fputc fputs fread freopen
845 fscanf fseek fsetpos ftell fwrite getchar gets
846 perror putc putchar puts remove rewind
847 scanf setbuf setvbuf sscanf tmpfile tmpnam
848 ungetc vfprintf vprintf vsprintf)],
849
850 stdlib_h => [qw(EXIT_FAILURE EXIT_SUCCESS MB_CUR_MAX NULL RAND_MAX
851 abort atexit atof atoi atol bsearch calloc div
852 free getenv labs ldiv malloc mblen mbstowcs mbtowc
853 qsort realloc strtod strtol strtoul wcstombs wctomb)],
854
855 string_h => [qw(NULL memchr memcmp memcpy memmove memset strcat
856 strchr strcmp strcoll strcpy strcspn strerror strlen
857 strncat strncmp strncpy strpbrk strrchr strspn strstr
858 strtok strxfrm)],
859
860 sys_stat_h => [qw(S_IRGRP S_IROTH S_IRUSR S_IRWXG S_IRWXO S_IRWXU
861 S_ISBLK S_ISCHR S_ISDIR S_ISFIFO S_ISGID S_ISREG
862 S_ISUID S_IWGRP S_IWOTH S_IWUSR S_IXGRP S_IXOTH S_IXUSR
863 fstat mkfifo)],
864
865 sys_times_h => [],
866
867 sys_types_h => [],
868
869 sys_utsname_h => [qw(uname)],
870
871 sys_wait_h => [qw(WEXITSTATUS WIFEXITED WIFSIGNALED WIFSTOPPED
872 WNOHANG WSTOPSIG WTERMSIG WUNTRACED)],
873
874 termios_h => [qw( B0 B110 B1200 B134 B150 B1800 B19200 B200 B2400
875 B300 B38400 B4800 B50 B600 B75 B9600 BRKINT CLOCAL
876 CREAD CS5 CS6 CS7 CS8 CSIZE CSTOPB ECHO ECHOE ECHOK
877 ECHONL HUPCL ICANON ICRNL IEXTEN IGNBRK IGNCR IGNPAR
878 INLCR INPCK ISIG ISTRIP IXOFF IXON NCCS NOFLSH OPOST
879 PARENB PARMRK PARODD TCIFLUSH TCIOFF TCIOFLUSH TCION
880 TCOFLUSH TCOOFF TCOON TCSADRAIN TCSAFLUSH TCSANOW
881 TOSTOP VEOF VEOL VERASE VINTR VKILL VMIN VQUIT VSTART
882 VSTOP VSUSP VTIME
883 cfgetispeed cfgetospeed cfsetispeed cfsetospeed tcdrain
884 tcflow tcflush tcgetattr tcsendbreak tcsetattr )],
885
886 time_h => [qw(CLK_TCK CLOCKS_PER_SEC NULL asctime clock ctime
887 difftime mktime strftime tzset tzname)],
888
889 unistd_h => [qw(F_OK NULL R_OK SEEK_CUR SEEK_END SEEK_SET
890 STDERR_FILENO STDIN_FILENO STDOUT_FILENO W_OK X_OK
891 _PC_CHOWN_RESTRICTED _PC_LINK_MAX _PC_MAX_CANON
892 _PC_MAX_INPUT _PC_NAME_MAX _PC_NO_TRUNC _PC_PATH_MAX
893 _PC_PIPE_BUF _PC_VDISABLE _POSIX_CHOWN_RESTRICTED
894 _POSIX_JOB_CONTROL _POSIX_NO_TRUNC _POSIX_SAVED_IDS
895 _POSIX_VDISABLE _POSIX_VERSION _SC_ARG_MAX
896 _SC_CHILD_MAX _SC_CLK_TCK _SC_JOB_CONTROL
897 _SC_NGROUPS_MAX _SC_OPEN_MAX _SC_PAGESIZE _SC_SAVED_IDS
898 _SC_STREAM_MAX _SC_TZNAME_MAX _SC_VERSION
899 _exit access ctermid cuserid
900 dup2 dup execl execle execlp execv execve execvp
901 fpathconf fsync getcwd getegid geteuid getgid getgroups
902 getpid getuid isatty lseek pathconf pause setgid setpgid
903 setsid setuid sysconf tcgetpgrp tcsetpgrp ttyname)],
904
905 utime_h => [],
906
907);
908
909# Exporter::export_tags();
910{
911 # De-duplicate the export list:
912 my %export;
913 @export{map {@$_} values %EXPORT_TAGS} = ();
914 # Doing the de-dup with a temporary hash has the advantage that the SVs in
915 # @EXPORT are actually shared hash key sacalars, which will save some memory.
916 push @EXPORT, keys %export;
917}
918
919@EXPORT_OK = qw(
920 abs
921 alarm
922 atan2
923 chdir
924 chmod
925 chown
926 close
927 closedir
928 cos
929 exit
930 exp
931 fcntl
932 fileno
933 fork
934 getc
935 getgrgid
936 getgrnam
937 getlogin
938 getpgrp
939 getppid
940 getpwnam
941 getpwuid
942 gmtime
943 isatty
944 kill
945 lchown
946 link
947 localtime
948 log
949 mkdir
950 nice
951 open
952 opendir
953 pipe
954 printf
955 rand
956 read
957 readdir
958 rename
959 rewinddir
960 rmdir
961 sin
962 sleep
963 sprintf
964 sqrt
965 srand
966 stat
967 system
968 time
969 times
970 umask
971 unlink
972 utime
973 wait
974 waitpid
975 write
976);
977
978require Exporter;
979}
980
981# end of POSIX::SigAction::load_imports
98214µs1;
 
# spent 16µs within POSIX::CORE:match which was called 8 times, avg 2µs/call: # 7 times (11µs+0s) by POSIX::import at line 27, avg 2µs/call # once (5µs+0s) by POSIX::AUTOLOAD at line 41
sub POSIX::CORE:match; # opcode
# spent 30µs within POSIX::ceil which was called: # once (30µs+0s) by main::RUNTIME at line 762 of /usr/share/koha/opac/cgi-bin/opac/opac-search.pl
sub POSIX::ceil; # xsub