Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 18.227.140.134
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
3 /
evenement /
evenement /
examples /
Delete
Unzip
Name
Size
Permission
Date
Action
benchmark-emit-no-arguments.php
653
B
-rw-r--r--
2017-07-23 09:00
benchmark-emit-once.php
729
B
-rw-r--r--
2017-07-23 09:00
benchmark-emit-one-argument.php
660
B
-rw-r--r--
2017-07-23 09:00
benchmark-emit.php
674
B
-rw-r--r--
2017-07-23 09:00
benchmark-remove-listener-once.php
1021
B
-rw-r--r--
2017-07-23 09:00
Save
Rename
<?php declare(strict_types=1); /* * This file is part of Evenement. * * (c) Igor Wiedler <igor@wiedler.ch> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ ini_set('memory_limit', '512M'); const ITERATIONS = 100000; use Evenement\EventEmitter; require __DIR__.'/../vendor/autoload.php'; $emitter = new EventEmitter(); for ($i = 0; $i < ITERATIONS; $i++) { $emitter->once('event', function ($a, $b, $c) {}); } $start = microtime(true); $emitter->emit('event', [1, 2, 3]); $time = microtime(true) - $start; echo 'Emitting one event to ', number_format(ITERATIONS), ' once listeners took: ', number_format($time, 2), 's', PHP_EOL;