webdav-examples/vendor/sabre/vobject/bin/bench.php
Simon Vieille e1dd5ee0e0
init
2025-10-30 10:55:33 +01:00

12 lines
224 B
PHP
Executable file

#!/usr/bin/env php
<?php
include __DIR__.'/../vendor/autoload.php';
$data = stream_get_contents(STDIN);
$start = microtime(true);
$lol = Sabre\VObject\Reader::read($data);
echo 'time: '.(microtime(true) - $start)."\n";