So, yesterday I didn't touch my PC to do a
prime number benchmark. And Here's the result for single threaded (only showing fastest implementation of each language) and multithreaded:
Index | Implementation | S | Label | Passes | Dur | Algo | Faithful | Bit | Passes/Second |
1 | cpp | 3 | flo80_ | 220667 | 5.00 | base | no | 1 | 44133.26760 |
10 | c | 2 | daniel | 20250 | 5.00 | wheel | yes | 1 | 4049.85259 |
11 | zig | 3 | ManDeJ | 17964 | 5.00 | base | no | 1 | 3592.49823 |
12 | c | 2 | daniel | 17681 | 5.00 | wheel | yes | 1 | 3536.07129 |
16 | rust | 1 | mike-b | 15804 | 5.01 | base | yes | 8 | 3152.68929 |
20 | assembly | 1 | rberge | 14434 | 5.00 | base | no | 8 | 2886.80000 |
22 | haskell | 1 | fatho/ | 11959 | 5.00 | base | no | 8 | 2391.77321 |
32 | fortran | 1 | johand | 9987 | 5.00 | base | no | 1 | 1997.40000 |
36 | crystal | 1 | marghi | 8680 | 5.00 | base | yes | 1 | 1735.86981 |
38 | fsharp | 3 | dmanno | 7754 | 5.00 | base | yes | | 1550.68897 |
40 | java | 1 | Mansen | 14887 | 10.0 | base | yes | | 1488.70000 |
41 | csharp | 1 | kinema | 7271 | 5.00 | base | yes | | 1454.08077 |
43 | julia | 2 | epithe | 6953 | 5.00 | base | yes | 1 | 1390.55577 |
46 | go | 2 | ssoves | 6161 | 5.00 | base | yes | 1 | 1232.01471 |
51 | nodejs | 1 | rogier | 5748 | 5.00 | base | yes | 1 | 1149.43213 |
57 | lisp | 2 | mayerr | 5122 | 5.00 | base | no | 1 | 1024.19803 |
58 | typescript | 1 | marghi | 5031 | 5.00 | base | yes | | 1006.20000 |
59 | d | 2 | Bradle | 5003 | 5.00 | base | yes | 1 | 1000.52396 |
61 | v | 1 | marghi | 4329 | 5.00 | base | yes | | 865.80000 |
63 | lua | 2 | ben1je | 3159 | 5.00 | base | no | 1 | 631.80000 |
64 | nim | 2 | beef33 | 2871 | 5.00 | base | yes | 1 | 574.02096 |
67 | cython | 1 | rpkak | 2659 | 5.00 | base | yes | 8 | 531.64832 |
71 | basic | 1 | rberge | 2416 | 5.00 | wheel | yes | 1 | 483.00680 |
73 | assemblyscript | 1 | donmah | 4231 | 10.0 | base | yes | | 423.05768 |
74 | python | 2 | ssoves | 1991 | 5.00 | base | yes | 8 | 398.09742 |
80 | scala | 1 | rom1de | 1203 | 5.00 | base | yes | | 240.55189 |
81 | pascal | 1 | rberge | 1162 | 5.00 | base | yes | | 232.40000 |
82 | cobol | 1 | fvbake | 1157 | 5.00 | base | no | 8 | 231.40000 |
83 | pony | 1 | marghi | 1144 | 5.00 | base | yes | 1 | 228.80000 |
84 | swift | 1 | j-f1 | 2046 | 10.0 | base | yes | | 204.55332 |
85 | dart | 1 | eagere | 824 | 5.00 | base | yes | | 164.77795 |
86 | haxe | 1 | TayIor | 1392 | 10.0 | base | yes | | 139.19035 |
88 | ada | 1 | BoopBe | 661 | 5.00 | base | no | | 132.02220 |
92 | octave | 1 | octave | 313 | 5.00 | base | no | | 62.54234 |
93 | postscript | 1 | epithe | 216 | 5.01 | base | no | 8 | 43.08797 |
94 | ruby | 1 | rberge | 119 | 5.01 | base | yes | | 23.71935 |
95 | wren | 1 | marghi | 111 | 5.00 | base | yes | | 22.16446 |
96 | php | 1 | Dennis | 143 | 10.0 | base | yes | | 14.24667 |
97 | smalltalk | 1 | fvbake | 49 | 5.07 | base | yes | 1 | 9.66469 |
99 | mixal | 1 | rberge | 30 | 4.91 | base | no | 1 | 6.10998 |
100 | perl | 1 | marghi | 28 | 5.16 | base | yes | | 5.42031 |
103 | r | 1 | fvbake | 7 | 5.43 | base | yes | 32 | 1.28842 |
104 | sql | 2 | fvbake | 6 | 5.43 | other | no | 32 | 1.10375 |
105 | tcl | 1 | fvbake | 6 | 5.47 | base | yes | 1 | 1.09589 |
111 | latex | 1 | tjol | 2 | 17.8 | base | no | 32 | 0.11224 |
112 | bash | 1 | bash | 1 | 10.6 | base | no | | 0.09357 |
Index | Implementation | S | Label | Passes | Dur | Thread | Algo | Faithful | Bit | Passes/Second |
1 | zig | 3 | ManDe | 140910 | 5.0 | 4 | wheel | no | 1 | 7045.26046 |
2 | cpp | 3 | flo80 | 236184 | 5.0 | 8 | base | no | 1 | 5904.57992 |
3 | zig | 3 | ManDe | 106399 | 5.0 | 4 | wheel | no | 1 | 5319.64146 |
4 | zig | 3 | ManDe | 101026 | 5.0 | 4 | wheel | no | 1 | 5051.08785 |
5 | zig | 3 | ManDe | 84002 | 5.0 | 4 | wheel | no | 1 | 4200.08320 |
6 | zig | 3 | ManDe | 147822 | 5.0 | 8 | wheel | no | 1 | 3695.38740 |
7 | zig | 3 | ManDe | 72021 | 5.0 | 4 | wheel | no | 1 | 3600.73314 |
8 | zig | 3 | ManDe | 70522 | 5.0 | 4 | wheel | no | 1 | 3525.83204 |
9 | zig | 3 | ManDe | 134124 | 5.0 | 8 | wheel | no | 1 | 3352.91894 |
10 | zig | 3 | ManDe | 59851 | 5.0 | 4 | base | no | 8 | 2992.45424 |
11 | c | 2 | danie | 101391 | 5.0 | 8 | wheel | yes | 1 | 2534.43285 |
12 | zig | 3 | ManDe | 98246 | 5.0 | 8 | wheel | no | 1 | 2455.98299 |
13 | zig | 3 | ManDe | 98190 | 5.0 | 8 | wheel | no | 1 | 2454.57327 |
14 | zig | 3 | ManDe | 48164 | 5.0 | 4 | base | no | 1 | 2408.10849 |
15 | zig | 3 | ManDe | 91745 | 5.0 | 8 | wheel | no | 1 | 2293.50574 |
16 | zig | 3 | ManDe | 90598 | 5.0 | 8 | wheel | no | 1 | 2264.84129 |
17 | c | 2 | danie | 88103 | 5.0 | 8 | wheel | yes | 1 | 2199.97727 |
18 | zig | 3 | ManDe | 42318 | 5.0 | 4 | base | no | 1 | 2115.85768 |
19 | c | 2 | danie | 78858 | 5.0 | 8 | wheel | yes | 1 | 1969.05838 |
20 | zig | 3 | ManDe | 68492 | 5.0 | 8 | base | no | 8 | 1712.11852 |
21 | c | 2 | danie | 63752 | 5.0 | 8 | wheel | yes | 1 | 1591.86334 |
22 | rust | 1 | mike- | 59001 | 5.0 | 8 | base | yes | 8 | 1474.83765 |
23 | rust | 1 | mike- | 52979 | 5.0 | 8 | base | yes | 1 | 1324.32205 |
24 | c | 2 | danie | 49822 | 5.0 | 8 | base | yes | 1 | 1244.43126 |
25 | zig | 3 | ManDe | 49712 | 5.0 | 8 | base | no | 1 | 1242.59124 |
26 | c | 2 | danie | 24664 | 5.0 | 4 | wheel | yes | 1 | 1233.15067 |
27 | rust | 1 | mike- | 49238 | 5.0 | 8 | base | yes | 1 | 1230.78145 |
28 | zig | 3 | ManDe | 45636 | 5.0 | 8 | base | no | 1 | 1140.80189 |
29 | c | 2 | danie | 22378 | 5.0 | 4 | wheel | yes | 1 | 1118.88478 |
30 | c | 2 | danie | 20385 | 5.0 | 4 | wheel | yes | 1 | 1019.22065 |
31 | c | 2 | danie | 20257 | 5.0 | 4 | wheel | yes | 1 | 1012.82346 |
32 | c | 2 | danie | 15132 | 5.0 | 4 | base | yes | 1 | 756.55294 |
33 | cpp | 2 | davep | 20048 | 5.0 | 8 | base | yes | 1 | 501.18496 |
34 | d | 2 | Bradl | 19553 | 5.0 | 8 | base | yes | 1 | 488.74973 |
35 | zig | 3 | ManDe | 9240 | 5.0 | 4 | base | no | 8 | 461.94272 |
36 | zig | 3 | ManDe | 11834 | 5.0 | 8 | base | no | 8 | 295.81332 |
37 | csharp | 1 | kinem | 3193 | 5.0 | 8 | wheel | yes | 1 | 79.81766 |
38 | csharp | 1 | kinem | 2961 | 5.0 | 8 | base | yes | 1 | 74.02041 |
Raw result on this
gist
No comments :
Post a Comment
THINK: is it True? is it Helpful? is it Inspiring? is it Necessary? is it Kind?