aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/sabre/vobject/bin/bench.php
blob: 0a2736fa6d54d5731b96e0de605dbcaf91a53e5f (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";