Skip to content

Commit 753a143

Browse files
committed
DEBUG win ZTS + perf
1 parent ce2a572 commit 753a143

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

run-tests.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -877,14 +877,17 @@ function write_information(): void
877877
$ext_dir = ini_get('extension_dir');
878878
foreach (scandir($ext_dir) as $file) {
879879
if (preg_match('/^(?:php_)?([_a-zA-Z0-9]+)\.(?:so|dll)$/', $file, $matches)) {
880-
if (@dl($matches[1])) {
880+
$t = microtime(true);
881+
if (dl($matches[1])) {
881882
$exts[] = $matches[1];
883+
$exts[] = microtime(true) - $t;
882884
}
883885
}
884886
}
885887
echo implode(',', $exts);
886888
PHP);
887889
$extensionsNames = explode(',', shell_exec("$php $pass_options $info_params $no_file_cache \"$info_file\""));
890+
print_r($extensionsNames);echo "\nxxxxxx\n\n\n";
888891
$exts_to_test = array_unique(remap_loaded_extensions_names($extensionsNames));
889892
// check for extensions that need special handling and regenerate
890893
$info_params_ex = [

0 commit comments

Comments
 (0)