摘要:
这里测试的是往文件中写一百万行记录,如果数据量很小,比如1000条左右的记录,可能差距不大。function microtimeFloat() { list($usec,$sec) = explode(" ", microtime()); return((float)$usec + (float)$sec);}1.测试file_put_contents<?php$userCount = 1000;$itemCount = 1000;$file = 'ratings.txt';file_exists($file) &&unlink($fi 阅读全文
posted @ 2013-03-18 21:15
上帝爱编程
阅读(519)
评论(0)
推荐(0)
浙公网安备 33010602011771号