FLUTTER ECOSYSTEM

benchmark

A full featured library for writing and running Dart benchmarks.

Latest version
0.3.0
30-day downloads
99.6K
Likes
33
Pub points
130

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Overview

A comprehensive library for writing and executing Dart benchmarks, enabling developers to measure performance with precision across multiple platforms. It supports detailed timing, statistical analysis, and integration into CI workflows. The package is designed for accurate, repeatable benchmarking of Dart code, helping identify performance bottlenecks in applications and libraries. It works seamlessly on Android, iOS, Web, macOS, Windows, and Linux.

Use cases
  • Performance testing of Dart code
  • Identifying slow functions
  • Optimizing app responsiveness
  • Benchmarking library implementations
  • Integrating performance checks into CI/CD
Key features
  • Cross-platform support
  • Statistical analysis of results
  • Easy-to-use benchmark definitions
  • Integration with build systems
  • Detailed timing measurements
  • Configurable execution settings
Suitable for
  • Dart developers focused on performance
  • Library authors needing benchmarking tools
  • Teams enforcing performance standards
  • CI/CD pipeline integrations
Considerations
  • Requires careful setup for accurate results
  • May need environment isolation for consistent measurements
  • Results can vary based on device load
  • Not intended for runtime performance monitoring
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add benchmark

Categories

Related projects