Hi!

> I'm not sure what you are profiling,

Wikipedia :) 

> but when repeatingly requesting a
> preview of an article containing 200000 bytes of data consisting of the
> pattern "a a a a a a " I got the below results.  (The php parser doesn't
> seem to depend on perl regexps.)

I'm sure nothing profiles better than a synthetic edge case. What do you mean 
by it not depending on perl regexps? It is top symbol in your profile. 

> CPU: CPU with timer interrupt, speed 0 MHz (estimated)
> Profiling through timer interrupt
> samples  %        app name                 symbol name
> 994      23.4933  libpcre.so.3.12.1        /lib/libpcre.so.3.12.1
> 545      12.8811  libphp5.so               zendparse
> 369       8.7213  libphp5.so               lex_scan
> 256       6.0506  libc-2.11.2.so           memcpy
> 137       3.2380  libphp5.so               zend_hash_find
> 135       3.1907  libphp5.so               _zend_mm_alloc_canary_int
> 105       2.4817  libphp5.so               __i686.get_pc_thunk.bx
> 90        2.1272  libphp5.so               _zend_mm_free_canary_int
> 67        1.5835  libphp5.so               zif_strtr
> 59        1.3945  libphp5.so               zend_mm_add_to_free_list
> 48        1.1345  libphp5.so               zend_mm_remove_from_free_list

Domas


_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to