回放log中Duration: 1.1295 Wasted Time: 0.6837分别代表什么意思
回放log中的:Action.c(42): Notify: Transaction "baobiao" ended with "Pass" status (Duration: 1.1295 Wasted Time: 0.6837).这句后面括号中的是什么意思。是不是这个事务共耗时1.1295s,函数时间耗时0.6827,实际页面打开的时间是不是就是1.1295-0.6827 Duration:事物开始到结束总的时间,包含wasted timewasted time:是整个事务中函数自身执行所消耗的时间
lr_output_message("Total User created waste time = %lf", lr_get_transaction_wasted_time("登陆"));
lr_output_message("Transaction duration = %lf", lr_get_transaction_duration("登陆"));
可以用这2个测试一下 二楼说的好,受教了
页:
[1]