Mercurial > hg > rc1
comparison vendor/sabre/vobject/bin/bench.php @ 7:430dbd5346f7
vendor sabre as distributed
author | Charlie Root |
---|---|
date | Sat, 13 Jan 2018 09:06:10 -0500 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
6:cec75ba50afc | 7:430dbd5346f7 |
---|---|
1 #!/usr/bin/env php | |
2 <?php | |
3 | |
4 include __DIR__ . '/../vendor/autoload.php'; | |
5 | |
6 $data = stream_get_contents(STDIN); | |
7 | |
8 $start = microtime(true); | |
9 | |
10 $lol = Sabre\VObject\Reader::read($data); | |
11 | |
12 echo "time: " . (microtime(true)-$start) . "\n"; |