Skip to content

Commit 13b97e3

Browse files
committed
Remove pybench microbenchmark
Issue #15369. Please use the new "performance" benchmark suite.
1 parent 30386a2 commit 13b97e3

27 files changed

+9
-9440
lines changed

Misc/NEWS

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ Library
1616
Tools/Demos
1717
-----------
1818

19+
- Issue #15369: The pybench microbenchmark has been removed from Tools. Please
20+
use the new Python benchmark suite https://github.com/python/performance
21+
which is more reliable and includes a portable version of pybench working on
22+
Python 2 and Python 3.
23+
1924
- Issue #28102: The zipfile module CLI now prints usage to stderr.
2025
Patch by Stephen J. Turnbull.
2126

Tools/README

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ msi Support for packaging Python as an MSI package on Windows.
2323

2424
parser Un-parsing tool to generate code from an AST.
2525

26-
pybench Low-level benchmarking for the Python evaluation loop. (*)
27-
2826
pynche A Tkinter-based color editor.
2927

3028
scripts A number of useful single-file programs, e.g. tabnanny.py

Tools/msi/buildrelease.bat

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ where hg /q || echo Cannot find Mercurial on PATH && exit /B 1
7878

7979
where dlltool /q && goto skipdlltoolsearch
8080
set _DLLTOOL_PATH=
81-
where /R "%EXTERNALS%\" dlltool > "%TEMP%\dlltool.loc" 2> nul && set /P _DLLTOOL_PATH= < "%TEMP%\dlltool.loc" & del "%TEMP%\dlltool.loc"
81+
where /R "%EXTERNALS%\" dlltool > "%TEMP%\dlltool.loc" 2> nul && set /P _DLLTOOL_PATH= < "%TEMP%\dlltool.loc" & del "%TEMP%\dlltool.loc"
8282
if not exist "%_DLLTOOL_PATH%" echo Cannot find binutils on PATH or in external && exit /B 1
8383
for %%f in (%_DLLTOOL_PATH%) do set PATH=%PATH%;%%~dpf
8484
set _DLLTOOL_PATH=
@@ -143,13 +143,13 @@ if not "%SKIPBUILD%" EQU "1" (
143143
@if errorlevel 1 exit /B
144144
@rem build.bat turns echo back on, so we disable it again
145145
@echo off
146-
146+
147147
if "%PGO%" EQU "" (
148148
@call "%PCBUILD%build.bat" -e -p %BUILD_PLAT% -t %TARGET% %CERTOPTS%
149149
) else (
150150
@call "%PCBUILD%build.bat" -e -p %BUILD_PLAT% -c PGInstrument -t %TARGET% %CERTOPTS%
151151
@if errorlevel 1 exit /B
152-
152+
153153
@del "%BUILD%*.pgc"
154154
if "%PGO%" EQU "default" (
155155
"%BUILD%python.exe" -m test -q --pgo
@@ -158,12 +158,10 @@ if not "%SKIPBUILD%" EQU "1" (
158158
"%BUILD%python.exe" -m test -r -q --pgo
159159
) else if "%PGO%" EQU "default10" (
160160
for /L %%i in (0, 1, 9) do "%BUILD%python.exe" -m test -q -r --pgo
161-
) else if "%PGO%" EQU "pybench" (
162-
"%BUILD%python.exe" "%PCBUILD%..\Tools\pybench\pybench.py"
163161
) else (
164162
"%BUILD%python.exe" %PGO%
165163
)
166-
164+
167165
@call "%PCBUILD%build.bat" -e -p %BUILD_PLAT% -c PGUpdate -t Build %CERTOPTS%
168166
)
169167
@if errorlevel 1 exit /B
@@ -214,7 +212,6 @@ echo Shortcut Description
214212
echo default Test suite with --pgo
215213
echo default2 2x test suite with --pgo and randomized test order
216214
echo default10 10x test suite with --pgo and randomized test order
217-
echo pybench pybench script
218215
echo.
219216
echo The following substitutions will be applied to the download URL:
220217
echo Variable Description Example

0 commit comments

Comments
 (0)