joe*_*joe 1 algorithm perl process
我需要找到在不同输入上执行程序的总时间.程序读取一些数据并将其写入另一个文件.数据值和数据大小每次都不同.
我想知道对于所有大小的数据一般需要多长时间.
算法是否基于程序的总时序进行单次执行?
例如,如果我知道
for single execution
a.program - execution time 1.2sec
- its create file 100 kb file
Run Code Online (Sandbox Code Playgroud)
在不同的数据大小上,我可以找出n次执行需要多长时间?