{"id":16881558,"url":"https://github.com/benbjohnson/sqlite-bench","last_synced_at":"2025-04-11T12:09:14.440Z","repository":{"id":66318102,"uuid":"308381202","full_name":"benbjohnson/sqlite-bench","owner":"benbjohnson","description":"Miscellaneous Go/SQLite benchmarks","archived":false,"fork":false,"pushed_at":"2022-04-11T00:41:22.000Z","size":3,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-02T21:05:50.162Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/benbjohnson.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2020-10-29T16:08:09.000Z","updated_at":"2024-12-18T12:18:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"30b2e6e6-8043-4e63-ad3e-98098f3830ec","html_url":"https://github.com/benbjohnson/sqlite-bench","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benbjohnson%2Fsqlite-bench","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benbjohnson%2Fsqlite-bench/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benbjohnson%2Fsqlite-bench/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benbjohnson%2Fsqlite-bench/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/benbjohnson","download_url":"https://codeload.github.com/benbjohnson/sqlite-bench/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248397494,"owners_count":21097125,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-10-13T16:03:49.632Z","updated_at":"2025-04-11T12:09:14.406Z","avatar_url":"https://github.com/benbjohnson.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"sqlite-bench\n============\n\nThis repository contains a small Go program for performing simple,\nmicrobenchmarks of writes to a SQLite database. It is not meant to be\nrepresentative of real world use but is meant to give a general ballpark of \nperformance numbers given different journaling settings.\n\n## Results\n\nThe following results were obtained on a MacBook Pro (13-inch, 2017), 2.3 GHz\nDual-Core Intel Core i5, with an APPLE SSD SM0128L disk.\n\n### Journal mode DELETE\n\n```sh\n$ sqlite-bench -batch-count 1000 -batch-size 1000 -row-size 100 -journal-mode delete ~/bench.db\nInserts:   1000000 rows\nElapsed:   3.153s\nRate:      317175.758 insert/sec\nFile size: 110993408 bytes\n```\n\n### Journal mode WAL, Synchronous FULL\n\n```sh\nsqlite-bench -batch-count 1000 -batch-size 1000 -row-size 100 -journal-mode wal ~/bench.db\nInserts:   1000000 rows\nElapsed:   3.131s\nRate:      319398.103 insert/sec\nFile size: 110993408 bytes\n```\n\n### Journal mode WAL, Synchronous NORMAL\n\n```sh\nsqlite-bench -batch-count 1000 -batch-size 1000 -row-size 100 -journal-mode wal -synchronous normal ~/bench.db\nInserts:   1000000 rows\nElapsed:   2.544s\nRate:      393045.303 insert/sec\nFile size: 110993408 bytes\n```\n\n### Journal mode WAL, Synchronous OFF\n\nThis mode is completely unsafe. Please do not actually run this.\n\n```sh\nsqlite-bench -batch-count 1000 -batch-size 1000 -row-size 100 -journal-mode wal -synchronous off ~/bench.db\nInserts:   1000000 rows\nElapsed:   2.093s\nRate:      477827.165 insert/sec\nFile size: 110993408 bytes\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenbjohnson%2Fsqlite-bench","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenbjohnson%2Fsqlite-bench","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenbjohnson%2Fsqlite-bench/lists"}