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

--- Comment #9 from Roan Kattouw <roan.katt...@gmail.com> 2012-08-29 23:22:46 
UTC ---
(In reply to comment #8)
> How long does CSSJanus take to run on that file, with a sufficient backtrack
> limit?
On fenari:

> $style = 
> file_get_contents('/usr/local/apache/common/php-1.20wmf10/extensions/ArticleFeedbackv5/modules/jquery.articleFeedbackv5/jquery.articleFeedbackv5.special.css')

> ini_set('pcre.backtrack_limit', 1e6)

> $start = microtime(true); for ( $i = 0; $i < 1000; $i++ ) { 
> CSSJanus::transform($style, true, false ); } $end = microtime(true); echo 
> $end-$start;
54.10337305069

So 54ms.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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