Ryan Macnak
|
3d21a46b72
|
Limit preserialized JSON for timeline events from Dart code to the arguments.
Avoids string copies in C++ and map copies in Dart.
Also remove some vestiages of removed feature that allowed an embedder to add pre-encoded events to the timeline.
Change-Id: I962a67093ba461c991d9169b0391c44af1d489db
Bug: https://github.com/dart-lang/sdk/issues/30787
Reviewed-on: https://dart-review.googlesource.com/6762
Commit-Queue: Ryan Macnak <rmacnak@google.com>
Reviewed-by: Zach Anderson <zra@google.com>
|
2017-09-19 23:29:55 +00:00 |
|
Zachary Anderson
|
633ed4cf83
|
[corelib] dart:developer timeline flow events
This change adds an API to dart:developer Timeline for
adding flow events to the timeline. For details see the
changes in:
sdk/lib/developer/timeline.dart
R=rmacnak@google.com
Review-Url: https://codereview.chromium.org/2985253002 .
|
2017-07-31 07:46:52 -07:00 |
|
Ryan Macnak
|
00290c3813
|
Allocate the fixed-size timeline buffer with virtual memory instead of malloc.
Allows naming the memory region; removes some pressure from jemalloc.
R=zra@google.com
Review-Url: https://codereview.chromium.org/2984313002 .
|
2017-07-27 13:37:41 -07:00 |
|
Zachary Anderson
|
350ad3a4dc
|
Special-case Timeline.{start,finish}Sync for Fuchsia
R=asiva@google.com
Review-Url: https://codereview.chromium.org/2984603002 .
|
2017-07-21 08:06:36 -07:00 |
|