spaCy

The spaCy library is an open-source solution for advanced neural language processing (NLP). The spaCy library leverages Python and is a leading neural language processing solution. This test profile times the spaCy CPU performance with various models.

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

Project Site

spacy.io

Source Repository

github.com

Test Created

7 October 2022

Test Maintainer

Michael Larabel 

Test Type

System

Average Install Time

3 Minutes, 32 Seconds

Average Run Time

4 Minutes, 39 Seconds

Test Dependencies

Python

Accolades

20k+ Downloads

Supported Platforms


Public Result Uploads *Reported Installs **Reported Test Completions **Test Profile Page ViewsOpenBenchmarking.orgEventsspaCy Popularity Statisticspts/spacy2022.102022.112022.122023.012023.022023.032023.042023.052023.062023.072023.082023.092023.102023.112023.122024.012024.022024.032024.0410002000300040005000
* 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.
Data updated weekly as of 14 April 2024.

Revision History

pts/spacy-1.0.0   [View Source]   Fri, 07 Oct 2022 18:55:58 GMT
Initial commit of spaCy.

Suites Using This Test

Machine Learning

HPC - High Performance Computing


Performance Metrics

Analyze Test Configuration:

spaCy 3.4.1

Model: en_core_web_lg

OpenBenchmarking.org metrics for this test profile configuration based on 247 public results since 7 October 2022 with the latest data as of 13 March 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
tokens/sec (Average)
98th
19
20646 +/- 208
91st
10
19583 +/- 395
87th
7
19388 +/- 90
83rd
5
18870 +/- 6
80th
3
18772 +/- 17
79th
10
18702 +/- 117
76th
4
18571 +/- 145
Mid-Tier
75th
< 18445
74th
3
17199 +/- 72
72nd
4
16546 +/- 100
70th
3
16012 +/- 11
69th
4
15896 +/- 13
67th
3
15595 +/- 48
63rd
3
14656 +/- 28
63rd
3
14546 +/- 108
62nd
3
14051 +/- 61
60th
3
13815 +/- 47
60th
3
13784 +/- 32
57th
4
13530 +/- 15
55th
3
13454 +/- 35
Median
50th
12523
47th
3
12363 +/- 18
41st
3
12146 +/- 35
40th
4
12079 +/- 149
36th
3
11854 +/- 23
34th
4
11710 +/- 10
29th
4
11440 +/- 13
Low-Tier
25th
< 11271
25th
4
11266 +/- 11
25th
3
11260 +/- 47
25th
3
11258 +/- 53
25th
4
11242 +/- 34
16th
4
10967 +/- 13
16th
5
10951 +/- 33
14th
3
10896 +/- 44
12th
4
10856 +/- 21
9th
3
10419 +/- 105
8th
3
10078 +/- 79
3rd
4
4914 +/- 12
OpenBenchmarking.orgDistribution Of Public Results - Model: en_core_web_lg247 Results Range From 4205 To 21022 tokens/sec420545424879521655535890622765646901723875757912824985868923926095979934102711060810945112821161911956122931263012967133041364113978143151465214989153261566316000163371667417011173481768518022183591869619033193701970720044203812071821055714212835

Based on OpenBenchmarking.org data, the selected test / test configuration (spaCy 3.4.1 - Model: en_core_web_lg) has an average run-time of 4 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 BenchmarkModel: en_core_web_lgRun-Time3691215Min: 2 / Avg: 3.85 / Max: 10

Does It Scale Well With Increasing Cores?

No, based on the automated analysis of the collected public benchmark data, this test / test settings does not generally scale well with increasing CPU core counts. Data based on publicly available results for this test / test settings, separated by vendor, result divided by the reference CPU clock speed, grouped by matching physical CPU core count, and normalized against the smallest core count tested from each vendor for each CPU having a sufficient number of test samples and statistically significant data.

AMDIntelOpenBenchmarking.orgRelative Core Scaling To BasespaCy CPU Core ScalingModel: en_core_web_lg6812160.41040.82081.23121.64162.052

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.
 
MOVDQA MOVDQU PUNPCKLQDQ PADDQ CVTSS2SD UCOMISD CVTSD2SS MOVD CVTSI2SD ADDSD MULSD XORPD DIVSD SUBSD CVTTSD2SI COMISD MOVAPD SHUFPD ANDPD UNPCKLPD MULPD UNPCKHPD SUBPD ADDPD PUNPCKHQDQ PSUBQ PSHUFD ORPD SQRTSD ANDNPD CMPNLESD MINSD MAXSD PSRLDQ MOVMSKPD MOVUPD CMPLTSD DIVPD
Last automated analysis: 10 October 2022

This test profile binary relies on the shared libraries libm.so.6, libexpat.so.1, libz.so.1, libc.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)
ARMv8 64-bit
aarch64
ARMv8 Neoverse-N1, Apple M2

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 341 Benchmark Results

AMD Ryzen 9 7950X 16-Core - ASUS ProArt X670E-CREATOR WIFI - AMD Device 14d8

Pop 22.04 - 6.6.10-76060610-generic - GNOME Shell 42.5

1 System - 304 Benchmark Results

AMD A4-5300 APU - ASRock FM2A88M-HD+ R3.0 - AMD 15h

Ubuntu 20.04 - 5.15.0-89-generic - GNOME Shell 3.36.9

1 System - 295 Benchmark Results

AMD Ryzen 9 7950X3D 16-Core - ASUS PRIME X670E-PRO WIFI - AMD Device 14d8

Ubuntu 22.04 - 6.2.0-39-generic - GNOME Shell 42.9

1 System - 301 Benchmark Results

AMD A8-9600 RADEON R7 10 COMPUTE CORES 4C+6G - ASRock A320M-HDV R4.0 - AMD 15h

Ubuntu 20.04 - 5.15.0-89-generic - GNOME Shell 3.36.9

1 System - 82 Benchmark Results

AMD Ryzen 7 7840U - Framework FRANMDCP07 - AMD Device 14e8

Ubuntu 23.10 - 6.7.0-060700rc5-generic - GNOME Shell 45.1

1 System - 307 Benchmark Results

Intel Core i3-10100 - ASRock H510M-HVS - Intel Device 43ef

Ubuntu 20.04 - 5.15.0-88-generic - GNOME Shell 3.36.9

1 System - 264 Benchmark Results

Intel Pentium Gold G6405 - ASRock H510M-HDV/M.2 SE - Intel Comet Lake PCH

Ubuntu 20.04 - 5.15.0-88-generic - GNOME Shell 3.36.9

1 System - 264 Benchmark Results

Intel Pentium Gold G6400 - ASRock H510M-HDV/M.2 SE - Intel Comet Lake PCH

Ubuntu 20.04 - 5.15.0-86-generic - GNOME Shell 3.36.9

1 System - 279 Benchmark Results

Intel Core i3-10105 - ASRock H510M-HDV/M.2 SE - Intel Comet Lake PCH

Ubuntu 20.04 - 5.15.0-83-generic - GNOME Shell 3.36.9

Find More Test Results