run method
The implementation of the benchmark that will produce a Profile.
Implementation
@override
@nonVirtual
Future<Profile> run() async {
_profile = Profile(name: name);
do {
await Future<void>.delayed(Duration.zero);
body(_profile);
} while (shouldContinue());
return _profile;
}