Android Database Performance Benchmarks
Java Shell
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
ActiveAndroid Ignore unused warnings when accessing properties. Oct 10, 2017
Common Call onRunSetup after setUpBenchmark so logging works. Oct 10, 2017
Couchbase Use global minSdk (is now at 9) for Couchbase. Oct 10, 2017
Cupboard Ignore unused warnings when accessing properties. Oct 10, 2017
DBFlow Use AndroidJUnitRunner for running tests (except greenDAO). Oct 10, 2017
Firebase Ignore unused warnings when accessing properties. Oct 10, 2017
OrmLite Ignore unused warnings when accessing properties. Oct 10, 2017
Parse Use AndroidJUnitRunner for running tests (except greenDAO). Oct 10, 2017
Realm Ignore unused warnings when accessing properties. Oct 10, 2017
Room Ignore some lint warnings. Oct 10, 2017
SQLDelight Drop outdated message about SQLDelight method name restriction. Oct 10, 2017
Sqlite Ignore unused warnings when accessing properties. Oct 10, 2017
SquiDB Use AndroidJUnitRunner for running tests (except greenDAO). Oct 10, 2017
ci Improved wait for emulator script. Apr 5, 2016
gradle/wrapper Update Gradle to 4.1, Android Plugin to 2.3.3, build tools/compileSdk… Sep 26, 2017
greenDAO Update greenDAO to 3.2.2, use default directory structure. Sep 26, 2017
requery Use AndroidJUnitRunner for running tests (except greenDAO). Oct 10, 2017
.gitignore initial commit (extracted files from greenDAO project using inital la… Nov 5, 2015
.travis.yml Travis: Accept licenses for Android SDK. Sep 26, 2017
LICENSE Initial commit Nov 5, 2015
README.md Update README. Oct 10, 2017
build.gradle Prepare for Room: update support annotations to 26.1.0. Oct 10, 2017
gradlew Update Gradle to 4.1, Android Plugin to 2.3.3, build tools/compileSdk… Sep 26, 2017
gradlew.bat Update Gradle to 4.1, Android Plugin to 2.3.3, build tools/compileSdk… Sep 26, 2017
settings.gradle Room: add one-by-one test. Oct 10, 2017

README.md

Android Database Performance Benchmark

This project evaluates Android databases and related persistence solutions. It tests SQLite, SQLite in combination with several ORMs, and alternative database options.

Build Status

Usage

To run the Android instrumentation tests make sure to set RUN_PERFORMANCE_TESTS in Common\build.gradle to true.

To run with Android Studio, create a new Android Instrumented Tests run configuration. Specify the desired PerfTest<x> class and a test method (see BasePerfTestCase).

More Open Source by greenrobot

ObjectBox is a new and fast object-oriented database for mobile devices.

greenDAO is an ORM optimized for Android: it maps database tables to Java objects and uses code generation for optimal speed.

EventBus is a central publish/subscribe bus for Android with optional delivery threads, priorities, and sticky events. A great tool to decouple components (e.g. Activities, Fragments, logic components) from each other.

greenrobot-common is a set of utility classes and hash functions for Android & Java projects.

Follow us on Google+ to stay up to date.