dart-sdk/pkg/vm_service
Ben Konyi 46f9ae9568 [ VM / Service ] Stream light-weight version of CpuSamples for CPU
profiler events.

`Event.cpuSamples` is now a `CpuSamplesEvent` rather than a `CpuSamples`
object, where `CpuSamplesEvent` returns `(@Object|NativeFunction)[]` rather
than `(@Func|NativeFunction)[]`, resulting in a smaller JSON payload.

TEST=get_object_rpc_test.dart,get_cached_cpu_samples_test.dart

Change-Id: I1ad5e3df8840b8c41735d10c6c8669f6503e54a8
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/219284
Commit-Queue: Ben Konyi <bkonyi@google.com>
Reviewed-by: Siva Annamalai <asiva@google.com>
2021-11-18 19:45:26 +00:00
..
example [ VM / Service ] Stream light-weight version of CpuSamples for CPU 2021-11-18 19:45:26 +00:00
java [ VM / Service ] Stream light-weight version of CpuSamples for CPU 2021-11-18 19:45:26 +00:00
lib [ VM / Service ] Stream light-weight version of CpuSamples for CPU 2021-11-18 19:45:26 +00:00
test [ VM / Service ] Stream light-weight version of CpuSamples for CPU 2021-11-18 19:45:26 +00:00
tool [ VM / Service ] Stream light-weight version of CpuSamples for CPU 2021-11-18 19:45:26 +00:00
.gitignore [vm service] generate the Java version of the library with the Dart version 2019-08-04 23:42:22 +00:00
analysis_options.yaml pkg:vm_service - update and fix lints at pedantic v1.8 2020-06-10 05:08:27 +00:00
CHANGELOG.md [ VM / Service ] Stream light-weight version of CpuSamples for CPU 2021-11-18 19:45:26 +00:00
LICENSE Update LICENSE 2021-04-07 10:28:38 +00:00
pubspec.yaml [ VM / Service ] Stream light-weight version of CpuSamples for CPU 2021-11-18 19:45:26 +00:00
README.md master branch to main 2021-09-15 06:22:23 +00:00

vm_service

pub package

A library to access the VM Service Protocol.

Usage

See the example for a simple use of the library's API.

The VM Service Protocol spec can be found at github.com/dart-lang/sdk/runtime/vm/service/service.md.

Features and bugs

Please file feature requests and bugs at the issue tracker.