Re: [PHP4BETA] ZTS mode sooo much slower?
| From: | Rasmus Lerdorf | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | Re: [PHP4BETA] ZTS mode sooo much slower? | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-4172@lists.php.net to get a copy of this message | ||
> > > >63% zendFlexLexer::yy_get_previous_state()
> > > >12% ZendFlexLexer::lex_scan(...)
> > > >7% zendFlexLexer::yy_get_next_buffer(...)
> > > >2% zendparse()
> > > >
> > > >in "not-ZTS-mode" zendparse is the "busiest" function...
>
> We don't really see the performance hit in the stats Thies sent (unless I
> missed something). Thies - can you send the stats for the thread unsafe
> version?
Well, he said that yy_get_previous_state(), lex_scan() and
yy_get_next_buffer() are all taking up more time than zendparse() in ZTS
mode while in non-ZTS mode zendparse() is the busiest function. That
can't be good and his numbers reflected that. I don't think this can be
attributed solely to g++.
-Rasmus