Chromium Code Reviews
DescriptionDart: Performance improvements to Dart's handle watcher.
- Keeps state for the call to MojoWaitMany in external TypedData arrays
to reduce copying.
- Processes all ready signals to avoid repeated calls.
- Puts more active handles at the front of the handles array.
- Disables checked mode for the vm service and handle watcher isolates
On my machine:
C++ <=> C++: ~40-50us
Dart <=> Dart: ~150-160us => 120-130us
Dart <=> C++: ~90-100us => 60-70us
So, on desktop savings of ~30us for round trips involving Dart code.
BUG=
R=johnmccutchan@google.com
Committed: https://chromium.googlesource.com/external/mojo/+/e54a91983350239d275cc1f0b12a1bdb03946513
Patch Set 1 #Patch Set 2 : #Patch Set 3 : #Patch Set 4 : #Patch Set 5 : #
Total comments: 8
Patch Set 6 : Address comments #Patch Set 7 : bugfix #Patch Set 8 : #Patch Set 9 : Turn off strict mode for handle watcher and vm service #Patch Set 10 : Format #Messages
Total messages: 11 (1 generated)
|