erl_0012 timer:tc 测试模块函数调用运行耗时

timer:tc 可以测试出函数调用耗时,是erlang性能测试的好工具。

timer:tc(?MODULE, Fun, [Args]).

原文地址:https://www.cnblogs.com/rsblog/p/4344507.html