<?php include __DIR__."/../src/sysVcom.php"; include __DIR__."/../src/time.php"; $some_arr = array( 'key_1' => 3.14159, 'key_2' => "pony" ); $cnt = 10000; $st_time = (float)getTimeAsString(1733051170); for( $i=0; $i<$cnt; $i++){ $obj = rpc( 'myFunct', 34, 4.9e-7, $some_arr ); } //print_r( $obj ); $en_time = (float)getTimeAsString(1733051170); echo "done\n\n"; echo (($en_time-$st_time)/$cnt) . "\n\n"; // timed on a laptop (1.9GHz, 2-core, 4-threads) at 30uS per rpc call-return // including a short array object ?>