objectbox / objectbox-dart-performance Goto Github PK
View Code? Open in Web Editor NEWFlutter App benchmarking the performance of ObjectBox against others (e.g. sqflite, Hive).
Home Page: https://objectbox.io/
Flutter App benchmarking the performance of ObjectBox against others (e.g. sqflite, Hive).
Home Page: https://objectbox.io/
Isar went stable new years, so would be really cool to get a full isar benchmark comparison here also.
OS: Ubuntu 20
Flutter Embedder: ivi-homescreen
Flutter Version
$ flutter --version
Flutter 2.10.5 • channel stable • https://github.com/flutter/flutter
Framework • revision 5464c5bac7 (3 weeks ago) • 2022-04-18 09:55:37 -0700
Engine • revision 57d3bac3dd
Tools • Dart 2.16.2 • DevTools 2.9.2
Flutter Config
Settings:
enable-linux-desktop: false
enable-custom-devices: true (Unavailable)
flutter pub run build_runner build
passes without error
flutter build bundle
fails with:
💪 Building with sound null safety 💪
lib/isar.g.dart:160:35: Error: Too few positional arguments: 5 required, 0 given.
final object = TestEntityPlain();
^
lib/model.dart:51:3: Context: Found this candidate, but the arguments don't match.
TestEntityPlain(this.id, this.tString, this.tInt, this.tLong, this.tDouble);
^^^^^^^^^^^^^^^
lib/isar.g.dart:236:37: Error: Too few positional arguments: 5 required, 0 given.
final object = TestEntityIndexed();
^
lib/model.dart:96:3: Context: Found this candidate, but the arguments don't match.
TestEntityIndexed(this.id, this.tString, this.tInt, this.tLong, this.tDouble);
^^^^^^^^^^^^^^^^^
lib/isar.g.dart:301:35: Error: Too few positional arguments: 2 required, 0 given.
final object = RelTargetEntity();
^
lib/model.dart:241:3: Context: Found this candidate, but the arguments don't match.
RelTargetEntity(this.id, this.name);
^^^^^^^^^^^^^^^
Target kernel_snapshot failed: Exception
Failed to build bundle.
What is the required patch for isar.g.dart
?
I have just checked using this benchmark
and I got objectbox (^1.4.0-dev.0)
was 1.5x faster than Isar DB Async; with a little UI Lag
checkout the demo video and the screenshot below
https://github.com/msxenon/flutter-db-benchmarks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.