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

Average Run Time

8 Minutes, 11 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.112024.0450K100K150K200K250K
* 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 6 June 2024.
326.4%124.2%219.5%819.9%417.4%1612.6%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.41.2

Threads / Copies: 1

OpenBenchmarking.org metrics for this test profile configuration based on 523 public results since 28 April 2023 with the latest data as of 12 June 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.

OpenBenchmarking.orgDistribution Of Public Results - Threads / Copies: 1516 Results Range From 2 To 2678 Seconds2561101642182723263804344885425966507047588128669209741028108211361190124412981352140614601514156816221676173017841838189219462000205421082162221622702324237824322486254025942648270280160240320400

Based on OpenBenchmarking.org data, the selected test / test configuration (SQLite 3.41.2 - 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-Time1326395265Min: 1 / Avg: 5.9 / Max: 66

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsThreads / Copies: 1Deviation510152025Min: 0 / Avg: 2.18 / Max: 18

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)
Loongson LoongArch 64-bit
loongarch64
Loongson-3A5000-HV
ARMv7 32-bit
armv7l
ARMv7, ARMv7 Cortex-A15 8-Core
ARMv8 64-bit
aarch64
ARMv8 4-Core, ARMv8 Cortex-A72 4-Core, ARMv8 Cortex-A76 4-Core, ARMv8 Cortex-X1, ARMv8 Cortex-X1 4-Core, ARMv8 Neoverse-N1, ARMv8 Neoverse-N1 160-Core, ARMv8 Neoverse-N1 2-Core, ARMv8 Neoverse-N1 80-Core, Rockchip ARMv8 Cortex-A55 4-Core, Rockchip ARMv8 Cortex-A76, Rockchip ARMv8 Cortex-A76 4-Core

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 5 Benchmark Results

Intel Xeon E5-2667 v4 - HP 212B v1.01 - Intel Xeon E7 v4

Arch Linux - 6.9.3-arch1-1 - X Server 1.21.1.13 + Wayland

1 System - 57 Benchmark Results

ARMv8 Cortex-A72 - Raspberry Pi Compute Module 4 Rev 1.0 - Broadcom BCM2711

Debian 12 - 6.1.0-rpi7-rpi-v8 - X Server 1.21.1.7

1 System - 383 Benchmark Results

8 x Intel Xeon Gold 6240 - Intel 440BX - Intel 440BX

Oracle Linux Server 9.3 - 5.14.0-362.24.1.0.1.el9_3.x86_64 - GCC 11.4.1 20230605

1 System - 75 Benchmark Results

ARMv8 Cortex-A72 - Raspberry Pi Compute Module 4 Rev 1.0 - Broadcom BCM2711

Debian 12 - 6.1.0-rpi7-rpi-v8 - X Server 1.21.1.7

1 System - 20 Benchmark Results

AMD Ryzen 9 5900X 12-Core - ASUS TUF GAMING X570-PLUS - AMD Starship

Fedora Linux 40 - 6.8.10-300.fc40.x86_64 - X Server 1.20.11

1 System - 1 Benchmark Result

Intel Xeon E5-2680 v4 - (GFC612NP21V10R013 BIOS) - 1 x 16384MB 2400MHz Hynix HMA42GR7AFR4N-UH

Microsoft Windows Server 2022 Standard Evaluation Build 20348 - 10.0.20348.1 - 9.0.10.106

2 Systems - 6 Benchmark Results

AMD Ryzen 9 7950X 16-Core - ASUS ROG STRIX X670E-I GAMING WIFI - AMD Device 14d8

Ubuntu 23.10 - 6.5.0-15-generic - GNOME Shell 45.2

1 System - 55 Benchmark Results

Intel Core i5-4590 - Intel VMware Virtual 440BX Desktop - Intel 440BX

CentOS Linux 7 - 3.10.0-1160.el7.x86_64 - GNOME Shell 3.28.3

1 System - 3 Benchmark Results

2 x Intel Xeon Gold 6248R - Intel 440BX - 1 x 4096MB 0MHz

Microsoft Windows Server 2022 Standard Build 20348 - 10.0.20348.2461 - 10.0.20348.2461

1 System - 57 Benchmark Results

ARMv8 Cortex-A72 - Raspberry Pi Compute Module 4 Rev 1.0 - Broadcom BCM2711

Debian 12 - 6.1.0-rpi7-rpi-v8 - X Server 1.21.1.7

1 System - 52 Benchmark Results

AMD Ryzen 9 5950X 16-Core - AMD Starship - 64GB

Debian - 6.9.2-sven - Xfce

1 System - 40 Benchmark Results

AMD Ryzen 9 5950X 16-Core - AMD Starship - 64GB

Debian - 6.9.2-sven - Xfce

1 System - 39 Benchmark Results

AMD Ryzen 9 5950X 16-Core - AMD Starship - 64GB

Debian - 6.9.2-sven - Xfce

1 System - 35 Benchmark Results

AMD Ryzen 9 5950X 16-Core - AMD Starship - 64GB

Debian - 6.9.2-sven - Xfce

10 Systems - 14 Benchmark Results

Intel N97 - HARDKERNEL ODROID-H4 v1.0 - Intel Device 54ef

Debian 12 - 6.1.0-20-amd64 - GCC 12.2.0

Most Popular Test Results

OpenBenchmarking.org Results Compare

19 Systems - 364 Benchmark Results

Intel Core i7-12700H - Alienware 0TJXCY - 2 x 16384 MB 4800MHz HMCG78MEBSA095N

Microsoft Windows 11 Home Single Language Build 22621 - 10.0.22621.1928 - 536.40

2 Systems - 35 Benchmark Results

AMD Ryzen 9 7950X3D 16-Core - ASRock X670E PG Lightning - AMD Device 14d8

Ubuntu 22.10 - 5.19.0-23-generic - GNOME Shell 43.0

2 Systems - 191 Benchmark Results

AMD Ryzen Z1 Extreme - ASUS RC71L v1.0 - AMD Device 14e8

Ubuntu 23.04 - 6.4.0-060400rc6-generic - GNOME Shell 44.2

2 Systems - 84 Benchmark Results

Intel Core i9-13900K - ASUS PRIME Z790-P WIFI - Intel Device 7a27

Ubuntu 23.04 - 6.2.0-20-generic - GNOME Shell 44.0

2 Systems - 234 Benchmark Results

AMD Ryzen Threadripper 3970X 32-Core - ASUS ROG ZENITH II EXTREME - AMD Starship

Ubuntu 22.04 - 5.19.0-051900rc7-generic - GNOME Shell 42.2

2 Systems - 234 Benchmark Results

AMD Ryzen Threadripper 3970X 32-Core - ASUS ROG ZENITH II EXTREME - AMD Starship

Ubuntu 22.04 - 5.19.0-051900rc7-generic - GNOME Shell 42.2

3 Systems - 49 Benchmark Results

AMD Ryzen 5 4500U - LENOVO LNVNB161216 - AMD Renoir

Pop 22.04 - 5.17.5-76051705-generic - GNOME Shell 42.1

3 Systems - 37 Benchmark Results

Intel Core i7-1065G7 - Dell 06CDVY - Intel Ice Lake-LP DRAM

Ubuntu 22.04 - 5.19.0-38-generic - GNOME Shell 42.2

3 Systems - 22 Benchmark Results

AMD Ryzen 5 5500U - NB01 NL5xNU - AMD Renoir

Tuxedo 22.04 - 6.0.0-1010-oem - KDE Plasma 5.26.5

2 Systems - 35 Benchmark Results

AMD Ryzen 9 7950X3D 16-Core - ASRock X670E PG Lightning - AMD Device 14d8

Ubuntu 22.10 - 5.19.0-23-generic - GNOME Shell 43.0

3 Systems - 16 Benchmark Results

Intel Core i7-1185G7 - Dell 0DXP1F - Intel Tiger Lake-LP

Ubuntu 22.04 - 5.19.0-40-generic - GNOME Shell 42.2

2 Systems - 17 Benchmark Results

AMD EPYC 7551 32-Core - GIGABYTE MZ31-AR0-00 v01010101 - AMD 17h

Debian 11 - 5.10.0-9-amd64 - GCC 10.2.1 20210110

2 Systems - 191 Benchmark Results

AMD Ryzen 7 PRO 5850U - HP 8A78 - AMD Renoir

Pop 22.04 - 6.2.6-76060206-generic - GNOME Shell 42.5

4 Systems - 17 Benchmark Results

Apple M2 - Apple MacBook Air - Apple Silicon

Arch rolling - 6.3.0-asahi-6-1-ARCH - KDE Plasma 5.27.5

Find More Test Results