Python benchmarking for a future article.
Compare your own system(s) to this result file with the
Phoronix Test Suite by running the command:
phoronix-test-suite benchmark 1902140-SP-PYTHONPY215 Python Clear Linux vs. Ubuntu Performance - Phoronix Test Suite Python Clear Linux vs. Ubuntu Performance Python benchmarking for a future article.
HTML result view exported from: https://openbenchmarking.org/result/1902140-SP-PYTHONPY215&sor&grr .
Python Clear Linux vs. Ubuntu Performance Processor Motherboard Chipset Memory Disk Graphics Audio Monitor Network OS Kernel Desktop Display Server Display Driver OpenGL Compiler File-System Screen Resolution Clear Linux Default Python Upstream Python 3.7.2 On Clear Intel Python 2019u2 On Clear Linux Ubuntu Linux Default Python PyPy On Ubuntu Linux Intel Core i9-7980XE @ 4.20GHz (18 Cores / 36 Threads) ASUS PRIME X299-A (1602 BIOS) Intel Sky Lake-E DMI3 Registers 16384MB Samsung SSD 970 EVO 500GB NVIDIA NV120 12GB Realtek ALC1220 ASUS PB278 Intel I219-V Clear Linux OS 27760 4.20.7-694.native (x86_64) GNOME Shell 3.30.2 X Server 1.20.3 nouveau 1.0.16 4.3 Mesa 19.1.0-devel GCC 8.2.1 20190212 + Clang 7.0.1 + LLVM 7.0.1 ext4 2560x1440 NVIDIA GeForce GTX TITAN X 12GB Ubuntu 18.10 4.18.0-15-generic (x86_64) GNOME Shell 3.30.1 X Server 1.20.1 modesetting 1.20.1 4.3 Mesa 18.2.2 GCC 8.2.0 OpenBenchmarking.org Environment Details - Clear Linux Default Python, Upstream Python 3.7.2 On Clear, Intel Python 2019u2 On Clear Linux: CFFLAGS=-g-O3-feliminate-unused-debug-types-pipe-Wall-Wp-D_FORTIFY_SOURCE=2-fexceptions-fstack-protector--param=ssp-buffer-size=32-Wl--copy-dt-needed-entries-m64-fasynchronous-unwind-tables-Wp-D_REENTRANT-ftree-loop-distribute-patterns-Wl-z-Wl now-Wl-z-Wl relro-malign-data=abi-fno-semantic-interposition-ftree-vectorize-ftree-loop-vectorize-Wl-sort-common-Wl--enable-new-dtags FFLAGS=-g-O3-feliminate-unused-debug-types-pipe-Wall-Wp-D_FORTIFY_SOURCE=2-fexceptions-fstack-protector--param=ssp-buffer-size=32-Wl--copy-dt-needed-entries-m64-fasynchronous-unwind-tables-Wp-D_REENTRANT-ftree-loop-distribute-patterns-Wl-z-Wl relro-malign-data=abi-fno-semantic-interposition-ftree-vectorize-ftree-loop-vectorize-Wl--enable-new-dtags CXXFLAGS=-g-O3-feliminate-unused-debug-types-pipe-Wall-Wp-D_FORTIFY_SOURCE=2-fexceptions-fstack-protector--param=ssp-buffer-size=32-Wformat-Wformat-security-Wl--copy-dt-needed-entries-m64-fasynchronous-unwind-tables-Wp-D_REENTRANT-ftree-loop-distribute-patterns-Wl-z-Wl relro-fno-semantic-interposition-ffat-lto-objects-fno-signed-zeros-fno-trapping-math-fassociative-math-Wl-sort-common-Wl--enable-new-dtags-mtune=skylake-fvisibility-inlines-hidden-Wl--enable-new-dtags MESA_GLSL_CACHE_DISABLE=0 CFLAGS=-g-O3-feliminate-unused-debug-types-pipe-Wall-Wp-D_FORTIFY_SOURCE=2-fexceptions-fstack-protector--param=ssp-buffer-size=32-Wformat-Wformat-security-Wl--copy-dt-needed-entries-m64-fasynchronous-unwind-tables-Wp-D_REENTRANT-ftree-loop-distribute-patterns-Wl-z-Wl relro-fno-semantic-interposition-ffat-lto-objects-fno-signed-zeros-fno-trapping-math-fassociative-math-Wl-sort-common-Wl--enable-new-dtags-mtune=skylake THEANO_FLAGS=floatX=float32 openmp=true gcc.cxxflags="-ftree-vectorize-mavx" Processor Details - Clear Linux Default Python: Scaling Governor: intel_pstate performance - Upstream Python 3.7.2 On Clear: Scaling Governor: intel_pstate performance - Intel Python 2019u2 On Clear Linux: Scaling Governor: intel_pstate performance - Ubuntu Linux Default Python: Scaling Governor: intel_pstate powersave - PyPy On Ubuntu Linux: Scaling Governor: intel_pstate powersave Graphics Details - Clear Linux Default Python: EXA Python Details - Clear Linux Default Python: Python 3.7.2 - Upstream Python 3.7.2 On Clear: Python 3.7.2 - Intel Python 2019u2 On Clear Linux: Python 3.6.8 :: Intel - Ubuntu Linux Default Python: Python 2.7.15+ + Python 3.6.7 - PyPy On Ubuntu Linux: Python 2.7.13 (6.0.0+dfsg-2 Aug 22 2018 00:10:03)[PyPy 6.0.0 with GCC 8.2.0] Security Details - Clear Linux Default Python: KPTI + __user pointer sanitization + Full generic retpoline IBPB: conditional IBRS_FW STIBP: conditional RSB filling + SSB disabled via prctl and seccomp + PTE Inversion; VMX: conditional cache flushes SMT vulnerable - Upstream Python 3.7.2 On Clear: KPTI + __user pointer sanitization + Full generic retpoline IBPB: conditional IBRS_FW STIBP: conditional RSB filling + SSB disabled via prctl and seccomp + PTE Inversion; VMX: conditional cache flushes SMT vulnerable - Intel Python 2019u2 On Clear Linux: KPTI + __user pointer sanitization + Full generic retpoline IBPB: conditional IBRS_FW STIBP: conditional RSB filling + SSB disabled via prctl and seccomp + PTE Inversion; VMX: conditional cache flushes SMT vulnerable - Ubuntu Linux Default Python: KPTI + __user pointer sanitization + Full generic retpoline IBPB IBRS_FW STIBP + SSB disabled via prctl and seccomp + PTE Inversion; VMX: conditional cache flushes SMT vulnerable - PyPy On Ubuntu Linux: KPTI + __user pointer sanitization + Full generic retpoline IBPB IBRS_FW STIBP + SSB disabled via prctl and seccomp + PTE Inversion; VMX: conditional cache flushes SMT vulnerable
Python Clear Linux vs. Ubuntu Performance numpy: cython-bench: scikit-learn: pybench: Total For Average Test Times Clear Linux Default Python Upstream Python 3.7.2 On Clear Intel Python 2019u2 On Clear Linux Ubuntu Linux Default Python PyPy On Ubuntu Linux 4588700 21.82 7.61 900 25.91 997 4685262 92.60 10.88 1314 8878808 37.62 146.36 1316 OpenBenchmarking.org
Numpy Benchmark OpenBenchmarking.org Nanoseconds, Fewer Is Better Numpy Benchmark Clear Linux Default Python Intel Python 2019u2 On Clear Linux Ubuntu Linux Default Python 2M 4M 6M 8M 10M 4588700 4685262 8878808
Cython benchmark OpenBenchmarking.org Seconds, Fewer Is Better Cython benchmark 0.27 Clear Linux Default Python Upstream Python 3.7.2 On Clear Ubuntu Linux Default Python Intel Python 2019u2 On Clear Linux 20 40 60 80 100 SE +/- 0.05, N = 3 SE +/- 0.67, N = 12 SE +/- 0.15, N = 3 SE +/- 0.41, N = 3 21.82 25.91 37.62 92.60
Scikit-Learn OpenBenchmarking.org Seconds, Fewer Is Better Scikit-Learn 0.17.1 Clear Linux Default Python Intel Python 2019u2 On Clear Linux Ubuntu Linux Default Python 30 60 90 120 150 SE +/- 0.02, N = 3 SE +/- 0.03, N = 3 SE +/- 0.13, N = 3 7.61 10.88 146.36
PyBench Total For Average Test Times OpenBenchmarking.org Milliseconds, Fewer Is Better PyBench 2018-02-16 Total For Average Test Times Clear Linux Default Python Upstream Python 3.7.2 On Clear Intel Python 2019u2 On Clear Linux Ubuntu Linux Default Python 300 600 900 1200 1500 SE +/- 2.33, N = 3 SE +/- 3.18, N = 3 SE +/- 0.88, N = 3 900 997 1314 1316
Phoronix Test Suite v10.8.4