performance_timer 3.1.0 copy "performance_timer: ^3.1.0" to clipboard
performance_timer: ^3.1.0 copied to clipboard

A timer and utils to count time spent on methods and calculations

3.1.0 - 2025-05-12 #

Added #

  • Add result param to the on finished callback

3.0.1 - 2024-12-10 #

Fixed #

  • Paused timers being resumed when a child timer is finished

3.0.0 - 2024-10-30 #

Changed #

  • measure now always returns a Future
  • Tags in children are not overriden by parent tags

Added #

  • errorMessage and errorType in each timer
  • PerformanceTimerException to be able to set this two fields
  • Added those tags to each span generated by OTEL exporter

2.0.0-alpha.1 - 2024-09-17 #

Changed #

  • Automatically generate IDs in OTEL format

1.2.2 - 2024-09-03 #

Added #

  • Use timer id as trace id if it's a valid uuid

1.2.1 - 2024-08-23 #

Added #

  • Pause and resume OTEL exporter
  • Headers for OTEL exporter (ex. authorization)

1.2.0 - 2024-08-21 #

Added #

  • OTEL exporter
  • OTEL serializer
  • Pause/Resume timers

1.1.0 - 2024-05-16 #

Added #

  • stackframes to trace event format
  • on finished callback

1.0.5 - 2024-04-09 #

Fixed #

  • measure callback return type

1.0.4 - 2024-04-09 #

Added #

  • measure callback

1.0.3 - 2024-04-08 #

Added #

  • category to timers

1.0.2 - 2024-04-06 #

Changed #

  • Improve documentation

1.0.1 - 2024-04-06 #

Changed #

  • Improvements on docs and styling

1.0.0 - 2024-04-05 #

Added #

  • Initial version
7
likes
150
points
767
downloads

Publisher

verified publishernicobritos.com

Weekly Downloads

A timer and utils to count time spent on methods and calculations

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

duration, fixnum, http, meta, quiver

More

Packages that depend on performance_timer