https://bugzilla.wikimedia.org/show_bug.cgi?id=56769

--- Comment #6 from Aaron Schulz <aschulz4...@gmail.com> ---
Some eval.php profiling.

> $title = Title::newFromText( 'Math page' );

> $text = ''; for ( $i=0; $i<100; ++$i ) { $text .= "<math>i = " . mt_rand( 0, 
> 2000000000 ) . "</mat                                                         
>                h>\n"; }

> $content = ContentHandler::makeContent( $text, $title );

> $content->getParserOutput( $title );

> wfLogProfilingData();
<!--
100.00% 93.631767      1 - -total
 99.96% 93.597670      1 - Parser::parse
 99.96% 93.597645      1 - Parser::parse-call_user_func_array
 99.84% 93.479773    317 - PPFrame_DOM::expand
 99.83% 93.474312      1 - Parser::internalParse
 99.83% 93.472083      5 - Parser::replaceVariables
 99.74% 93.385419    100 - MathHooks::mathTagHook
 98.58% 92.301875    100 - MathTexvc::callTexvc
 31.91% 29.878679    100 -
FileBackendStore::doQuickOperationsInternal-global-swift
 31.90% 29.865421    100 - FileBackendStore::storeInternal-global-swift
 24.23% 22.683115    100 -
FileBackendStore::doQuickOperationsInternal-global-swift-eqiad
 24.21% 22.667449    100 - FileBackendStore::storeInternal-global-swift-eqiad
  4.10% 3.843399    100 - FileBackendStore::doPrepare-global-swift
  0.96% 0.894944    100 - FileBackendStore::doPrepare-global-swift-eqiad
  0.79% 0.738057    100 - MathTexvc::writeCache
  0.59% 0.550794    100 - DatabaseBase::query-master
  0.58% 0.545479    100 - query-m: REPLACE INTO `math`
(math_inputhash,math_outputhash,math_html_con                                  
                                     servativeness,math_html,math_mathml)
VALUES ('X')

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to