Question : flutter performance timer
Answered by : friendly-finch-9v29msyfjr14
Stopwatch stopwatch = new Stopwatch()..start();
doSomething();
print('doSomething() executed in ${stopwatch.elapsed}');
Source : https://stackoverflow.com/questions/16955157/dart-is-there-a-way-to-measure-execution-time-for-a-small-code | Last Update : Fri, 01 Jan 21