File tree Expand file tree Collapse file tree 3 files changed +24
-1
lines changed Expand file tree Collapse file tree 3 files changed +24
-1
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,8 @@ lscpu | sed -nr '/Model name/ s/.*:\s*(.*) @ .*/\1/p'
35
35
| #7 | Dart | Dart 2.19.0 | 7.55s | 112% |
36
36
| #8 | Python | Codon 0.16.0 | 10.89s | 206% |
37
37
| #9 | Go | Go 1.20.3 | 12.85s | 261% |
38
- | #10 | Python | Python 3.9.2 | 95.13s | 2576% |
38
+ | #10 | Pascal | FPC 3.2.2 | 13.51s | 280% |
39
+ | #11 | Python | Python 3.9.2 | 95.13s | 2576% |
39
40
40
41
n% slower formulla: <br >
41
42
( (LanguageTime - WinnerTime) * 100 ) / WinnerTime
Original file line number Diff line number Diff line change @@ -45,6 +45,16 @@ go version go1.20.3 linux/amd64
45
45
602489
46
46
12851ms
47
47
48
+ *------------ pascal -------------*
49
+ Free Pascal Compiler version 3.2.2 [2021/05/16] for x86_64
50
+ Copyright (c) 1993-2021 by Florian Klaempfl and others
51
+ Target OS: Linux for x86-64
52
+ Compiling ./src/prime.pas
53
+ Linking ./src/prime
54
+ 38 lines compiled, 0.2 sec
55
+ 602489
56
+ 13511ms
57
+
48
58
*------------ python -------------*
49
59
Python 3.9.2
50
60
602489
Original file line number Diff line number Diff line change @@ -105,6 +105,18 @@ echo ""
105
105
echo " "
106
106
107
107
108
+ echo " *------------ pascal -------------*"
109
+ fpc ./src/prime.pas
110
+
111
+ sleep 5 # cpu cool down
112
+
113
+ ./src/prime
114
+
115
+ rm ./src/prime.o
116
+ rm ./src/prime
117
+ echo " "
118
+
119
+
108
120
echo " *------------ python -------------*"
109
121
python3 --version
110
122
You can’t perform that action at this time.
0 commit comments