Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

how to mesure execution time of method in dart

Stopwatch stopwatch = new Stopwatch()..start();
doSomething();
print('doSomething() executed in ${stopwatch.elapsed}');
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #mesure #execution #time #method #dart
ADD COMMENT
Topic
Name
4+5 =