bench.php 229 B

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