dart-sdk/benchmarks/Utf8Encode/dart
Benjamin Prosnitz d79ef922a5 Utf8 Encode Benchmarks
This CL adds Utf8 encode benchmarks to complement the existing Utf8
decode benchmarks. These benchmarks measure the time to process a
given input rune.

The motivation for adding this was after noticing in external
benchmarks that Dart utf8 encoding can sometimes be much slower
than the utf8 encoding in other languages. After adding benchmarks,
I plan to send CLs for some small tweaks that may improve performance.

Change-Id: I8751d7df22937e9a85b85794e3488c664c359bbe
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/158820
Auto-Submit: Benjamin Prosnitz <bprosnitz@google.com>
Reviewed-by: Aske Simon Christensen <askesc@google.com>
Commit-Queue: Aske Simon Christensen <askesc@google.com>
2020-08-19 10:05:10 +00:00
..
datext_latin1_10k.dart Utf8 Encode Benchmarks 2020-08-19 10:05:10 +00:00
entext_ascii_10k.dart Utf8 Encode Benchmarks 2020-08-19 10:05:10 +00:00
netext_3_10k.dart Utf8 Encode Benchmarks 2020-08-19 10:05:10 +00:00
rutext_2_10k.dart Utf8 Encode Benchmarks 2020-08-19 10:05:10 +00:00
sktext_10k.dart Utf8 Encode Benchmarks 2020-08-19 10:05:10 +00:00
Utf8Encode.dart Utf8 Encode Benchmarks 2020-08-19 10:05:10 +00:00
zhtext_10k.dart Utf8 Encode Benchmarks 2020-08-19 10:05:10 +00:00