2013-06-06 11 views

risposta

6

È possibile utilizzare Stopwatch per misurare il tempo di esecuzione:

Stopwatch stopwatch = new Stopwatch()..start(); 
doSomething(); 
print('doSomething() executed in ${stopwatch.elapsed}'); 
Problemi correlati