devtools_region_profiler 0.2.0 copy "devtools_region_profiler: ^0.2.0" to clipboard
devtools_region_profiler: ^0.2.0 copied to clipboard

Helper APIs for marking CPU profiling regions in Dart and Flutter applications.

Changelog #

0.2.0 #

  • Added profileRegionSync<T>() — synchronous overload of profileRegion that accepts T Function() instead of Future<T> Function(). DTD start/stop events are sent asynchronously (fire-and-forget) so synchronous code is not blocked by profiler transport. Timestamps are captured at the call site.
  • Added startProfileRegionSync() — synchronous variant of startProfileRegion that returns a ProfileRegionHandle immediately.

0.1.0 #

  • Initial release of the app-side region profiling helper.
  • Added closure-based and manual region APIs for Dart and Flutter targets.
  • Added protocol-based capture and isolate-scope options for marked regions.
0
likes
150
points
269
downloads

Documentation

API reference

Publisher

verified publisherglenfordwilliams.com

Weekly Downloads

Helper APIs for marking CPU profiling regions in Dart and Flutter applications.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

devtools_profiler_protocol, dtd

More

Packages that depend on devtools_region_profiler