性能监控代码
摘要:
var log = function(msg){ if(window.console){ var now = new Date - 0; var last = arguments.callee.last; if(typeof last === "number"){ window.console.log(msg +" : "+(now-last)+" ms"); } arguments.callee... 阅读全文
posted @ 2010-11-30 11:52 司徒正美 阅读(1081) 评论(3) 推荐(0) 编辑