https://github.com/objectbox/objectbox-dart-performance
Flutter App benchmarking the performance of ObjectBox against others (e.g. sqflite, Hive).
https://github.com/objectbox/objectbox-dart-performance
android benchmarking dart flutter hive objectbox performance sqflite
Last synced: about 1 month ago
JSON representation
Flutter App benchmarking the performance of ObjectBox against others (e.g. sqflite, Hive).
- Host: GitHub
- URL: https://github.com/objectbox/objectbox-dart-performance
- Owner: objectbox
- Created: 2021-02-02T10:08:04.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-05-22T06:23:00.000Z (about 1 year ago)
- Last Synced: 2025-04-08T01:51:13.020Z (2 months ago)
- Topics: android, benchmarking, dart, flutter, hive, objectbox, performance, sqflite
- Language: Dart
- Homepage: https://objectbox.io/
- Size: 326 KB
- Stars: 14
- Watchers: 5
- Forks: 12
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ObjectBox Flutter Database Performance Benchmarks
## Setup
As usual run `flutter pub get`.
## Running
Make sure to run the app in release mode to avoid any performance penalties from debug mode.
(Note: release mode is not supported on the iOS simulator, a real device is required.)To run in release mode with Android Studio connect a device or start an emulator, then
Run > Flutter Run 'main.dart' in Release Mode.Or run `flutter run --release`.
To further improve performance, make sure to disconnect dev tools. E.g. stop the app on the device
and launch it again.## Implementation notes
### Hive
- No test with index as Hive does not support explicit indexes.
### Isar
- Instead of read all does use query with no conditions and returns all results.
- Query tests not available (queryWithLinks not implemented).