Skip to content

Commit

Permalink
Add note on how to build optimized benchmark executables.
Browse files Browse the repository at this point in the history
  • Loading branch information
greenrobot-team committed Feb 8, 2022
1 parent 574b040 commit adae4fb
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion benchmark/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,11 @@ This package provides micro-benchmarking & profiling tools for:
These are mostly used to compare effects of changes during development and should be taken with a grain of salt.

Also see the full-application benchmark in https://github.com/objectbox/objectbox-dart-performance
which provides a better picture of the potential "real world" performance.
which provides a better picture of the potential "real world" performance.

## Compile for production
To get the most optimized version, build executables instead of running on Dart VM, for example:

`dart compile exe bin/basics.dart`

See https://dart.dev/tools/dart-compile for more options.

0 comments on commit adae4fb

Please sign in to comment.