xref: /plugin/davcal/vendor/sabre/vobject/bin/bench.php (revision a495d34c25233615fa25fba79abef99239c1dd50)
1#!/usr/bin/env php
2<?php
3
4include __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
12echo "time: " . (microtime(true)-$start) . "\n";
13