Skip to content

Commit d0b0764

Browse files
committed
1 parent 9d07104 commit d0b0764

70 files changed

Lines changed: 318 additions & 316 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/main/_downloads/08c44fd02fe5378fc05e9aecf2e433ce/phasorpy_phasor_from_signal.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
"cell_type": "markdown",
5959
"metadata": {},
6060
"source": [
61-
"For reference, the results on a Core i7-14700K CPU, Windows 11,\nPython 3.13.3, numpy 2.2.6, scipy 1.15.3, mkl-fft 1.3.14::\n\n harmonics 1\n axis -1\n not_fft 0.036s 1.00\n not_fft (6 threads) 0.006s 0.17\n numpy_fft 0.270s 7.60\n scipy_fft 0.236s 6.64\n mkl_fft 0.114s 3.20\n axis 0\n not_fft 0.139s 3.90\n not_fft (6 threads) 0.028s 0.78\n numpy_fft 0.591s 16.63\n scipy_fft 0.509s 14.32\n mkl_fft 0.148s 4.18\n axis 2\n not_fft 0.037s 1.03\n not_fft (6 threads) 0.006s 0.16\n numpy_fft 0.265s 7.47\n scipy_fft 0.239s 6.72\n mkl_fft 0.117s 3.29\n harmonics 8\n axis -1\n not_fft 0.284s 8.00\n not_fft (6 threads) 0.040s 1.13\n numpy_fft 0.279s 7.84\n scipy_fft 0.247s 6.94\n mkl_fft 0.129s 3.64\n axis 0\n not_fft 1.120s 31.52\n not_fft (6 threads) 0.280s 7.88\n numpy_fft 0.679s 19.11\n scipy_fft 0.525s 14.78\n mkl_fft 0.165s 4.65\n axis 2\n not_fft 0.285s 8.03\n not_fft (6 threads) 0.039s 1.10\n numpy_fft 0.278s 7.84\n scipy_fft 0.243s 6.85\n mkl_fft 0.131s 3.68\n\n"
61+
"For reference, the results on a Core i7-14700K CPU, Windows 11,\nPython 3.14.0, numpy 2.3.5, scipy 1.16.3, mkl-fft 2.1.1::\n\n harmonics 1\n axis -1\n not_fft 0.034s 1.00\n not_fft (6 threads) 0.006s 0.17\n numpy_fft 0.274s 8.03\n scipy_fft 0.240s 7.04\n mkl_fft 0.141s 4.14\n axis 0\n not_fft 0.162s 4.75\n not_fft (6 threads) 0.038s 1.13\n numpy_fft 0.697s 20.44\n scipy_fft 0.496s 14.54\n mkl_fft 0.167s 4.90\n axis 2\n not_fft 0.038s 1.12\n not_fft (6 threads) 0.006s 0.16\n numpy_fft 0.272s 7.99\n scipy_fft 0.240s 7.04\n mkl_fft 0.130s 3.83\n harmonics 8\n axis -1\n not_fft 0.287s 8.43\n not_fft (6 threads) 0.040s 1.17\n numpy_fft 0.288s 8.45\n scipy_fft 0.253s 7.43\n mkl_fft 0.161s 4.74\n axis 0\n not_fft 1.161s 34.04\n not_fft (6 threads) 0.425s 12.47\n numpy_fft 0.715s 20.97\n scipy_fft 0.541s 15.88\n mkl_fft 0.183s 5.38\n axis 2\n not_fft 0.282s 8.27\n not_fft (6 threads) 0.038s 1.13\n numpy_fft 0.288s 8.46\n scipy_fft 0.255s 7.49\n mkl_fft 0.155s 4.56\n\n"
6262
]
6363
},
6464
{
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

docs/main/_downloads/4b100735f1ce295b1a5b489b3a2ed128/phasorpy_phasor_from_signal.py

Lines changed: 29 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@
5454
# Print execution times depending on FFT function, axis, number of harmonics,
5555
# and number of threads:
5656

57-
5857
statement = """
5958
phasor_from_signal(signal, axis=axis, harmonic=harmonic, **kwargs)
6059
"""
@@ -92,46 +91,46 @@ def print_(descr, t):
9291

9392
# %%
9493
# For reference, the results on a Core i7-14700K CPU, Windows 11,
95-
# Python 3.13.3, numpy 2.2.6, scipy 1.15.3, mkl-fft 1.3.14::
94+
# Python 3.14.0, numpy 2.3.5, scipy 1.16.3, mkl-fft 2.1.1::
9695
#
9796
# harmonics 1
9897
# axis -1
99-
# not_fft 0.036s 1.00
98+
# not_fft 0.034s 1.00
10099
# not_fft (6 threads) 0.006s 0.17
101-
# numpy_fft 0.270s 7.60
102-
# scipy_fft 0.236s 6.64
103-
# mkl_fft 0.114s 3.20
100+
# numpy_fft 0.274s 8.03
101+
# scipy_fft 0.240s 7.04
102+
# mkl_fft 0.141s 4.14
104103
# axis 0
105-
# not_fft 0.139s 3.90
106-
# not_fft (6 threads) 0.028s 0.78
107-
# numpy_fft 0.591s 16.63
108-
# scipy_fft 0.509s 14.32
109-
# mkl_fft 0.148s 4.18
104+
# not_fft 0.162s 4.75
105+
# not_fft (6 threads) 0.038s 1.13
106+
# numpy_fft 0.697s 20.44
107+
# scipy_fft 0.496s 14.54
108+
# mkl_fft 0.167s 4.90
110109
# axis 2
111-
# not_fft 0.037s 1.03
110+
# not_fft 0.038s 1.12
112111
# not_fft (6 threads) 0.006s 0.16
113-
# numpy_fft 0.265s 7.47
114-
# scipy_fft 0.239s 6.72
115-
# mkl_fft 0.117s 3.29
112+
# numpy_fft 0.272s 7.99
113+
# scipy_fft 0.240s 7.04
114+
# mkl_fft 0.130s 3.83
116115
# harmonics 8
117116
# axis -1
118-
# not_fft 0.284s 8.00
119-
# not_fft (6 threads) 0.040s 1.13
120-
# numpy_fft 0.279s 7.84
121-
# scipy_fft 0.247s 6.94
122-
# mkl_fft 0.129s 3.64
117+
# not_fft 0.287s 8.43
118+
# not_fft (6 threads) 0.040s 1.17
119+
# numpy_fft 0.288s 8.45
120+
# scipy_fft 0.253s 7.43
121+
# mkl_fft 0.161s 4.74
123122
# axis 0
124-
# not_fft 1.120s 31.52
125-
# not_fft (6 threads) 0.280s 7.88
126-
# numpy_fft 0.679s 19.11
127-
# scipy_fft 0.525s 14.78
128-
# mkl_fft 0.165s 4.65
123+
# not_fft 1.161s 34.04
124+
# not_fft (6 threads) 0.425s 12.47
125+
# numpy_fft 0.715s 20.97
126+
# scipy_fft 0.541s 15.88
127+
# mkl_fft 0.183s 5.38
129128
# axis 2
130-
# not_fft 0.285s 8.03
131-
# not_fft (6 threads) 0.039s 1.10
132-
# numpy_fft 0.278s 7.84
133-
# scipy_fft 0.243s 6.85
134-
# mkl_fft 0.131s 3.68
129+
# not_fft 0.282s 8.27
130+
# not_fft (6 threads) 0.038s 1.13
131+
# numpy_fft 0.288s 8.46
132+
# scipy_fft 0.255s 7.49
133+
# mkl_fft 0.155s 4.56
135134

136135
# %%
137136
# Results
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)