dart-sdk/benchmarks
Daco Harkes d87046342f [benchmarks/ffi] Add FfiCall benchmark with Handles
On x64 desktop in JIT the trampolines with Handles are a bit slower
than trampolines passing integers or Pointers.

FfiCall.Uint64x01(RunTime): 200.8482627033541 us.
FfiCall.PointerUint8x01(RunTime): 261.3910088865656 us.
FfiCall.Handlex01(RunTime): 355.4978670458585 us.
FfiCall.Handlex02(RunTime): 384.86376755820663 us.
FfiCall.Handlex04(RunTime): 492.896007885658 us.
FfiCall.Handlex10(RunTime): 846.1214043993232 us.
FfiCall.Handlex20(RunTime): 1193.412291169451 us.

Issue: https://github.com/dart-lang/sdk/issues/36858
Issue: https://github.com/dart-lang/sdk/issues/41319

New issue for optimizing multiple handles:
https://github.com/dart-lang/sdk/issues/42341

Also cleans up dart2/native which was erroneously left over from the
benchmark duplication for NNBD.

Change-Id: I81223fefc47129d00984492efb9502d5449f0d4a
Cq-Include-Trybots: luci.dart.try:benchmark-linux-try
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/145593
Commit-Queue: Daco Harkes <dacoharkes@google.com>
Reviewed-by: Jonas Termansen <sortie@google.com>
2020-06-15 13:27:16 +00:00
..
BigIntParsePrint [benchmark] BigIntParsePrint lint fixes 2020-06-05 01:41:23 +00:00
Calls [benchmark] Synchronize Calls benchmark changes to dart2 implementation. 2020-06-03 11:03:48 +00:00
Example [benchmark] Fork benchmarks for null safety and pin internal ones. 2020-06-02 12:53:24 +00:00
FfiBoringssl [benchmark] Fork benchmarks for null safety and pin internal ones. 2020-06-02 12:53:24 +00:00
FfiCall [benchmarks/ffi] Add FfiCall benchmark with Handles 2020-06-15 13:27:16 +00:00
FfiMemory [benchmark] Fork benchmarks for null safety and pin internal ones. 2020-06-02 12:53:24 +00:00
FfiStruct [benchmark] Fork benchmarks for null safety and pin internal ones. 2020-06-02 12:53:24 +00:00
Isolate [benchmark] Fork benchmarks for null safety and pin internal ones. 2020-06-02 12:53:24 +00:00
IsolateJson [benchmark] Fix oversights from the benchmark fork. 2020-06-04 11:00:20 +00:00
IsolateSpawn [benchmark] Fix dart2 files importing dart files. 2020-06-03 14:04:16 +00:00
IsolateSpawnMemory [benchmark] Fix dart2 files importing dart files. 2020-06-03 14:04:16 +00:00
ListCopy [benchmark] Fork benchmarks for null safety and pin internal ones. 2020-06-02 12:53:24 +00:00
RuntimeType [benchmark] Fork benchmarks for null safety and pin internal ones. 2020-06-02 12:53:24 +00:00
SoundSplayTreeSieve [benchmark] Fork benchmarks for null safety and pin internal ones. 2020-06-02 12:53:24 +00:00
TypedDataDuplicate [benchmarks/nnbd] Migrate TypedDataDuplicate benchmark to NNBD 2020-06-05 22:22:40 +00:00
Utf8Decode [benchmark] Fork benchmarks for null safety and pin internal ones. 2020-06-02 12:53:24 +00:00
analysis_options.yaml [vm/benchmarks] Add IsolateSpawn spawn latency and memory benchmarks. 2019-10-11 19:52:12 +00:00