|
3#
楼主 |
发表于 2007-6-21 11:48:01
|
只看该作者
没有think时间的;脚本如下;感觉执行和记录时间过长,直接打开网站首页很快的
long time1, time2;
time1=time();
web_url("www.***.com",
"URL=http://www.***.com/",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTML",
EXTRARES,
"Url=/image4/image01.gif", ENDITEM,
"Url=/image4/image04.jpg", ENDITEM,
"Url=/image4/bg04.gif", ENDITEM,
"Url=/image4/image05.jpg", ENDITEM,
"Url=/image4/image08.jpg", ENDITEM,
"Url=/image4/image12.jpg", ENDITEM,
"Url=/image4/image09.jpg", ENDITEM,
"Url=/image4/image13.jpg", ENDITEM,
"Url=/image4/image21.jpg", ENDITEM,
"Url=http://count24.51yes.com/sa.aspx?id=246781043&refe=&location=http%3A//www.***.com/&color=32x&resolution=1024x768&returning=3&language=zh-cn&ua=Mozilla/4.0%20%28compatible%3B%20MSIE%206.0%3B%20Windows%20NT%205.2%3B%20SV1%3B%20.NET%20CLR%201.1.4322%3B%20.NET%20CLR%202.0.50727%29", ENDITEM,
"Url=/Style/Style.css", "Referer=http://www.***.com/Login.aspx", ENDITEM,
"Url=http://count24.51yes.com/count1.gif", ENDITEM,
LAST);
time2=time();
lr_message("打开首页响应时间:%f",(float)(time2-time1));
return 0;
[ 本帖最后由 mzj611 于 2007-6-21 11:49 编辑 ] |
|