芝麻web文件管理V1.00
编辑当前文件:/home/ezdajrnh/public_html/wp-content/plugins/jetpack/vendor/wikimedia/aho-corasick/bench/bench.php
searchAndReplace( $text ); } $endTime = microtime( true ); $wallTime = 1000 * ( ( $endTime - $startTime ) / $loops ); printf( "%-'.40s %.2fms\n", 'MultiStringRepeater::searchAndReplace(): ', $wallTime ); if ( $profile ) { $profile = xhprof_disable(); foreach ( $profile as $func => $data ) { printf( "%s: %.2f\n", $func, $data['cpu'] / $data['ct'] ); } } } if ( function_exists( 'fss_prep_replace' ) && isset( $options['fss'] ) ) { $fss = fss_prep_replace( $zh2Hant ); $startTime = microtime( true ); for ( $i = 0; $i < $loops; $i++ ) { fss_exec_replace( $fss, $text ); } $endTime = microtime( true ); $wallTime = 1000 * ( ( $endTime - $startTime ) / $loops ); printf( "%-'.40s %.2fms\n", 'fss_exec_replace(): ', $wallTime ); } if ( isset( $options['strtr'] ) ) { $startTime = microtime( true ); for ( $i = 0; $i < $loops; $i++ ) { strtr( $text, $zh2Hant ); } $endTime = microtime( true ); $wallTime = 1000 * ( ( $endTime - $startTime ) / $loops ); printf( "%-'.40s %.2fms\n", 'strtr(): ', $wallTime ); }