OpenXE/vendor/sabre/vobject/bin/bench.php
2021-05-21 08:49:41 +02:00

13 lines
224 B
PHP

#!/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";