Skip to content
This repository was archived by the owner on May 20, 2024. It is now read-only.

Commit dfa358a

Browse files
committed
Update results at nightly-2020-02-02
1 parent 1d4986c commit dfa358a

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

README.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,38 +4,38 @@ This is a partial port of
44
[nativejson-benchmark](https://github.com/miloyip/nativejson-benchmark)
55
to Rust. The libraries tested are:
66

7-
- [serde\_json](https://github.com/serde-rs/json) 1.0.41
8-
- [json-rust](https://github.com/maciejhirsz/json-rust) 0.12.0
7+
- [serde\_json](https://github.com/serde-rs/json) 1.0.45
8+
- [json-rust](https://github.com/maciejhirsz/json-rust) 0.12.1
99
- [rustc-serialize](https://github.com/rust-lang-nursery/rustc-serialize) 0.3.24
10-
- [simd-json](https://github.com/Licenser/simdjson-rs) 0.1.25 (this requires a modern x86 CPU for good results)
10+
- [simd-json](https://github.com/Licenser/simdjson-rs) 0.1.26 (this requires a modern x86 CPU for good results)
1111

1212
#### `$ cargo run --release`
1313

1414
```
1515
DOM STRUCT
1616
======= serde_json ======= parse|stringify ===== parse|stringify ====
17-
data/canada.json 220 MB/s 420 MB/s 510 MB/s 330 MB/s
18-
data/citm_catalog.json 380 MB/s 450 MB/s 850 MB/s 820 MB/s
19-
data/twitter.json 250 MB/s 860 MB/s 570 MB/s 880 MB/s
17+
data/canada.json 220 MB/s 410 MB/s 490 MB/s 320 MB/s
18+
data/citm_catalog.json 370 MB/s 460 MB/s 820 MB/s 750 MB/s
19+
data/twitter.json 250 MB/s 820 MB/s 550 MB/s 930 MB/s
2020
2121
======= json-rust ======== parse|stringify ===== parse|stringify ====
22-
data/canada.json 390 MB/s 890 MB/s
23-
data/citm_catalog.json 590 MB/s 740 MB/s
24-
data/twitter.json 430 MB/s 880 MB/s
22+
data/canada.json 390 MB/s 840 MB/s
23+
data/citm_catalog.json 560 MB/s 700 MB/s
24+
data/twitter.json 420 MB/s 840 MB/s
2525
2626
==== rustc_serialize ===== parse|stringify ===== parse|stringify ====
27-
data/canada.json 130 MB/s 53 MB/s 91 MB/s 36 MB/s
28-
data/citm_catalog.json 150 MB/s 150 MB/s 110 MB/s 180 MB/s
29-
data/twitter.json 79 MB/s 310 MB/s 61 MB/s 330 MB/s
27+
data/canada.json 140 MB/s 57 MB/s 100 MB/s 38 MB/s
28+
data/citm_catalog.json 160 MB/s 150 MB/s 110 MB/s 210 MB/s
29+
data/twitter.json 86 MB/s 330 MB/s 67 MB/s 360 MB/s
3030
3131
======= simd-json ======== parse|stringify ===== parse|stringify ====
32-
data/canada.json 320 MB/s 440 MB/s 630 MB/s
33-
data/citm_catalog.json 880 MB/s 610 MB/s 1390 MB/s
34-
data/twitter.json 790 MB/s 730 MB/s 930 MB/s
32+
data/canada.json 310 MB/s 420 MB/s 570 MB/s
33+
data/citm_catalog.json 840 MB/s 580 MB/s 1330 MB/s
34+
data/twitter.json 780 MB/s 720 MB/s 930 MB/s
3535
```
3636

3737
- Intel(R) Core(TM) i7-6600U CPU @ 2.60GHz *(laptop CPU from 2015)*
38-
- rustc 1.40.0-nightly (4a8c5b20c 2019-10-23)
38+
- rustc 1.42.0-nightly (13db6501c 2020-02-01)
3939

4040
To update the numbers above, I run `./json-benchmark` twice on an otherwise idle
4141
computer and take the greater of the two results for each number.

0 commit comments

Comments
 (0)