Skip to content

Commit 773c74c

Browse files
committed
new-result: pascal added
1 parent d78416d commit 773c74c

File tree

3 files changed

+24
-1
lines changed

3 files changed

+24
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ lscpu | sed -nr '/Model name/ s/.*:\s*(.*) @ .*/\1/p'
3535
| #7 | Dart | Dart 2.19.0 | 7.55s | 112% |
3636
| #8 | Python | Codon 0.16.0 | 10.89s | 206% |
3737
| #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% |
3940

4041
n% slower formulla: <br>
4142
( (LanguageTime - WinnerTime) * 100 ) / WinnerTime

result/Intel(R) Core(TM) i7-8550U

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,16 @@ go version go1.20.3 linux/amd64
4545
602489
4646
12851ms
4747

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+
4858
*------------ python -------------*
4959
Python 3.9.2
5060
602489

run.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,18 @@ echo ""
105105
echo ""
106106

107107

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+
108120
echo "*------------ python -------------*"
109121
python3 --version
110122

0 commit comments

Comments
 (0)