diff --git a/Cargo.toml b/Cargo.toml index fe535dc..725ff5c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "xml-doc" -version = "0.1.1" +version = "0.2.0" authors = ["Yoonchae Lee "] description = "Read, modify and write xml in tree-like structure. Supports UTF-16." edition = "2018" diff --git a/README.md b/README.md index 3feca0e..7431040 100644 --- a/README.md +++ b/README.md @@ -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).