anothertimer:另一个Python计时器 源码
另一个计时器 仓库: : 只是另一个用于代码计时的计时器。 anothertimer使代码运行易于计时,保存计时数据,并提供基本的绘图功能。 用法示例: from anothertimer import Timer timer = Timer() timer.tic() #some code here timer.toc() 保存和加载数据(模式“ a”用于追加,模式“ w”用于写入): timer.dump('example.csv', mode='a') timer.load('example2.csv') 可以通过以下方式进行绘制: timer.plot() 在GitHub上
下载地址
用户评论