aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/sabre/vobject/bin/bench.php
blob: 807b40777c6ac619d8c8413fd4d347324fe68f68 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#!/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";