[pcre-dev] [Bug 1844] New: Building application/PCRE with GC…

Góra strony
Delete this message
Autor: admin
Data:  
Dla: pcre-dev
Temat: [pcre-dev] [Bug 1844] New: Building application/PCRE with GCC compiler on AIX6.1 64Bit is taking more time as compared to building with compiler cc_r
https://bugs.exim.org/show_bug.cgi?id=1844

            Bug ID: 1844
           Summary: Building application/PCRE with GCC compiler on AIX6.1
                    64Bit is taking more time as compared to building with
                    compiler cc_r
           Product: PCRE
           Version: 8.34
          Hardware: x86-64
                OS: AIX
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Code
          Assignee: ph10@???
          Reporter: pankaj-g@???
                CC: pcre-dev@???


Created attachment 891
--> https://bugs.exim.org/attachment.cgi?id=891&action=edit
gprof output

Hi Team,

Facing strange issue post building application with PCRE lib on AIX6.1 64Bit
with gcc compiler. Now processing file(1GB) with regex just as string(just one
or two matches) is taking 2-3 time more i.e (5mins approx).
Earlier we were using cc_r compiler(2mins approx).

Further we checked where processing is taking more time using gprof and results
are showing that it is taking more time in most of time in PCRE's match
function. Attaching detailed gprof results for your reference.

Using GCC compiler:Time: 314.80 seconds
  %   cumulative   self              self     total           
 time   seconds   seconds    calls  ms/call  ms/call  name    
 70.2     220.89   220.89                             .match [1]
15.2     268.66    47.77                             .pcre_exec [2]  


Using cc_r AIX compiler: Time: 103.77 seconds

  %   cumulative   self              self     total           
 time   seconds   seconds    calls  ms/call  ms/call  name    
 57.5      59.69    59.69                             .match [1]
  7.4      67.40     7.71                             uitrunc_const [2]
  7.0      74.70     7.30                             .pcre_exec [3]
  3.3      78.15     3.45                             .ptScanLineEx [4]


Is there and such known issue or limitation? Can you please look into this and
let us know why it is taking more time when build with gcc. Are we missing
anything?
Note: regex used is a fixed string with just two matches i.e in beginning and
end of file.

Thank you.
Best regards,
Arun Kumar

--
You are receiving this mail because:
You are on the CC list for the bug.