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

Commit

Permalink
update version, benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
BlueGreenMagick committed Oct 12, 2021
1 parent ca0344b commit fec6de3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "xml-doc"
version = "0.1.1"
version = "0.2.0"
authors = ["Yoonchae Lee <[email protected]>"]
description = "Read, modify and write xml in tree-like structure. Supports UTF-16."
edition = "2018"
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ To run benchmark: `cd benches ; cargo bench`.

```
tiny(4.8KB) medium(1.5MB) large(25MB) medium(UTF-16)
xml_doc v0.1.1: 88.40us 32.06ms 370.38ms 33.40ms
minidom v0.12.0: 104.70us 48.80ms 682.06ms
roxmltree v0.14.1: 53.00us 17.40ms 359.34ms
xmltree v0.10.3: 4341.9 us 1352.2 ms 22863. ms
xml_doc v0.2.0: 73.79us 29.74ms 341.05ms 29.16ms
minidom v0.12.0: 85.19us 40.09ms 565.04ms
roxmltree v0.14.1: 49.34us 16.33ms 330.90ms
xmltree v0.10.3: 4065.8 us 1204.7 ms 21198. ms
```

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/runs/3845335396).

0 comments on commit fec6de3

Please sign in to comment.