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

Average Run Time

3 Minutes, 57 Seconds

Test Dependencies

Python

Accolades

30k+ 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.042024.052024.062024.072024.082024.092024.1012002400360048006000
* 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 11 October 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

2 Systems - 195 Benchmark Results

2 Systems - 195 Benchmark Results

2 Systems - 195 Benchmark Results

2 Systems - 195 Benchmark Results

2 Systems - 195 Benchmark Results

2 Systems - 195 Benchmark Results

2 Systems - 195 Benchmark Results

2 Systems - 195 Benchmark Results

1 System - 334 Benchmark Results

Intel Core i3-12100 - ASRock H610M-HDV/M.2 R2.0 - Intel Device 7aa7

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

1 System - 275 Benchmark Results

Intel Core i5-12500 - ASUS PRIME Z690M-HZ - Intel Alder Lake-S PCH

Debian 12 - 6.1.0-21-amd64 - GCC 12.2.0

Find More Test Results