Skip to content

Commit 7cbfa1a

Browse files
authored
Update benchmark (#15)
2 parents 6fef20c + e189cf4 commit 7cbfa1a

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

benchmark/README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,19 @@ This directory contains the benchmarking code for the project. The benchmarking
77
On my pc:
88
```
99
Running benchmark for 'if' scripts
10-
Python: 3.388713 s for 100 iterations (avg: 0.033887 s/iter)
11-
Word: 0.361091 s for 100 iterations (avg: 0.003611 s/iter)
12-
Ratio python/word: 9.38x
10+
Python: 17.039089 s for 500 iterations (avg: 0.034078 s/iter)
11+
Word: 1.779429 s for 500 iterations (avg: 0.003559 s/iter)
12+
Ratio python/word: 9.58x
1313
1414
Running benchmark for 'while' scripts
15-
Python: 3.418189 s for 100 iterations (avg: 0.034182 s/iter)
16-
Word: 0.353599 s for 100 iterations (avg: 0.003536 s/iter)
17-
Ratio python/word: 9.67x
15+
Python: 18.221854 s for 500 iterations (avg: 0.036444 s/iter)
16+
Word: 1.875409 s for 500 iterations (avg: 0.003751 s/iter)
17+
Ratio python/word: 9.72x
1818
1919
Running benchmark for 'fibonacci' scripts
20-
Python: 3.365003 s for 100 iterations (avg: 0.03365 s/iter)
21-
Word: 0.465831 s for 100 iterations (avg: 0.004658 s/iter)
22-
Ratio python/word: 7.22x
20+
Python: 17.432245 s for 500 iterations (avg: 0.034864 s/iter)
21+
Word: 2.396842 s for 500 iterations (avg: 0.004794 s/iter)
22+
Ratio python/word: 7.27x
2323
```
2424

2525
On Github Actions:

0 commit comments

Comments
 (0)