Dart/Flutter: A simple delta-time performance debugging technique
Briefly

A manual approach that you can use to determine the delta time between two Dart statements: final t1 = DateTime.now();... debugPrint('DELTA TIME: ${t2.difference(t1)}');
I just used this code to find a significant bottleneck, so while it's not as sophisticated as other techniques, it was a nice performance-debugging tool today.
Read at alvinalexander.com
[
add
]
[
|
|
]