File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -94,17 +94,17 @@ If the page does not contain any headers, `title` will be `null`.
94
94
95
95
### Performance
96
96
97
- Preliminary benchmark results:
97
+ Benchmark results:
98
98
99
- | test file | repeat | JParsedown | Parsedown (PHP) | speedup |
99
+ | test file | repeat | JParsedown | [ Parsedown] ( https://github.com/erusev/parsedown ) (PHP) | [ flexmark-java ] ( https://github.com/vsch/flexmark-java ) |
100
100
| :--- | ---: | ---: | ---: | ---: |
101
- | [ cheatsheet.md] ( mdtool/cheatsheet.md ) | × ; 100 | ** 4.2 ms** per item | ** 5.5 ms** per item | × ; 1.31 |
102
- | [ cheatsheet.md] ( mdtool/cheatsheet.md ) | × ; 1000 | ** 2.6 ms** per item | ** 5.4 ms** per item | × ; 2.08 |
101
+ | [ cheatsheet.md] ( mdtool/cheatsheet.md ) | × ; 100 | ** 4.4 ms** per item | ** 5.5 ms** per item ( & times ; 1.25) | ** 6.2 ms ** per item ( × ; 1.14) |
102
+ | [ cheatsheet.md] ( mdtool/cheatsheet.md ) | × ; 1000 | ** 2.4 ms** per item | ** 5.4 ms** per item ( & times ; 2.25) | ** 2.4 ms ** per item ( × ; 1.00) |
103
103
104
104
The benchmarking does not consider saving and loading times. Only ` text() ` function is measured.
105
105
106
106
> At the moment, JParsedown is not properly performance optimised.
107
- > Speedup is due to Java vs PHP performance difference.
107
+ > Speedup against the origial Parsedown is due to Java vs PHP performance difference.
108
108
> Also note how JIT really helps Java with large batches of work.
109
109
110
110
## MDTool
You can’t perform that action at this time.
0 commit comments