diff options
Diffstat (limited to 'assets/php/vendor/react/event-loop/examples/91-benchmark-ticks.php')
-rwxr-xr-x | assets/php/vendor/react/event-loop/examples/91-benchmark-ticks.php | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/assets/php/vendor/react/event-loop/examples/91-benchmark-ticks.php b/assets/php/vendor/react/event-loop/examples/91-benchmark-ticks.php deleted file mode 100755 index 3f4690b..0000000 --- a/assets/php/vendor/react/event-loop/examples/91-benchmark-ticks.php +++ /dev/null @@ -1,15 +0,0 @@ -<?php - -use React\EventLoop\Factory; - -require __DIR__ . '/../vendor/autoload.php'; - -$loop = Factory::create(); - -$n = isset($argv[1]) ? (int)$argv[1] : 1000 * 100; - -for ($i = 0; $i < $n; ++$i) { - $loop->futureTick(function () { }); -} - -$loop->run(); |