view vendor/sabre/vobject/bin/bench.php @ 49:91f005a4f7e9

Slowly cleaning up more php8 Warnings/deprecations
author Charlie Root
date Mon, 06 Oct 2025 12:19:59 -0400
parents 430dbd5346f7
children
line wrap: on
line source

#!/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";