timer:tc 可以测试出函数调用耗时,是erlang性能测试的好工具。
timer:tc(?MODULE, Fun, [Args]).
posted on 2015-03-17 15:22 骄傲的小笨蛋 阅读(253) 评论(0) 编辑 收藏 举报