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

4 Minutes, 55 Seconds

Average Run Time

3 Minutes, 25 Seconds

Test Dependencies

Python

Accolades

10k+ 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.097001400210028003500
* 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 27 September 2023.

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 245 public results since 7 October 2022 with the latest data as of 22 September 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
tokens/sec (Average)
98th
19
20646 +/- 208
91st
9
19697 +/- 170
87th
7
19388 +/- 90
83rd
5
18870 +/- 6
80th
3
18772 +/- 17
79th
10
18702 +/- 117
77th
4
18571 +/- 145
Mid-Tier
75th
< 18445
75th
3
17199 +/- 72
73rd
4
16546 +/- 100
71st
3
16012 +/- 11
70th
4
15896 +/- 13
68th
3
15595 +/- 48
64th
3
14656 +/- 28
64th
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
12492
48th
3
12363 +/- 18
41st
3
12146 +/- 35
40th
4
12079 +/- 149
37th
3
11854 +/- 23
34th
4
11710 +/- 10
29th
4
11440 +/- 13
26th
4
11266 +/- 11
26th
3
11260 +/- 47
26th
3
11258 +/- 53
Low-Tier
25th
< 11256
25th
4
11242 +/- 34
17th
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_lg245 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.9 / 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

2 Systems - 3 Benchmark Results

Intel Core i5-1135G7 - HP 87E1 - Intel Tiger Lake-LP

Ubuntu 22.04 - 6.4.8-060408-generic - GNOME Shell 42.9

1 System - 2 Benchmark Results

Intel Xeon W-3275M - Parallels Software Virtual - Red Hat Virtio + ICH8

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

1 System - 2 Benchmark Results

2 x Intel Xeon E5-2696 v4 - HUANANZHI X99-F8D PLUS - Intel Xeon E7 v4

Ubuntu 22.04 - 6.4.6-060406-generic - GNOME Shell 42.9

1 System - 253 Benchmark Results

AMD Ryzen 5 7600X 6-Core - ASUS TUF GAMING B650-PLUS WIFI - AMD Device 14d8

Ubuntu 22.04 - 5.19.0-50-generic - GNOME Shell 42.9

1 System - 229 Benchmark Results

AMD Ryzen 7 5800X 8-Core - ASRock X570 Phantom Gaming-ITX/TB3 - AMD Starship

Ubuntu 22.04 - 5.19.0-45-generic - GNOME Shell 42.5

1 System - 253 Benchmark Results

Intel Core i7-12700H - Intel NUC12SNKi72 - Intel Alder Lake PCH

Ubuntu 22.04 - 5.19.0-42-generic - GNOME Shell 42.5

2 Systems - 3 Benchmark Results

2 x Intel Xeon Gold 5118 - Supermicro X11DDW-L v1.11 - Intel Sky Lake-E DMI3 Registers

Arch Linux - 6.2.9-arch1-1 - GNOME Shell 43.4

1 System - 2 Benchmark Results

AMD Ryzen Threadripper 3990X 64-Core - Gigabyte TRX40 DESIGNARE - AMD Starship

Ubuntu 20.04 - 5.15.0-67-generic - X Server 1.20.11

Find More Test Results