中山php|最優(yōu)網(wǎng)絡(luò) :中山做網(wǎng)站 中山php建站
最優(yōu)良人
Posts Tagged With: memory_get_usage
php計(jì)算代碼運(yùn)行時(shí)間和使用內(nèi)存
2012/11/14 at 16:28 » Comments (454)
<?php //開(kāi)始計(jì)時(shí) $HeaderTime = microtime(true);//參數(shù)true表示返回浮點(diǎn)數(shù)值 //代碼 //... printf(" total run: %.2f s<br>". "memory usage: %.2f M<br> ", microtime(true)-$HeaderTime, memory_get_usage() / 1024 / 1024 ); ?> 結(jié)果: total runtime: 1.47 s memory usage: 77.09 M more »標(biāo)簽云
404 ajax apache count(*) CSS dede fleaphp group by having htaccess IP javascript JQ jquery js mysql php PHP_INI seo session smarty wp Xheditor 優(yōu)化 公車(chē) 回調(diào)函數(shù) 域名 子查詢(xún) 字符串 快速發(fā)布 抽象類(lèi) 接口 操作符 數(shù)據(jù)庫(kù) 數(shù)組 日志服務(wù) 服務(wù)器 禁用右鍵 js 繼承 編碼 虛擬主機(jī) 表單 采集 面向?qū)ο?/a> 魔法函數(shù)文章分類(lèi)
-
最新文章
最近評(píng)論
管理
返回菜單