Skip to content
This repository was archived by the owner on Nov 7, 2022. It is now read-only.

Commit f41386d

Browse files
update README benchmark
1 parent e231406 commit f41386d

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Features:
99
- Supports reading from most encodings, including UTF-16. (With the notable exception of UTF-32)
1010
- You can have references to the parts of the tree, and still mutate the tree.
1111
- Elements stores reference to its parent element, so traveling up the tree is fast.
12-
- One of the fastest XML tree-like parser. See [#Performance](https://github.com/bluegreenmagick/xml-doc#performance).
12+
- One of the fastest XML tree-like parser & writer. See [#Performance](https://github.com/bluegreenmagick/xml-doc#performance).
1313
- Supports attribute value normalization, character/entity references.
1414

1515
Due to its architecture, you can't exchange nodes or elements between documents.
@@ -51,11 +51,11 @@ To run benchmark: `cd benches ; cargo bench`.
5151
### Parsing
5252

5353
```
54-
tiny(4.8KB) medium(1.5MB) large(25MB) medium(UTF-16, 3.0MB)
55-
xml_doc: 67.017us 28.347ms 339.31ms 29.729ms
56-
minidom: 96.403us 43.271ms 630.24ms
57-
roxmltree: 49.020us 16.304ms 332.86ms
58-
xmltree: 3964.2us 1228.5ms 21128.0ms
54+
tiny(4.8KB) medium(1.5MB) large(25MB) medium(UTF-16)
55+
xml_doc v0.1.0: 88.27us 35.11ms 370.35ms 36.29ms
56+
minidom v0.12.0: 86.41us 47.64ms 612.22ms
57+
roxmltree v0.14.1: 53.96us 18.62ms 353.33ms
58+
xmltree v0.10.3: 4292.9 us 1329.4 ms 22442. ms
5959
```
6060

61-
You can see the result of benchmarks [here](https://github.com/BlueGreenMagick/xml-doc/actions/runs/1291967402).
61+
Only roxmltree which doesn't support writing, is considerably faster than xml_doc. You can see the result of the benchmarks [here](https://github.com/BlueGreenMagick/xml-doc/actions/runs/1322736020).

0 commit comments

Comments
 (0)