PHP:
скопировать код в буфер обмена
скопировать код в буфер обмена
- require __DIR__ . '/vendor/autoload.php';
- use SebastianBergmann\Timer\ResourceUsageFormatter;
- use SebastianBergmann\Timer\Timer;
- $timer = new Timer;
- $timer->start();
- // ...
- }
- print (new ResourceUsageFormatter)->resourceUsage($timer->stop());