File tree Expand file tree Collapse file tree 2 files changed +9
-21
lines changed Expand file tree Collapse file tree 2 files changed +9
-21
lines changed Original file line number Diff line number Diff line change @@ -167,9 +167,7 @@ progit:
167
167
$(BENCHFILE ) : progit
168
168
echo " " > $@
169
169
for lang in ar az be ca cs de en eo es es-ni fa fi fr hi hu id it ja ko mk nl no-nb pl pt-br ro ru sr th tr uk vi zh zh-tw; do \
170
- for i in ` seq 1 10` ; do \
171
- cat progit/$$ lang/* /* .markdown >> $@ ; \
172
- done ; \
170
+ cat progit/$$ lang/* /* .markdown >> $@ ; \
173
171
done
174
172
175
173
# for more accurate results, run with
Original file line number Diff line number Diff line change 1
1
# Benchmarks
2
2
3
- Here are some benchmarks, run on an ancient Thinkpad running Intel
4
- Core 2 Duo at 2GHz. The input text is a 11MB Markdown file built by
5
- concatenating the Markdown sources of all the localizations of the
6
- first edition of
7
- [ * Pro Git* ] ( https://github.com/progit/progit/tree/master/en ) by Scott
8
- Chacon.
3
+ Here are some benchmarks, run on a 2.3GHz 8-core i9 macbook pro.
4
+ The input text is a 1106 KB Markdown file built by concatenating
5
+ the Markdown sources of all the localizations of the first edition
6
+ of [ * Pro Git* ] ( https://github.com/progit/progit/tree/master/en ) by
7
+ Scott Chacon.
9
8
10
9
| Implementation | Time (sec)|
11
10
| -------------------| -----------:|
12
- | Markdown.pl | 2921.24 |
13
- | Python markdown | 291.25 |
14
- | PHP markdown | 20.82 |
15
- | kramdown | 17.32 |
16
- | cheapskate | 8.24 |
17
- | peg-markdown | 5.45 |
18
- | parsedown | 5.06 |
19
- | ** commonmark.js** | 2.09 |
20
- | marked | 1.99 |
21
- | discount | 1.85 |
22
- | ** cmark** | 0.29 |
23
- | hoedown | 0.21 |
11
+ | ** commonmark.js** | 0.59 |
12
+ | ** cmark** | 0.12 |
13
+ | ** md4c** | 0.04 |
24
14
25
15
To run these benchmarks, use ` make bench PROG=/path/to/program ` .
26
16
You can’t perform that action at this time.
0 commit comments