Skip to content

Collection of performance benchmarks used to present optimizations implemented for Intel(R) Distribution for Python*

License

Notifications You must be signed in to change notification settings

IntelPython/optimizations_bench

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Run benchmark tests

Optimization Benchmarks

Collection of performance benchmarks used to present optimizations implemented for Intel(R) Distribution for Python*

Environment Setup

To install Python environments from Intel channel along with pip-installed packages

  • conda env create -f environments/intel.yaml
  • conda activate intel_env

Run tests

  • python numpy/umath/umath_mem_bench.py -v --size 10 --goal-time 0.01 --repeats 1

Run benchmarks

umath

  • To run python benchmarks: python numpy/umath/umath_mem_bench.py
  • To compile and run native benchmarks (requires icx): make -C numpy/umath

Random number generation

  • To run python benchmarks: python numpy/random/rng.py
  • To compile and run native benchmarks (requires icx): make -C numpy/random

See also

"Accelerating Scientific Python with Intel Optimizations" by Oleksandr Pavlyk, Denis Nagorny, Andres Guzman-Ballen, Anton Malakhov, Hai Liu, Ehsan Totoni, Todd A. Anderson, Sergey Maidanov. Proceedings of the 16th Python in Science Conference (SciPy 2017), July 10 - July 16, Austin, Texas

About

Collection of performance benchmarks used to present optimizations implemented for Intel(R) Distribution for Python*

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published