Skip to content

Commit 80633d7

Browse files
committed
Remove spambayes benchmark
1 parent 47cc744 commit 80633d7

8 files changed

+2
-18920
lines changed

TODO.rst

-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
TODO
22
====
33

4-
* Update Django to 2.0
54
* Remove genshi module? Last release in January 2014!
65
* upload:
76

@@ -123,7 +122,6 @@ Done:
123122
* scimark_montecarlo
124123
* scimark_sor
125124
* scimark_sparsematmult
126-
* spambayes
127125
* spectral-norm
128126
* sqlalchemy_declarative
129127
* sqlalchemy_imperative

doc/benchmarks.rst

-19
Original file line numberDiff line numberDiff line change
@@ -517,25 +517,6 @@ scimark
517517
<https://en.wikipedia.org/wiki/Fast_Fourier_transform>`_ benchmark
518518

519519

520-
spambayes
521-
---------
522-
523-
Run a canned mailbox through a SpamBayes ham/spam classifier.
524-
525-
Data files from ``pyperformance/benchmarks/data`` directory:
526-
527-
* ``spambayes_mailbox``: Mailbox file which contains 64 emails
528-
* ``spambayes_hammie.pkl``: Ham data (serialized by pickle)
529-
530-
See the `SpamBayes project <http://spambayes.sourceforge.net/>`_.
531-
532-
Status at 2017-04-29 from Skip Montanaro: While the last commit was pushed in
533-
2011 (`svn r3273 <https://sourceforge.net/p/spambayes/code/3273/>`_), the
534-
project is not dead: it is still actively used on Windows via the installer but
535-
also runs on mail.python.org for Python mailing lists. Sadly, it doesn't
536-
support Python 3.
537-
538-
539520
spectral_norm
540521
-------------
541522

doc/changelog.rst

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Changelog
44
Version 1.0.0
55
-------------
66

7+
* Remove ``spambayes`` benchmark: it is not compatible with Python 3.
78
* Remove ``2n3``:benchmark group.
89
* Drop Python 2.7 support: old Django and Tornado versions are
910
not compatible with incoming Python 3.9.

pyperformance/benchmarks/__init__.py

+1-8
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@
4848
'regex_v8',
4949
'richards',
5050
'scimark',
51-
'spambayes',
5251
'spectral_norm',
5352
'sqlalchemy_declarative',
5453
'sqlalchemy_imperative',
@@ -75,8 +74,7 @@
7574
"pickle", "unpickle",
7675
"xml_etree",
7776
"json_dumps", "json_loads"],
78-
"apps": ["2to3", "chameleon", "html5lib",
79-
"spambayes", "tornado_http"],
77+
"apps": ["2to3", "chameleon", "html5lib", "tornado_http"],
8078
"math": ["float", "nbody", "pidigits"],
8179
"template": ["django_template", "mako"],
8280
}
@@ -238,11 +236,6 @@ def BM_nbody(python, options):
238236
return run_perf_script(python, options, "nbody")
239237

240238

241-
@python2_only
242-
def BM_spambayes(python, options):
243-
return run_perf_script(python, options, "spambayes")
244-
245-
246239
def BM_html5lib(python, options):
247240
return run_perf_script(python, options, "html5lib")
248241

pyperformance/benchmarks/bm_spambayes.py

-33
This file was deleted.
Binary file not shown.

0 commit comments

Comments
 (0)