dart-sdk/benchmarks
Daco Harkes a7163dba81 [benchmarks/ffi] Add FfiStructCopy benchmark
`_memCopy` inside `dart:ffi` is currently doing a per-byte copy in
Dart. This is rather slow, we should optimize this with the
`MemoryCopyInstr` in the VM.

This CL adds benchmarks to report the number of bytes copied per
second.

Adds only benchmarks with copies of 32^(0..3), as non-power-of-two
benchmarks did not seem to behave differently.

Since legacy mode is no longer benchmarked, the dart2 version of this
benchmark is omitted.

Benchmarks set up according to
https://dart-review.googlesource.com/c/sdk/+/200188

Bug: https://github.com/dart-lang/sdk/issues/43967
Change-Id: I3d9be8de725820fd3365a7dc85d15174bddc1ae6
Cq-Include-Trybots: luci.dart.try:benchmark-linux-try
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/277522
Reviewed-by: Jonas Termansen <sortie@google.com>
Commit-Queue: Daco Harkes <dacoharkes@google.com>
2022-12-29 10:21:19 +00:00
..
AsyncLiveVars Roll benchmark_harness and use AsyncBenchmarkBase. 2022-05-02 09:27:49 +00:00
BigIntParsePrint Spelling benchmarks 2022-12-20 12:36:37 +00:00
Calls
DartCLIStartup
Dynamic
EventLoopLatencyJson
EventLoopLatencyJson350KB
EventLoopLatencyRegexp
Example Spelling benchmarks 2022-12-20 12:36:37 +00:00
FfiAsTypedList
FfiBoringssl
FfiCall [3.0 alpha] Use equals for default values in the SDK 2022-11-30 10:33:31 +00:00
FfiMemory Spelling benchmarks 2022-12-20 12:36:37 +00:00
FfiStruct
FfiStructCopy [benchmarks/ffi] Add FfiStructCopy benchmark 2022-12-29 10:21:19 +00:00
InstantiateTypeArgs [benchmarks] Address post-review comments for InstantiateTypeArgs. 2022-07-27 08:54:57 +00:00
IntegerSetLookup [gardening] Fix copyright statement typo. 2022-09-15 18:00:59 +00:00
Isolate [benchmarks] Follow-up to "Roll benchmark_harness" 2022-05-02 12:26:41 +00:00
IsolateBaseOverhead [vm/concurrency] Add IsolateBaseOverhead benchmark 2022-05-30 08:14:52 +00:00
IsolateFibonacci
IsolateJson
IsolateRegExp/dart [benchmarks] Add IsolateRegExp benchmark for regexp passing between isolates. 2022-12-07 20:56:02 +00:00
IsolateSendExitLatency Move benchmark IsolateSendExitLatency to correct directory 2022-06-07 16:50:40 +00:00
IsolateSpawn [benchmarks] Use gen_kernel instead of dart2js for isolate group benchmarks. 2022-11-21 22:25:59 +00:00
IsolateSpawnMemory [benchmarks] Use gen_kernel instead of dart2js for isolate group benchmarks. 2022-11-21 22:25:59 +00:00
Iterators Spelling benchmarks 2022-12-20 12:36:37 +00:00
ListCopy
LongStringCompare/dart Spelling benchmarks 2022-12-20 12:36:37 +00:00
MapCopy
MapLookup
MD5
MultipleReturns/dart [benchmarks] Micro-benchmark for multiple returns 2022-10-25 17:02:21 +00:00
NativeCall
ObjectHash
Omnibus Add MapCopy to Omnibus benchmarks 2022-06-28 19:53:23 +00:00
OmnibusDeferred Add MapCopy to Omnibus benchmarks 2022-06-28 19:53:23 +00:00
RecordCollections/dart [benchmarks] Add benchmark for lists/maps/sets of records 2022-12-13 19:38:56 +00:00
Richards Fixed various typos in a lot of files 2022-07-25 12:21:59 +00:00
RuntimeType
SDKArtifactSizes Remove dartanalyzer from SDKArtifactSizes benchmark 2022-07-19 10:51:45 +00:00
SendPort
SHA1
SHA256
SkeletalAnimation
SkeletalAnimationSIMD
SoundSplayTreeSieve Fix typos 2022-09-16 19:35:00 +00:00
Startup [benchmarks] Use gen_kernel instead of dart2js for isolate group benchmarks. 2022-11-21 22:25:59 +00:00
StringPool
TypedDataDuplicate
TypedDataPoly/dart Benchmark for comparing reading Uint8List vs UnmodifiableUint8ListView 2022-10-21 00:53:59 +00:00
TypeLiteral/dart [vm] Add TypeLiteral benchmark 2022-04-25 08:49:12 +00:00
Utf8Decode
Utf8Encode
analysis_options.yaml
OWNERS