Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit a8c4c5d

Browse files
Comparative Performance Benchmarks
1 parent 2451614 commit a8c4c5d

File tree

2 files changed

+398
-0
lines changed

2 files changed

+398
-0
lines changed
Lines changed: 316 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,316 @@
1+
Date of testing: 2024年12月24日 13:12:00
2+
System Information
3+
============================================================
4+
Operating System: Windows (64bit)
5+
Processor: Intel64 Family 6 Model 165 Stepping 5, GenuineIntel
6+
Python Version: 3.6.13 |Anaconda, Inc.| (default, Mar 16 2021, 11:37:27) [MSC v.1916 64 bit (AMD64)]
7+
============================================================
8+
9+
Starting benchmark...
10+
11+
Benchmark Summary
12+
============================================================
13+
14+
Matrix Multiplication Results:
15+
Size 200x200:
16+
Median time: 0.806584 seconds
17+
Operations/second: 9,347,023.41
18+
Coefficient of variation: 13.53%
19+
Performance Score: 1.24
20+
21+
Recursive Fibonacci Results:
22+
n=35:
23+
Time taken: 2.383864 seconds
24+
Performance Score: 0.42
25+
26+
Bubble Sort Results:
27+
List size 5000:
28+
Time taken: 1.477196 seconds
29+
Performance Score: 0.68
30+
31+
Prime Number Generation Results:
32+
Limit 30000:
33+
Primes found: 3245
34+
Time taken: 1.881664 seconds
35+
Performance Score: 0.53
36+
37+
Summary Evaluation (Higher is better): 2.867686
38+
39+
40+
Date of testing: 2024年12月24日 13:12:30
41+
System Information
42+
============================================================
43+
Operating System: Windows (64bit)
44+
Processor: Intel64 Family 6 Model 165 Stepping 5, GenuineIntel
45+
Python Version: 3.7.16 (default, Jan 17 2023, 16:06:28) [MSC v.1916 64 bit (AMD64)]
46+
============================================================
47+
48+
Starting benchmark...
49+
50+
Benchmark Summary
51+
============================================================
52+
53+
Matrix Multiplication Results:
54+
Size 200x200:
55+
Median time: 0.932984 seconds
56+
Operations/second: 8,546,330.75
57+
Coefficient of variation: 1.32%
58+
Performance Score: 1.07
59+
60+
Recursive Fibonacci Results:
61+
n=35:
62+
Time taken: 2.059310 seconds
63+
Performance Score: 0.49
64+
65+
Bubble Sort Results:
66+
List size 5000:
67+
Time taken: 1.519559 seconds
68+
Performance Score: 0.66
69+
70+
Prime Number Generation Results:
71+
Limit 30000:
72+
Primes found: 3245
73+
Time taken: 1.858048 seconds
74+
Performance Score: 0.54
75+
76+
Summary Evaluation (Higher is better): 2.753714
77+
78+
79+
Date of testing: 2024年12月24日 13:13:08
80+
System Information
81+
============================================================
82+
Operating System: Windows (64bit)
83+
Processor: Intel64 Family 6 Model 165 Stepping 5, GenuineIntel
84+
Python Version: 3.8.20 (default, Oct 3 2024, 15:19:54) [MSC v.1929 64 bit (AMD64)]
85+
============================================================
86+
87+
Starting benchmark...
88+
89+
Benchmark Summary
90+
============================================================
91+
92+
Matrix Multiplication Results:
93+
Size 200x200:
94+
Median time: 1.346117 seconds
95+
Operations/second: 5,944,829.40
96+
Coefficient of variation: 0.50%
97+
Performance Score: 0.74
98+
99+
Recursive Fibonacci Results:
100+
n=35:
101+
Time taken: 2.687183 seconds
102+
Performance Score: 0.37
103+
104+
Bubble Sort Results:
105+
List size 5000:
106+
Time taken: 1.847840 seconds
107+
Performance Score: 0.54
108+
109+
Prime Number Generation Results:
110+
Limit 30000:
111+
Primes found: 3245
112+
Time taken: 2.143302 seconds
113+
Performance Score: 0.47
114+
115+
Summary Evaluation (Higher is better): 2.122756
116+
117+
118+
Date of testing: 2024年12月24日 13:13:50
119+
System Information
120+
============================================================
121+
Operating System: Windows (64bit)
122+
Processor: Intel64 Family 6 Model 165 Stepping 5, GenuineIntel
123+
Python Version: 3.9.20 (main, Oct 3 2024, 07:38:01) [MSC v.1929 64 bit (AMD64)]
124+
============================================================
125+
126+
Starting benchmark...
127+
128+
Benchmark Summary
129+
============================================================
130+
131+
Matrix Multiplication Results:
132+
Size 200x200:
133+
Median time: 0.693025 seconds
134+
Operations/second: 11,484,859.82
135+
Coefficient of variation: 1.53%
136+
Performance Score: 1.44
137+
138+
Recursive Fibonacci Results:
139+
n=35:
140+
Time taken: 1.629292 seconds
141+
Performance Score: 0.61
142+
143+
Bubble Sort Results:
144+
List size 5000:
145+
Time taken: 1.164734 seconds
146+
Performance Score: 0.86
147+
148+
Prime Number Generation Results:
149+
Limit 30000:
150+
Primes found: 3245
151+
Time taken: 1.454710 seconds
152+
Performance Score: 0.69
153+
154+
Summary Evaluation (Higher is better): 3.602700
155+
156+
157+
Date of testing: 2024年12月24日 13:15:11
158+
System Information
159+
============================================================
160+
Operating System: Windows (64bit)
161+
Processor: Intel64 Family 6 Model 165 Stepping 5, GenuineIntel
162+
Python Version: 3.10.15 | packaged by Anaconda, Inc. | (main, Oct 3 2024, 07:22:19) [MSC v.1929 64 bit (AMD64)]
163+
============================================================
164+
165+
Starting benchmark...
166+
167+
Benchmark Summary
168+
============================================================
169+
170+
Matrix Multiplication Results:
171+
Size 200x200:
172+
Median time: 1.347311 seconds
173+
Operations/second: 5,936,112.50
174+
Coefficient of variation: 0.48%
175+
Performance Score: 0.74
176+
177+
Recursive Fibonacci Results:
178+
n=35:
179+
Time taken: 2.739638 seconds
180+
Performance Score: 0.37
181+
182+
Bubble Sort Results:
183+
List size 5000:
184+
Time taken: 1.726959 seconds
185+
Performance Score: 0.58
186+
187+
Prime Number Generation Results:
188+
Limit 30000:
189+
Primes found: 3245
190+
Time taken: 2.198494 seconds
191+
Performance Score: 0.45
192+
193+
Summary Evaluation (Higher is better): 2.141140
194+
195+
196+
Date of testing: 2024年12月24日 13:16:09
197+
System Information
198+
============================================================
199+
Operating System: Windows (64bit)
200+
Processor: Intel64 Family 6 Model 165 Stepping 5, GenuineIntel
201+
Python Version: 3.11.10 | packaged by Anaconda, Inc. | (main, Oct 3 2024, 07:22:26) [MSC v.1929 64 bit (AMD64)]
202+
============================================================
203+
204+
Starting benchmark...
205+
206+
Benchmark Summary
207+
============================================================
208+
209+
Matrix Multiplication Results:
210+
Size 200x200:
211+
Median time: 0.648781 seconds
212+
Operations/second: 12,285,780.78
213+
Coefficient of variation: 1.61%
214+
Performance Score: 1.54
215+
216+
Recursive Fibonacci Results:
217+
n=35:
218+
Time taken: 1.333887 seconds
219+
Performance Score: 0.75
220+
221+
Bubble Sort Results:
222+
List size 5000:
223+
Time taken: 1.114506 seconds
224+
Performance Score: 0.90
225+
226+
Prime Number Generation Results:
227+
Limit 30000:
228+
Primes found: 3245
229+
Time taken: 1.904991 seconds
230+
Performance Score: 0.52
231+
232+
Summary Evaluation (Higher is better): 3.713235
233+
234+
235+
Date of testing: 2024年12月24日 13:16:42
236+
System Information
237+
============================================================
238+
Operating System: Windows (64bit)
239+
Processor: Intel64 Family 6 Model 165 Stepping 5, GenuineIntel
240+
Python Version: 3.12.7 | packaged by Anaconda, Inc. | (main, Oct 4 2024, 13:17:27) [MSC v.1929 64 bit (AMD64)]
241+
============================================================
242+
243+
Starting benchmark...
244+
245+
Benchmark Summary
246+
============================================================
247+
248+
Matrix Multiplication Results:
249+
Size 200x200:
250+
Median time: 0.672228 seconds
251+
Operations/second: 11,857,108.91
252+
Coefficient of variation: 1.30%
253+
Performance Score: 1.49
254+
255+
Recursive Fibonacci Results:
256+
n=35:
257+
Time taken: 1.409475 seconds
258+
Performance Score: 0.71
259+
260+
Bubble Sort Results:
261+
List size 5000:
262+
Time taken: 1.160527 seconds
263+
Performance Score: 0.86
264+
265+
Prime Number Generation Results:
266+
Limit 30000:
267+
Primes found: 3245
268+
Time taken: 2.361665 seconds
269+
Performance Score: 0.42
270+
271+
Summary Evaluation (Higher is better): 3.482182
272+
273+
274+
Date of testing: 2024年12月24日 13:17:12
275+
System Information
276+
============================================================
277+
Operating System: Windows (64bit)
278+
Processor: Intel64 Family 6 Model 165 Stepping 5, GenuineIntel
279+
Python Version: 3.13.0 | packaged by Anaconda, Inc. | (main, Oct 7 2024, 21:21:52) [MSC v.1929 64 bit (AMD64)]
280+
============================================================
281+
282+
Starting benchmark...
283+
284+
Benchmark Summary
285+
============================================================
286+
287+
Matrix Multiplication Results:
288+
Size 200x200:
289+
Median time: 0.655199 seconds
290+
Operations/second: 12,176,030.33
291+
Coefficient of variation: 0.81%
292+
Performance Score: 1.53
293+
294+
Recursive Fibonacci Results:
295+
n=35:
296+
Time taken: 1.516788 seconds
297+
Performance Score: 0.66
298+
299+
Bubble Sort Results:
300+
List size 5000:
301+
Time taken: 1.095674 seconds
302+
Performance Score: 0.91
303+
304+
Prime Number Generation Results:
305+
Limit 30000:
306+
Primes found: 3245
307+
Time taken: 2.412412 seconds
308+
Performance Score: 0.41
309+
310+
Summary Evaluation (Higher is better): 3.512745
311+
312+
---
313+
Note: To improve your Python code performance by 60-100%, you can utilize the
314+
"Python Binary Optimization Compiler Script" from Alpha Beta Network (alphabetanet.com)
315+
316+
Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
Date of testing: 2024年12月24日 13:16:09
2+
System Information
3+
============================================================
4+
Operating System: Windows (64bit)
5+
Processor: Intel64 Family 6 Model 165 Stepping 5, GenuineIntel
6+
Python Version: 3.11.10 | packaged by Anaconda, Inc. | (main, Oct 3 2024, 07:22:26) [MSC v.1929 64 bit (AMD64)]
7+
============================================================
8+
9+
Starting benchmark...
10+
11+
Benchmark Summary
12+
============================================================
13+
14+
Matrix Multiplication Results:
15+
Size 200x200:
16+
Median time: 0.648781 seconds
17+
Operations/second: 12,285,780.78
18+
Coefficient of variation: 1.61%
19+
Performance Score: 1.54
20+
21+
Recursive Fibonacci Results:
22+
n=35:
23+
Time taken: 1.333887 seconds
24+
Performance Score: 0.75
25+
26+
Bubble Sort Results:
27+
List size 5000:
28+
Time taken: 1.114506 seconds
29+
Performance Score: 0.90
30+
31+
Prime Number Generation Results:
32+
Limit 30000:
33+
Primes found: 3245
34+
Time taken: 1.904991 seconds
35+
Performance Score: 0.52
36+
37+
Summary Evaluation (Higher is better): 3.713235
38+
39+
40+
Date of testing: 2024年12月24日 13:21:35
41+
System Information
42+
============================================================
43+
Operating System: Windows (64bit)
44+
Processor: Intel64 Family 6 Model 165 Stepping 5, GenuineIntel
45+
Python Version: 3.11.9 (tags/v3.11.9:de54cf5, Apr 2 2024, 10:12:12) [MSC v.1938 64 bit (AMD64)]
46+
============================================================
47+
48+
Starting benchmark...
49+
50+
Benchmark Summary
51+
============================================================
52+
53+
Matrix Multiplication Results:
54+
Size 200x200:
55+
Median time: 0.601605 seconds
56+
Operations/second: 13,278,535.62
57+
Coefficient of variation: 1.12%
58+
Performance Score: 1.66
59+
60+
Recursive Fibonacci Results:
61+
n=35:
62+
Time taken: 1.215701 seconds
63+
Performance Score: 0.82
64+
65+
Bubble Sort Results:
66+
List size 5000:
67+
Time taken: 0.903095 seconds
68+
Performance Score: 1.11
69+
70+
Prime Number Generation Results:
71+
Limit 30000:
72+
Primes found: 3245
73+
Time taken: 1.788207 seconds
74+
Performance Score: 0.56
75+
76+
Summary Evaluation (Higher is better): 4.151314
77+
78+
---
79+
Note: To improve your Python code performance by 60-100%, you can utilize the
80+
"Python Binary Optimization Compiler Script" from Alpha Beta Network (alphabetanet.com)
81+
82+

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /