diff --git a/src/listen-ipc.php b/src/listen-ipc.php deleted file mode 100644 index cfb4054..0000000 --- a/src/listen-ipc.php +++ /dev/null @@ -1,23 +0,0 @@ - diff --git a/src/listen-rpc.php b/src/listen-rpc.php deleted file mode 100644 index 6b19038..0000000 --- a/src/listen-rpc.php +++ /dev/null @@ -1,29 +0,0 @@ - diff --git a/src/make-ipc.php b/src/make-ipc.php deleted file mode 100644 index b2844c4..0000000 --- a/src/make-ipc.php +++ /dev/null @@ -1,28 +0,0 @@ - diff --git a/src/make-rpc.php b/src/make-rpc.php deleted file mode 100644 index e685bae..0000000 --- a/src/make-rpc.php +++ /dev/null @@ -1,26 +0,0 @@ - 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 - -?> diff --git a/test/BU-commander b/test/BU-commander new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/test/BU-commander diff --git a/test/listen-ipc.php b/test/listen-ipc.php new file mode 100644 index 0000000..c0600f0 --- /dev/null +++ b/test/listen-ipc.php @@ -0,0 +1,23 @@ + diff --git a/test/listen-rpc.php b/test/listen-rpc.php new file mode 100644 index 0000000..6c8def6 --- /dev/null +++ b/test/listen-rpc.php @@ -0,0 +1,29 @@ + diff --git a/test/make-ipc.php b/test/make-ipc.php new file mode 100644 index 0000000..216d2e6 --- /dev/null +++ b/test/make-ipc.php @@ -0,0 +1,28 @@ + diff --git a/test/make-rpc.php b/test/make-rpc.php new file mode 100644 index 0000000..f4cab51 --- /dev/null +++ b/test/make-rpc.php @@ -0,0 +1,26 @@ + 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 + +?>