Created
August 27, 2010 13:32
-
-
Save eby/553354 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$locum_lib_dir = '/usr/local/lib/locum'; | |
$bib = "1188529"; | |
require_once($locum_lib_dir . '/locum-client.php'); | |
$then = microtime(); | |
// Data Set repair | |
$locum = new locum_client; | |
$now = microtime(); | |
echo sprintf("Started Locum: %f", $now-$then); | |
$then = microtime(); | |
$bib = $locum->get_bib_item($bib); | |
$now = microtime(); | |
echo sprintf("Get Bib: %f", $now-$then); | |
$then = microtime(); | |
$avail = $locum->get_item_status($bib); | |
$now = microtime(); | |
echo sprintf("Get Availability: %f", $now-$then); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment