摘要:
$t1 = microtime(true);// ... 执行代码 ...$t2 = microtime(true);echo '耗时'.round($t2-$t1,3).'秒'; 阅读全文
posted @ 2015-12-11 14:26
Sun丶老板
阅读(180)
评论(0)
推荐(0)
摘要:
对于脚本语言的执行时间, 一直都在谈。PHP的很多的框架实现所谓的bench_mark的来表示自己的执行时间不高之类的。其实对普通的PHP程序也可以看代码的执行时间。[php] view plaincopyclassruntime{var$StartTime=0;var$StopTime=0;fun... 阅读全文
posted @ 2015-12-11 13:49
Sun丶老板
阅读(322)
评论(0)
推荐(0)

浙公网安备 33010602011771号