Skip to content

Commit b0fdf76

Browse files
committed
2 parents bad3edb + 56b8262 commit b0fdf76

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

readme.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -94,17 +94,17 @@ If the page does not contain any headers, `title` will be `null`.
9494

9595
### Performance
9696

97-
Preliminary benchmark results:
97+
Benchmark results:
9898

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) |
100100
| :--- | ---: | ---: | ---: | ---: |
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 (×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 (×2.25) | **2.4 ms** per item (×1.00) |
103103

104104
The benchmarking does not consider saving and loading times. Only `text()` function is measured.
105105

106106
> 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.
108108
> Also note how JIT really helps Java with large batches of work.
109109
110110
## MDTool

0 commit comments

Comments
 (0)