mirror of
https://github.com/dart-lang/sdk
synced 2024-10-14 12:48:10 +00:00
01cf48f653
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> |
||
---|---|---|
.. | ||
dart | ||
dart2 |