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

Commit d94c0a1

Browse files
committed
Update results at nightly-2019-06-27
1 parent 074e1d2 commit d94c0a1

File tree

1 file changed

+17
-12
lines changed

1 file changed

+17
-12
lines changed

README.md

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,32 +5,37 @@ This is a partial port of
55
to Rust. The libraries tested are:
66

77
- [serde\_json](https://github.com/serde-rs/json) 1.0.39
8-
- [json-rust](https://github.com/maciejhirsz/json-rust) 0.11.13
8+
- [json-rust](https://github.com/maciejhirsz/json-rust) 0.11.14
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.11 (this requires a modern x86 CPU for good results)
10+
- [simd-json](https://github.com/Licenser/simdjson-rs) 0.1.15 (this requires a modern x86 CPU for good results)
1111

1212
#### `$ RUSTFLAGS="-C target-cpu=native" cargo run --release`
1313

1414
```
1515
DOM STRUCT
1616
======= serde_json ======= parse|stringify ===== parse|stringify ====
17-
data/canada.json 200 MB/s 400 MB/s 550 MB/s 320 MB/s
18-
data/citm_catalog.json 300 MB/s 390 MB/s 840 MB/s 820 MB/s
19-
data/twitter.json 260 MB/s 860 MB/s 540 MB/s 930 MB/s
17+
data/canada.json 230 MB/s 420 MB/s 530 MB/s 330 MB/s
18+
data/citm_catalog.json 390 MB/s 450 MB/s 860 MB/s 810 MB/s
19+
data/twitter.json 260 MB/s 870 MB/s 570 MB/s 940 MB/s
2020
2121
======= json-rust ======== parse|stringify ===== parse|stringify ====
22-
data/canada.json 280 MB/s 850 MB/s
23-
data/citm_catalog.json 580 MB/s 720 MB/s
24-
data/twitter.json 420 MB/s 910 MB/s
22+
data/canada.json 360 MB/s 920 MB/s
23+
data/citm_catalog.json 520 MB/s 770 MB/s
24+
data/twitter.json 420 MB/s 900 MB/s
2525
2626
==== rustc_serialize ===== parse|stringify ===== parse|stringify ====
27-
data/canada.json 120 MB/s 62 MB/s 89 MB/s 44 MB/s
28-
data/citm_catalog.json 120 MB/s 150 MB/s 100 MB/s 190 MB/s
29-
data/twitter.json 84 MB/s 310 MB/s 64 MB/s 330 MB/s
27+
data/canada.json 140 MB/s 56 MB/s 96 MB/s 42 MB/s
28+
data/citm_catalog.json 150 MB/s 150 MB/s 110 MB/s 190 MB/s
29+
data/twitter.json 83 MB/s 290 MB/s 64 MB/s 310 MB/s
30+
31+
======= simd-json ======== parse|stringify ===== parse|stringify ====
32+
data/canada.json 340 MB/s 460 MB/s 570 MB/s
33+
data/citm_catalog.json 780 MB/s 630 MB/s 1230 MB/s
34+
data/twitter.json 670 MB/s 990 MB/s 800 MB/s
3035
```
3136

3237
- Intel(R) Core(TM) i7-6600U CPU @ 2.60GHz *(laptop CPU from 2015)*
33-
- rustc 1.35.0-nightly (cb2f34dc6 2019-03-22)
38+
- rustc 1.37.0-nightly (d3e2cec29 2019-06-26)
3439

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

0 commit comments

Comments
 (0)