SQLite

This is a simple benchmark of SQLite. At present this test profile just measures the time to perform a pre-defined number of insertions on an indexed database with a variable number of concurrent repetitions -- up to the maximum number of CPU threads available.

To run this test with the Phoronix Test Suite, the basic command is: phoronix-test-suite benchmark sqlite.

Project Site

sqlite.org

Source Repository

github.com

Test Created

6 December 2010

Last Updated

28 April 2023

Test Maintainer

Michael Larabel 

Test Type

Disk

Average Install Time

1 Minute, 30 Seconds

Average Run Time

3 Minutes, 58 Seconds

Test Dependencies

C/C++ Compiler Toolchain

Accolades

300k+ Downloads + 20k+ Public Benchmark Results

Supported Platforms


Public Result Uploads *Reported Test Completions **Reported Installs **Test Profile Page Views ***OpenBenchmarking.orgEventsSQLite Popularity Statisticspts/sqlite2010.122011.052011.102012.032012.082013.012013.062013.112014.042014.092015.022015.072015.122016.052016.102017.032017.082018.012018.062018.112019.042019.092020.022020.072020.122021.052021.102022.032022.082023.012023.062023.112024.042024.0950K100K150K200K250K
* Uploading of benchmark result data to OpenBenchmarking.org is always optional (opt-in) via the Phoronix Test Suite for users wishing to share their results publicly.
** Data based on those opting to upload their test results to OpenBenchmarking.org and users enabling the opt-in anonymous statistics reporting while running benchmarks from an Internet-connected platform.
*** Test profile page view reporting began March 2021.
Data updated weekly as of 24 December 2024.
129.2%225.1%813.4%423.9%168.4%Threads / Copies Option PopularityOpenBenchmarking.org

Revision History

pts/sqlite-2.2.0   [View Source]   Fri, 28 Apr 2023 12:41:59 GMT
Update against SQLite 3.41.2 upstream, adjust option value so it auto-populates up to the total number of CPU threads available. Closes: https://github.com/phoronix-test-suite/test-suites/pull/9

pts/sqlite-2.1.0   [View Source]   Thu, 24 Oct 2019 12:31:34 GMT
Update based on https://github.com/phoronix-test-suite/test-profiles/pull/108 plus fixes, update against SQLite 3.30.1 upstream.

pts/sqlite-2.0.1   [View Source]   Wed, 28 Feb 2018 10:14:35 GMT
Add Windows support.

pts/sqlite-2.0.0   [View Source]   Mon, 26 Feb 2018 17:18:54 GMT
Update against SQLite 3.22.

pts/sqlite-1.9.0   [View Source]   Tue, 09 Jun 2015 21:45:02 GMT
Big update to SQLite

pts/sqlite-1.8.0   [View Source]   Mon, 06 Dec 2010 15:22:08 GMT
Initial import into OpenBenchmarking.org

Suites Using This Test

Database Test Suite

Disk Test Suite

Server


Performance Metrics

Analyze Test Configuration:

SQLite 3.30.1

Threads / Copies: 1

OpenBenchmarking.org metrics for this test profile configuration based on 1,704 public results since 24 October 2019 with the latest data as of 25 December 2024.

Below is an overview of the generalized performance for components where there is sufficient statistically significant data based upon user-uploaded results. It is important to keep in mind particularly in the Linux/open-source space there can be vastly different OS configurations, with this overview intended to offer just general guidance as to the performance expectations.

Component
Percentile Rank
# Compatible Public Results
Seconds (Average)
83rd
3
11 +/- 1
Mid-Tier
75th
> 15
75th
25
15 +/- 1
69th
3
17 +/- 1
68th
6
17 +/- 2
68th
7
18 +/- 2
Median
50th
32
46th
5
34 +/- 5
43rd
3
38 +/- 2
32nd
3
48 +/- 2
31st
28
50 +/- 6
Low-Tier
25th
> 56
24th
9
59 +/- 4
23rd
9
62 +/- 7
17th
3
75 +/- 2
16th
3
77 +/- 4
10th
3
123 +/- 1
9th
3
127 +/- 12
9th
4
134 +/- 6
Detailed Performance Overview
OpenBenchmarking.orgDistribution Of Public Results - Threads / Copies: 11704 Results Range From 2 To 13584 Seconds2274546818109013621634190621782450272229943266353838104082435446264898517054425714598662586530680270747346761878908162843487068978925095229794100661033810610108821115411426116981197012242125141278613058133301360230060090012001500

Based on OpenBenchmarking.org data, the selected test / test configuration (SQLite 3.30.1 - Threads / Copies: 1) has an average run-time of 6 minutes. By default this test profile is set to run at least 3 times but may increase if the standard deviation exceeds pre-defined defaults or other calculations deem additional runs necessary for greater statistical accuracy of the result.

OpenBenchmarking.orgMinutesTime Required To Complete BenchmarkThreads / Copies: 1Run-Time20406080100Min: 1 / Avg: 5.93 / Max: 94

Based on public OpenBenchmarking.org results, the selected test / test configuration has an average standard deviation of 2.6%.

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsThreads / Copies: 1Deviation612182430Min: 0 / Avg: 2.63 / Max: 26

Notable Instruction Set Usage

Notable instruction set extensions supported by this test, based on an automatic analysis by the Phoronix Test Suite / OpenBenchmarking.org analytics engine.

Instruction Set
Support
Instructions Detected
SSE2 (SSE2)
Used by default on supported hardware.
 
CVTSI2SD SUBSD MULSD COMISD CVTTSD2SI UCOMISD ADDSD DIVSD MOVDQA MOVDQU CVTSS2SD MOVD MOVAPD XORPD MINSD CMPNLESD ANDPD ANDNPD ORPD CVTSD2SS CMPLTSD CMPNLTSD MAXSD
Requires passing a supported compiler/build flag (verified with targets: sandybridge, skylake, tigerlake, cascadelake, sapphirerapids, alderlake, znver2, znver3).
Found on Intel processors since Sandy Bridge (2011).
Found on AMD processors since Bulldozer (2011).

 
VEXTRACTF128 VZEROUPPER VINSERTF128 VPERM2F128 VBROADCASTSS VBROADCASTSD
Requires passing a supported compiler/build flag (verified with targets: skylake, tigerlake, cascadelake, sapphirerapids, alderlake, znver2, znver3).
Found on Intel processors since Haswell (2013).
Found on AMD processors since Excavator (2016).

 
VPBROADCASTB VEXTRACTI128 VINSERTI128 VPERMQ VPERMD VPBLENDD VPERM2I128 VPBROADCASTW VPBROADCASTQ VPBROADCASTD VPGATHERQQ VPGATHERQD
FMA (FMA)
Requires passing a supported compiler/build flag (verified with targets: skylake, tigerlake, cascadelake, sapphirerapids, alderlake, znver2, znver3).
Found on Intel processors since Haswell (2013).
Found on AMD processors since Bulldozer (2011).

 
VFMADD231SD VFMADD132SD
Advanced Vector Extensions 512 (AVX512)
Requires passing a supported compiler/build flag (verified with targets: cascadelake, sapphirerapids).
 
(ZMM REGISTER USE)
The test / benchmark does honor compiler flag changes.
Last automated analysis: 18 January 2022

This test profile binary relies on the shared libraries libreadline.so.8, libz.so.1, libm.so.6, libc.so.6, libtinfo.so.6.

Tested CPU Architectures

This benchmark has been successfully tested on the below mentioned architectures. The CPU architectures listed is where successful OpenBenchmarking.org result uploads occurred, namely for helping to determine if a given test is compatible with various alternative CPU architectures.

CPU Architecture
Kernel Identifier
Verified On
Intel / AMD x86 64-bit
x86_64
(Many Processors)
RISC-V 64-bit
riscv64
SiFive RISC-V
IBM POWER (PowerPC) 64-bit
ppc64le
POWER9 4-Core, POWER9 44-Core
MIPS 64-bit
mips64
Loongson-3A R4
Intel / AMD x86 32-bit
i686
(Many Processors)
ARMv7 32-bit
armv7l
ARMv7 Cortex-A72 4-Core, ARMv7 Cortex-A9 4-Core, ARMv7 rev 10 4-Core, ARMv7 rev 3 4-Core, Pi 4 2GB 32-bit
ARMv8 64-bit
aarch64
AArch64 rev 12, ARMv8, ARMv8 Cortex-A53 4-Core, ARMv8 Cortex-A55 4-Core, ARMv8 Cortex-A57 4-Core, ARMv8 Cortex-A57 6-Core, ARMv8 Cortex-A57 8-Core, ARMv8 Cortex-A72, ARMv8 Cortex-A72 4-Core, ARMv8 Cortex-A72 6-Core, ARMv8 Cortex-A73 6-Core, ARMv8 Cortex-A76 4-Core, ARMv8 Neoverse-N1, ARMv8 Neoverse-N1 2-Core, ARMv8 Neoverse-N1 4-Core, ARMv8 Neoverse-N1 64-Core, ARMv8 Neoverse-V1, ARMv8 Neoverse-V1 4-Core, Ampere eMAG ARMv8 32-Core, FT2000AHK, Pi 4 2GB 64-bit, Rockchip ARMv8 Cortex-A72 6-Core, Rockchip ARMv8 Cortex-A76 4-Core, Rockchip ARMv8 Cortex-A76 6-Core, rk1-mainline-emmc, rk1-mainline-nvme, rk1-rok-emmc

Recent Test Results

OpenBenchmarking.org Results Compare

3 Systems - 33 Benchmark Results

Apple M1 Pro - Apple MacBook Pro - 32GB

macOS 12.6.1 - 21.6.0 - GCC 14.0.0 + Clang 14.0.0 + Xcode 14.1

2 Systems - 32 Benchmark Results

Apple M4 Max - Apple MacBook Pro - 48GB

macOS 15.1.1 - 24.1.0 - X Server

1 System - 1 Benchmark Result

2 x Intel Xeon Gold 6230 - QEMU Standard PC - Intel 82G33

Ubuntu 24.04 - 6.8.0-45-generic - GCC 13.2.0

1 System - 143 Benchmark Results

Apple M4 Max - Apple MacBook Pro - 128GB

macOS 15.1 - 24.1.0 - GCC 16.0.0 + Clang 16.0.0

1 System - 242 Benchmark Results

2 x QEMU Virtual 2.5+ - QEMU Standard PC - 48GB

Alpine Linux v3.20 3.20.2 - 6.6.44-0-virt - GCC 13.2.1 20240309

1 System - 529 Benchmark Results

Intel Xeon Platinum 8375C - Amazon EC2 m6id.4xlarge - Intel 440FX 82441FX PMC

Ubuntu 24.04 - 6.8.0-1009-aws - GCC 13.2.0

1 System - 529 Benchmark Results

Intel Xeon Platinum 8375C - Amazon EC2 m6id.4xlarge - Intel 440FX 82441FX PMC

Ubuntu 24.04 - 6.8.0-1009-aws - GCC 13.2.0

1 System - 529 Benchmark Results

AMD EPYC 7R13 - Amazon EC2 m6a.4xlarge - Intel 440FX 82441FX PMC

Ubuntu 24.04 - 6.8.0-1009-aws - GCC 13.2.0

1 System - 529 Benchmark Results

AMD EPYC 7R13 - Amazon EC2 m6a.4xlarge - Intel 440FX 82441FX PMC

Ubuntu 24.04 - 6.8.0-1009-aws - GCC 13.2.0

1 System - 529 Benchmark Results

1 System - 529 Benchmark Results

1 System - 1 Benchmark Result

AMD Ryzen 5 3600X 6-Core - MSI B450 GAMING PRO CARBON MAX WIFI - 2 x 16384 MB 2400MHz Kingston KF3200C16D4

Microsoft Windows 10 Pro Build 19045 - 10.0.19045.3570 - 560.70

1 System - 115 Benchmark Results

AMD EPYC 7571 - Amazon EC2 m5a.4xlarge - Intel 440FX 82441FX PMC

Ubuntu 24.04 - 6.8.0-1009-aws - GCC 13.2.0

1 System - 69 Benchmark Results

Intel Xeon Platinum 8375C - Amazon EC2 m6id.4xlarge - Intel 440FX 82441FX PMC

Ubuntu 24.04 - 6.8.0-1009-aws - GCC 13.2.0

1 System - 21 Benchmark Results

AMD EPYC 9R14 - Amazon EC2 m7a.medium - Intel 440FX 82441FX PMC

Ubuntu 24.04 - 6.8.0-1009-aws - GCC 13.2.0

Most Popular Test Results

OpenBenchmarking.org Results Compare

5 Systems - 23 Benchmark Results

AMD Ryzen 9 5950X 16-Core - ASUS ROG CROSSHAIR VIII HERO - AMD Starship

Ubuntu 20.10 - 5.11.0-rc4-max-boost-inv-patch - GNOME Shell 3.38.1

3 Systems - 268 Benchmark Results

Intel Core i5-2520M - HP 161C - Intel 2nd Generation Core DRAM

Ubuntu 18.04 - 4.18.0-20-generic - GNOME Shell 3.28.3

7 Systems - 62 Benchmark Results

Intel Core i9-7960X - 16384MB - 238GB

Ubuntu 18.04 - 4.4.0-19008-Microsoft - GCC 7.4.0

3 Systems - 30 Benchmark Results

Intel Core i9-9900KS - ASUS PRIME Z390-A - Intel Cannon Lake PCH

Clear Linux OS 31950 - 5.4.4-880.native - GNOME Shell 3.34.2

3 Systems - 174 Benchmark Results

Intel Core i9-10900K - Gigabyte Z490 AORUS MASTER - Intel Comet Lake PCH

Fedora 33 - 5.8.11-300.fc33.x86_64 - GNOME Shell 3.38.0

2 Systems - 269 Benchmark Results

AMD Ryzen Threadripper 3990X 64-Core - System76 Thelio Major - AMD Starship

Pop 20.04 - 5.4.0-7626-generic - GNOME Shell 3.36.1

2 Systems - 59 Benchmark Results

AMD Ryzen 7 3700X 8-Core - MSI MEG X570 GODLIKE - AMD Device 1480

Clear Linux OS 31470 - 5.3.8-854.native - GNOME Shell 3.34.1

2 Systems - 90 Benchmark Results

Intel Core i9-9900KS - ASUS PRIME Z390-A - Intel Cannon Lake PCH

Ubuntu 20.04 - 5.4.0-14-generic - GNOME Shell 3.34.3

2 Systems - 297 Benchmark Results

AMD Ryzen Threadripper 3990X 64-Core - System76 Thelio Major - AMD Starship

Pop 20.10 - 5.8.0-7625-generic - GNOME Shell 3.38.1

7 Systems - 149 Benchmark Results

AMD Ryzen 5 4500U - LENOVO LNVNB161216 - AMD Renoir Root Complex

Ubuntu 20.10 - 5.7.4-050704-generic - GNOME Shell 3.36.3

Find More Test Results