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, 32 Seconds

Average Run Time

7 Minutes, 18 Seconds

Test Dependencies

C/C++ Compiler Toolchain

Accolades

250k+ 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.1150K100K150K200K250K
* 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 28 November 2023.
325.9%125.2%219.6%819.9%417.9%1611.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,709 public results since 24 October 2019 with the latest data as of 20 November 2023.

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
74th
25
15 +/- 1
69th
3
17 +/- 1
68th
6
17 +/- 2
68th
7
18 +/- 2
Median
50th
32
45th
4
36 +/- 5
43rd
3
38 +/- 2
40th
49
40 +/- 6
32nd
3
48 +/- 2
31st
29
50 +/- 6
Low-Tier
25th
> 57
25th
9
59 +/- 4
23rd
11
62 +/- 6
17th
3
75 +/- 2
16th
3
77 +/- 4
10th
3
123 +/- 1
9th
3
127 +/- 12
9th
4
134 +/- 6
OpenBenchmarking.orgDistribution Of Public Results - Threads / Copies: 11709 Results Range From 2 To 13584 Seconds22745468181090136216341906217824502722299432663538381040824354462648985170544257145986625865306802707473467618789081628434870689789250952297941006610338106101088211154114261169811970122421251412786130581333013602400800120016002000

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.99 / Max: 94

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsThreads / Copies: 1Deviation612182430Min: 0 / Avg: 2.66 / 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 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

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 260 Benchmark Results

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

Ubuntu 20.04 - 5.15.0-1049-aws - GNOME Shell 3.36.9

1 System - 251 Benchmark Results

Intel Xeon Platinum 8358 - QEMU Standard PC - Intel 440FX 82441FX PMC

Ubuntu 20.04 - 5.15.0-1042-oracle - 1.1.182

1 System - 256 Benchmark Results

AMD EPYC 7J13 64-Core - QEMU Standard PC - Intel 440FX 82441FX PMC

Ubuntu 20.04 - 5.15.0-1042-oracle - 1.1.182

1 System - 241 Benchmark Results

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

Ubuntu 20.04 - 5.15.0-1049-aws - GNOME Shell 3.36.9

1 System - 9 Benchmark Results

2 x Intel Xeon E5-2620 v4 - Dell PowerEdge T630 [0W9WXC] - 16 x 8192 MB 2133MHz M393A1G40EB1-CPB

Microsoft Windows Server 2019 Standard Build 17763 - 10.0.17763.4974 - 10.0.17763.1

1 System - 275 Benchmark Results

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

Ubuntu 20.04 - 5.15.0-1048-aws - 1.1.182

1 System - 352 Benchmark Results

2 x Intel Xeon Platinum 8452Y - Lenovo SB27A92818 v06 - 8 x 32 GB DDR5-4800MT

AlmaLinux 9.2 - 5.14.0-284.30.1.el9_2.x86_64 - GCC 11.3.1 20221121

1 System - 58 Benchmark Results

AMD EPYC - KVM Standard PC - 16 GB + 15616 MB RAM

Fedora Linux 38 - 6.4.10-200.fc38.x86_64 - GCC 13.2.1 20230728

1 System - 32 Benchmark Results

ARMv8 Neoverse-N1 - KVM Virtual Machine - 16 GB + 15616 MB RAM

Fedora Linux 38 - 6.4.10-200.fc38.aarch64 - GCC 13.2.1 20230728

1 System - 41 Benchmark Results

AMD Ryzen 5 3600 6-Core - MSI B450M GAMING PLUS - AMD Starship

Arch rolling - 5.15.69-1-lts - KDE Plasma 5.25.5

1 System - 641 Benchmark Results

Intel Xeon E5-2687W 0 - HP 158A - Intel Xeon E5

Ubuntu 22.04 - 5.15.0-71-generic - nouveau

Find More Test Results