← 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 11:58:52 2013
Reported on Tue Oct 15 12:01:51 2013

Filename/usr/lib/perl/5.10/POSIX.pm
StatementsExecuted 94 statements in 3.34ms
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
1111.39ms1.70msPOSIX::SigRt::::BEGIN@64 POSIX::SigRt::BEGIN@64
111660µs660µsPOSIX::::load_imports POSIX::load_imports
777251µs11.4msPOSIX::::import POSIX::import
11141µs41µsPOSIX::::ceil POSIX::ceil (xsub)
11131µs38µsPOSIX::::BEGIN@2 POSIX::BEGIN@2
11126µs472µsPOSIX::::BEGIN@13 POSIX::BEGIN@13
11125µs1.32msPOSIX::::BEGIN@9 POSIX::BEGIN@9
11121µs31µsPOSIX::::BEGIN@39 POSIX::BEGIN@39
11120µs196µsPOSIX::::BEGIN@40 POSIX::BEGIN@40
11120µs178µsPOSIX::SigRt::::BEGIN@66 POSIX::SigRt::BEGIN@66
11119µs92µsPOSIX::SigAction::::BEGIN@58POSIX::SigAction::BEGIN@58
11117µs42µsPOSIX::::BEGIN@3 POSIX::BEGIN@3
11116µs55µsPOSIX::SigRt::::BEGIN@62 POSIX::SigRt::BEGIN@62
82116µs16µsPOSIX::::CORE:match POSIX::CORE:match (opcode)
11116µs20µsPOSIX::::AUTOLOAD POSIX::AUTOLOAD
11111µs11µ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
2344µs244µs
# spent 38µs (31+6) within POSIX::BEGIN@2 which was called: # once (31µs+6µs) by C4::Context::BEGIN@106 at line 2
# spent 38µs making 1 call to POSIX::BEGIN@2 # spent 6µs making 1 call to strict::import
33173µs266µs
# spent 42µs (17+25) within POSIX::BEGIN@3 which was called: # once (17µs+25µs) by C4::Context::BEGIN@106 at line 3
# spent 42µs making 1 call to POSIX::BEGIN@3 # spent 25µs making 1 call to warnings::import
- -
5111µs
- -
711µs
- -
9361µs22.61ms
# spent 1.32ms (25µs+1.29) within POSIX::BEGIN@9 which was called: # once (25µs+1.29ms) by C4::Context::BEGIN@106 at line 9
# spent 1.32ms making 1 call to POSIX::BEGIN@9 # spent 1.29ms making 1 call to AutoLoader::import
- -
11392µs111µs
# spent 11µs within POSIX::BEGIN@11 which was called: # once (11µs+0s) by C4::Context::BEGIN@106 at line 11
# spent 11µs making 1 call to POSIX::BEGIN@11
- -
13118µs1447µs
# spent 472µs (26+447) within POSIX::BEGIN@13 which was called: # once (26µs+447µs) by C4::Context::BEGIN@106 at line 19
# spent 447µs making 1 call to Exporter::import
- -
192301µs1472µs
# spent 472µs making 1 call to POSIX::BEGIN@13
- -
221500ns
- -
24
# spent 11.4ms (251µs+11.2) within POSIX::import which was called 7 times, avg 1.64ms/call: # once (61µs+4.00ms) by C4::Ratings::BEGIN@25 at line 25 of /usr/share/koha/lib/C4/Ratings.pm # once (44µs+3.85ms) by MARC::Charset::Table::BEGIN@36 at line 36 of MARC/Charset/Table.pm # once (44µs+3.14ms) by C4::Dates::BEGIN@28 at line 28 of /usr/share/koha/lib/C4/Dates.pm # once (33µs+64µs) by Set::Infinite::Arithmetic::BEGIN@11 at line 11 of Set/Infinite/Arithmetic.pm # once (24µs+54µs) by main::BEGIN@56 at line 56 of /usr/share/koha/opac/cgi-bin/opac/opac-search.pl # once (22µs+46µs) by C4::Biblio::BEGIN@30 at line 30 of /usr/share/koha/lib/C4/Biblio.pm # once (23µs+43µs) by C4::Auth::BEGIN@32 at line 32 of /usr/share/koha/lib/C4/Auth.pm
25717µs120µs
# spent 20µs making 1 call to POSIX::AUTOLOAD
26710µs
271472µs712µs
# spent 12µs making 7 calls to POSIX::CORE:match, avg 2µs/call
2876µs
29765µs79.61ms
# spent 9.61ms making 7 calls to Exporter::import, avg 1.37ms/call
- -
32
- -
361880µs1869µs
# spent 869µs making 1 call to XSLoader::load
- -
38
# spent 20µs (16+4) within POSIX::AUTOLOAD which was called: # once (16µs+4µs) by POSIX::import at line 25
39362µs242µs
# spent 31µs (21+10) within POSIX::BEGIN@39 which was called: # once (21µs+10µs) by C4::Context::BEGIN@106 at line 39
# spent 31µs making 1 call to POSIX::BEGIN@39 # spent 10µs making 1 call to strict::unimport
403268µs2372µs
# spent 196µs (20+176) within POSIX::BEGIN@40 which was called: # once (20µs+176µs) by C4::Context::BEGIN@106 at line 40
# spent 196µs making 1 call to POSIX::BEGIN@40 # spent 176µs making 1 call to warnings::unimport
41112µs14µs
# spent 4µs making 1 call to POSIX::CORE:match
- -
4312µs
4418µs1898µs
# spent 898µs making 1 call to AutoLoader::AUTOLOAD
- -
51
- -
58378µs2164µs
# spent 92µs (19+73) within POSIX::SigAction::BEGIN@58 which was called: # once (19µs+73µs) by C4::Context::BEGIN@106 at line 58
# spent 92µs making 1 call to POSIX::SigAction::BEGIN@58 # spent 73µs making 1 call to AutoLoader::import
- -
62350µs293µs
# spent 55µs (16+38) within POSIX::SigRt::BEGIN@62 which was called: # once (16µs+38µs) by C4::Context::BEGIN@106 at line 62
# spent 55µs making 1 call to POSIX::SigRt::BEGIN@62 # spent 38µs making 1 call to AutoLoader::import
- -
643270µs11.70ms
# spent 1.70ms (1.39+312µs) within POSIX::SigRt::BEGIN@64 which was called: # once (1.39ms+312µs) by C4::Context::BEGIN@106 at line 64
# spent 1.70ms making 1 call to POSIX::SigRt::BEGIN@64
- -
663122µs2337µs
# spent 178µs (20+158) within POSIX::SigRt::BEGIN@66 which was called: # once (20µs+158µs) by C4::Context::BEGIN@106 at line 66
# spent 178µs making 1 call to POSIX::SigRt::BEGIN@66 # spent 158µs making 1 call to vars::import
67119µs
- -
691800ns
- -
71112µs110µs
# spent 10µs making 1 call to Tie::StdHash::TIEHASH
- -
73
- -
77113µs
- -
758#line 759 "../../lib/POSIX.pm (autosplit into ../../lib/auto/POSIX/load_imports.al)"
759
# spent 660µs within POSIX::load_imports which was called: # once (660µs+0s) by POSIX::import at line 51 of AutoLoader.pm
sub load_imports {
7601129µ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:
912216µs my %export;
9131391µs @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.
9161110µs push @EXPORT, keys %export;
917}
918
919110µs@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
97819µsrequire Exporter;
979}
980
981# end of POSIX::SigAction::load_imports
98213µs1;
 
# spent 16µs within POSIX::CORE:match which was called 8 times, avg 2µs/call: # 7 times (12µs+0s) by POSIX::import at line 27, avg 2µs/call # once (4µs+0s) by POSIX::AUTOLOAD at line 41
sub POSIX::CORE:match; # opcode
# spent 41µs within POSIX::ceil which was called: # once (41µs+0s) by main::RUNTIME at line 762 of /usr/share/koha/opac/cgi-bin/opac/opac-search.pl
sub POSIX::ceil; # xsub