dart-sdk/benchmarks/BigIntParsePrint/dart
Ömer Sinan Ağacan 01cf48f653 [benchmarks] Remove dynamic invocations in BigIntParsePrint benchmark
The dynamic invocations `sink1.codeUnits` and `sink2.isEven` can be slow
on dart2wasm.

They are done once in a few iterations, but the noise can still be
eliminated with a `if (runtimeFalse)` guard around the code that makes
sure the benchmarked code won't be optimized away.

Change-Id: Id85013fa4be1912d1c710cd119e9f6f1e77bcff4
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/373040
Commit-Queue: Ömer Ağacan <omersa@google.com>
Reviewed-by: Martin Kustermann <kustermann@google.com>
2024-06-26 08:07:11 +00:00
..
BigIntParsePrint.dart [benchmarks] Remove dynamic invocations in BigIntParsePrint benchmark 2024-06-26 08:07:11 +00:00
native_version.dart
native_version_dummy.dart [benchmark] BigIntParsePrint lint fixes 2020-06-05 01:41:23 +00:00
native_version_javascript.dart [benchmark] BigIntParsePrint lint fixes 2020-06-05 01:41:23 +00:00