コード例 #1
0
ファイル: mem.php プロジェクト: Nikitian/fl-ru-damp
print_r($json_data);
exit;


$all_users = json_decode($json_data);

$cnt = count($all_users);
*/
//------------------------------------------------------------------------------
//$time_start = microtime(true);
//------------------------------------------------------------------------------
//$total_pages = $membuf->get('newsletter_freelancers_page');
//$cnt = $total_pages;
//$all_users = $membuf->get($key);
//$json = json_encode($all_users);
//$cnt = count($all_users);
//$cnt = (strlen($json)/1024)/1024;
//------------------------------------------------------------------------------
$time_end = microtime(true);
$execution_time = number_format($time_end - $time_start, 5);
print_r('execution_time = ' . $execution_time . ' sec');
print_r(PHP_EOL);
print_r('size = ' . $cnt);
print_r(PHP_EOL);
//print_r('key = ' . $key);
//print_r(PHP_EOL);
print_r($membuf->getStats());
print_r(PHP_EOL);
exit;
//------------------------------------------------------------------------------