{"id":26775460,"url":"https://github.com/illarionov/sqlite-driver-benchmark","last_synced_at":"2026-04-16T05:34:11.339Z","repository":{"id":282947892,"uuid":"950145038","full_name":"illarionov/sqlite-driver-benchmark","owner":"illarionov","description":"Benchmarks of the androidx.sqlite.SQLiteDriver imlplementations","archived":false,"fork":false,"pushed_at":"2025-05-01T07:42:36.000Z","size":607,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-01T08:34:40.413Z","etag":null,"topics":["android","database","microbenchmark","sqlite","testing","webassembly"],"latest_commit_sha":null,"homepage":"https://wsoh.released.at/blog/benchmark","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/illarionov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-03-17T17:44:08.000Z","updated_at":"2025-05-01T07:42:37.000Z","dependencies_parsed_at":"2025-04-12T07:32:17.010Z","dependency_job_id":null,"html_url":"https://github.com/illarionov/sqlite-driver-benchmark","commit_stats":null,"previous_names":["illarionov/sqlite-driver-benchmark"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/illarionov/sqlite-driver-benchmark","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/illarionov%2Fsqlite-driver-benchmark","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/illarionov%2Fsqlite-driver-benchmark/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/illarionov%2Fsqlite-driver-benchmark/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/illarionov%2Fsqlite-driver-benchmark/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/illarionov","download_url":"https://codeload.github.com/illarionov/sqlite-driver-benchmark/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/illarionov%2Fsqlite-driver-benchmark/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31872655,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"online","status_checked_at":"2026-04-16T02:00:06.042Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","database","microbenchmark","sqlite","testing","webassembly"],"created_at":"2025-03-29T03:18:24.815Z","updated_at":"2026-04-16T05:34:11.331Z","avatar_url":"https://github.com/illarionov.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SQLite Driver Benchmarks\n\nThis project benchmarks the performance of various implementations of [SQLiteDriver][androidx.sqlite.SQLiteDriver] \non Android devices using the [Android Microbenchmark] framework.\n\nThe test results are available on the [Benchmarks](https://wsoh.released.at/blog/benchmark) blog post.\n\nThe project includes three groups of tests.\nThe first group measures the performance of SQLiteDriver implementations based on native\nSQLite compilations. The drivers included in this comparison are:\n\n* *androidx.sqlite.driver.AndroidSQLiteDriver*\n* *androidx.sqlite.driver.BundledSQLiteDriver*\n\nThe second and third groups focus on benchmarking SQLiteDriver implementations from the \n[Wasm SQLite Open Helper] project.\n\nIn the second group, SQLite is compiled to WebAssembly and then ahead-of-time compiled into \nJVM bytecode (.class). `WasmSQLiteDriver (ChicorySqliteEmbedder)`\nruns within the Chicory WebAssembly Runtime.\n\nA third group benchmarks SQLite running in various WebAssembly interpreters for the JVM:\n\n* Chicory interpreter\n* Chasm interpreter\n\nThe [rawg-games-dataset] is used as the database source. Please ensure that Git LFS is installed.\n\n## Execution\n\n```shell\n./gradlew bench:conAT \n```\n\nThis command runs all benchmarks on the connected android device. \nA real device is required for execution.\nThe results can be found in the \n`bench/build/outputs/connected_android_test_additional_output/releaseAndroidTest/connected` directory.\n\nThe entire set of tests can take several hours to complete.\n\nYou can use the following commands to run limited sets of tests.\n\n```shell\n./gradlew bench:conAT -Pandroid.testInstrumentationRunnerArguments.annotation=at.released.sqlitedriverbenchmark.NativeDrivers\n```\n\nThis command runs Native Driver benchmarks only.\n\n```shell\n./gradlew bench:conAT -Pandroid.testInstrumentationRunnerArguments.annotation=at.released.sqlitedriverbenchmark.ChicoryDrivers\n```\nThis command runs Chicory AOT benchmarks only.\n\n```shell\n./gradlew bench:conAT -Pandroid.testInstrumentationRunnerArguments.annotation=at.released.sqlitedriverbenchmark.InterpreterDrivers\n\n```\nThis command runs Interpreters benchmarks only.\n\n[Android Microbenchmark]: https://developer.android.com/topic/performance/benchmarking/microbenchmark-overview\n[Chasm]: https://github.com/CharlieTap/chasm\n[Chicory WebAssembly Runtime]: https://chicory.dev/\n[ChicorySqliteEmbedder]: https://wsoh.released.at/embedders/Chicory\n[Wasm SQLite Open Helper]: https://wsoh.released.at/\n[androidx.sqlite.SQLiteDriver]: https://developer.android.com/reference/kotlin/androidx/sqlite/SQLiteDriver\n[rawg-games-dataset]: https://huggingface.co/datasets/atalaydenknalbant/rawg-games-dataset\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fillarionov%2Fsqlite-driver-benchmark","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fillarionov%2Fsqlite-driver-benchmark","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fillarionov%2Fsqlite-driver-benchmark/lists"}