aboutsummaryrefslogblamecommitdiffstats
path: root/vendor/sabre/vobject/bin/bench.php
blob: b949c8ea45646ed49a3cc4cf7ecf29f65f2908b2 (plain) (tree)
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";