OpenXE/vendor/sabre/vobject/bin/bench.php

13 lines
224 B
PHP
Raw Normal View History

2021-05-21 08:49:41 +02:00
#!/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";