summaryrefslogtreecommitdiff
path: root/benchmarks
Commit message (Collapse)AuthorAgeFilesLines
* ENH: add new function `_opt_info()` to utils provides the optimization info ↵Sayed Adel2021-04-221-1/+1
| | | | of NumPy build
* MAINT, Benchmark: print the supported CPU features during the run of ↵Sayed Adel2021-04-221-0/+52
| | | | performance tests
* Merge pull request #18728 from anthonyhvo12/avo-exceptions-chainingCharles Harris2021-04-122-6/+6
|\ | | | | MAINT: Add exception chaining where appropriate
| * Update benchmarks/benchmarks/bench_ufunc_strides.pyAnthony Vo2021-04-051-1/+1
| | | | | | Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
| * Merge branch 'main' of https://github.com/numpy/numpy into ↵Anthony Vo2021-04-052-2/+2
| |\ | | | | | | | | | avo-exceptions-chaining
| * | chain exceptions when appropriateAnthony Vo2021-04-052-7/+7
| | |
* | | Merge pull request #18075 from ganesh-k13/enh_simd_npyv_floor_divMatti Picus2021-04-061-7/+8
|\ \ \ | |_|/ |/| | ENH, SIMD: Dispatch for unsigned floor division
| * | BENCH: Benchmarks for unsigned ints (#18075)Ganesh Kathiresan2021-03-221-7/+8
| | |
* | | Merge pull request #17586 from BvB93/type_aliasesCharles Harris2021-03-301-1/+1
|\ \ \ | |/ / |/| | DEP: Formally deprecate `np.typeDict`
| * | MAINT,DEP: Replace references to `typeDict` with `sctypeDict`Bas van Beek2021-01-161-1/+1
| | |
* | | MAINT: Update master to main after branch rename (gh-18544)Stefan van der Walt2021-03-041-1/+1
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Upload docs to main branch of neps/devdocs * Update `master` to `main` to be consistent with current state of renaming * Remove badges from README * Replace remaining instances of `master` with `main` * Add back logo * Fix CircleCI branch checks * Fix GA branch name * master->main in issue templates. * master->main for 2 links to numpy archive. * Change master to main in NEP 23 Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
* | Merge pull request #18183 from touqir14/masterMatti Picus2021-02-151-1/+1
|\ \ | | | | | | MAINT: Optimize numpy.count_nonzero for int types using SIMD operations
| * \ Merge remote-tracking branch 'upstream/master'Touqir Sajed2021-02-051-0/+6
| |\ \
| * | | Merged count_nonzero_int16/int32/int64 into count_nonzero_int and added ↵Touqir Sajed2021-01-191-1/+1
| | |/ | |/| | | | | | | benchmarks
* | | BUG: Fix unique handling of nan entries. (#18070)Filip Trojan2021-02-121-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * benchmark bench_lib.Unique added * extended test_unique_1d * modify _unique1d * extend test with return_index, return_inverse and return_counts parameters * documentation updated * Update numpy/lib/arraysetops.py Co-authored-by: Bas van Beek <43369155+BvB93@users.noreply.github.com> * full coverage of nan types Co-authored-by: Bas van Beek <43369155+BvB93@users.noreply.github.com> * added tests for the datetime like dtypes * nan as vector of length 1 * use aux[-1] as nan, ..versionchanged, release note * for complex arrays all NaN values are considered equivalent Co-authored-by: filip_trojan <Tarantula2018> Co-authored-by: Bas van Beek <43369155+BvB93@users.noreply.github.com>
* | | MAINT: Avoid moveaxis overhead in median.Antony Lee2021-02-061-0/+8
| |/ |/| | | | | | | | | This change speeds up taking the median of 1001 floats by ~20%, as measured by `python -mtimeit -s 'import numpy as np; x = np.random.randn(1001)' -- 'np.median(x)'`
* | Add triu_indices and tril_indicesIllviljan2021-01-181-0/+6
|/
* DOC: Avoid using "set of" when talking about an ordered list.Antony Lee2020-12-292-3/+3
| | | | | | | | | | | | ... or when the input isn't/cannot be a set. I left a few usages, e.g. in random sampling, where "set" is reasonable as informal description of an array as the order doesn't matter; however, for e.g. np.gradient the order of the returned list is clearly important, so "set" is wrong. Also some other minor doc edits noticed during the grepping: using `shape` instead of `form` in `cov` is consistent with most other places; the wording in `Polynomial.trim` now matches other methods on the same class.
* BENCH: Rename `bench_avx.py` to `bench_ufunc_strides.py`Sayed Adel2020-12-261-7/+9
| | | | | This test should not be exclusive to AVX. this patch also extends unary test to cover different sets of output strides.
* Merge pull request #17102 from Qiyu8/usimd-compiledMatti Picus2020-12-191-0/+3
|\ | | | | SIMD: Optimize the performance of np.packbits using USIMD
| * add benchmark test case for little order.Qiyu82020-12-161-0/+3
| |
* | Merge pull request #17736 from seiko2plus/issue_17716Matti Picus2020-12-162-1/+18
|\ \ | |/ |/| BUG, Benchmark: fix passing optimization build options to asv
| * BUG, Benchmark: fix passing optimization build options to asvSayed Adel2020-11-092-1/+18
| |
* | BENCH: Improve floor divide benchmarks (#17727)Ganesh Kathiresan2020-11-231-2/+2
| |
* | BENCH: Added floor divide benchmarks (#17727)Ganesh Kathiresan2020-11-231-9/+14
| |
* | ENH: Added asv benchmarksGanesh Kathiresan2020-11-111-0/+11
|/
* improve the einsum bench by adding new bench cases and variable rename.Qiyu82020-11-041-12/+59
|
* ENH: Pass optimizations arguments to asv buildSayed Adel2020-09-111-0/+95
| | | | | This patch allows passing `-j`, `--cpu-baseline`, `--cpu-dispatch` and `--disable-optimization` to ASV build when argument `--bench-compare` is used.
* ENH: Speed up trim_zeros (#16911)Bas van Beek2020-08-041-0/+27
| | | | | | | | | | | | | * Added a benchmark for `trim_zeros()` * Improve the performance of `np.trim_zeros()` * Increase the variety of the tests Fall back to the old `np.trim_zeros()` implementation if an exception is encountered. Emit a `DeprecationWarning` in such case. * DEP,REL: Added a deprecation release note
* Merge pull request #16605 from xiegengxin/avx512-log-float64Matti Picus2020-07-141-0/+13
|\ | | | | MAINT: Avx512 intrinsics implementation for float64 input np.log
| * MAINT: AVX512 intrinsics implementation for float64 input np.logGengxin Xie2020-06-121-0/+13
| |
* | BENCH: Add basic benchmarks for scalar indexing and assignment (#16786)Sebastian Berg2020-07-091-0/+30
| | | | | | * BENCH: Add basic benchmarks for scalar indexing and assignment
* | Merge pull request #16621 from seberg/bench-more-arrMatti Picus2020-06-301-0/+16
|\ \ | | | | | | BENCH: Expand array-creation benchmarks
| * | BENCH: Expand array-creation testsSebastian Berg2020-06-161-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | This adds some simple additional tests, one for a list of NumPy scalars. Another for generally lists, both integers and floats as one common cases (floats previously had some super-fast paths). As well as a test with the dtype given, since that may make some differences.
* | | BENCH: remove obsolete goal_time paramPaweł Redzyński2020-06-181-1/+1
|/ /
* | add blank line according PEP8qiyu82020-06-151-0/+1
| |
* | Simplify the benchmark case by focusing only on float64 input and SSE2 ↵qiyu82020-06-101-31/+12
| | | | | | | | optimization
* | improve float64 performance by sse2qiyu82020-06-091-1/+45
|/
* Merge pull request #16389 from seberg/hardcode-scalar-buffersMatti Picus2020-06-041-0/+33
|\ | | | | ENH: Hardcode buffer handling for simple scalars
| * BENCH: Add simple scalar math benchmarksSebastian Berg2020-05-261-0/+33
| |
* | ENH: ARM Neon implementation with intrinsic for np.argmax. (#16375)Chunlin2020-06-011-0/+9
| | | | | | * Neon implementation with intrinsic for bool argmax
* | ENH: Use AVX-512 for np.frexp and np.ldexp (#16371)Raghuveer Devulapalli2020-05-311-0/+17
| | | | | | | | | | * TST: Adding tests to validate strided np.ldexp and np.frexp * ENH: Use AVX-512 for float and double np.ldexp
* | ENH: Use AVX-512 for np.isnan, np.infinite, np.isinf and np.signbit (#16334)Raghuveer Devulapalli2020-05-311-1/+5
|/ | | | | | | * ENH: Use AVX-512 for np.isnan, np.infinite, np.isinf and np.signbit * TST: Add tests to validate isnan, isfinite, signbit and isinf ufuncs * BENCH: Adding benchmarks for isnan, isinf, isfinite and signbit
* BENCH: Default to building HEAD instead of masterkai-striega2020-05-031-1/+1
| | | | | | | | asv executes the benchmarks of the current branch building the code specified in "branches". Previously this was "master" instead of "HEAD" (the code currently worked on). This PR changes "master" -> "HEAD" as it seems more likely for a user to be generating benchmarks for the code they are currently working on.
* Merge pull request #15648 from xiegengxin/avx512-exp-float64Matti Picus2020-04-231-6/+8
|\ | | | | MAINT: AVX512 implementation with intrinsic for float64 input np.exp()
| * MAINT: provide float64 logisticregression benchGengxin Xie2020-03-161-6/+8
| |
* | Added benchmark for _var with complex input.Ross Barnowski2020-03-091-0/+11
| |
* | improving benchmark doc according the suggestionQiyu82020-03-031-1/+1
| |
* | improving benchmark doc according the suggestionQiyu82020-03-031-1/+1
| |
* | improving benchmark doc according the suggestionQiyu82020-03-031-3/+4
| |