You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+27-28Lines changed: 27 additions & 28 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,7 +69,7 @@ The results here-below were computed on April the 8th, 2018 with the following l
69
69
| jsoniter | 0.9.22 |
70
70
| minimal-json | 0.9.5 |
71
71
72
-
[All graphs and sheets are available in this google doc.](https://docs.google.com/spreadsheets/d/1gI5-FFWwPjf4pxgYE0cEfbFIyNUGL8ci4NKLjTozU5I/edit?usp=sharing)
72
+
[All graphs and sheets are available in this google doc.][spreadsheet]
73
73
74
74
[Raw JMH results are available here][jmh-results]
75
75
@@ -78,10 +78,10 @@ The results here-below were computed on April the 8th, 2018 with the following l
78
78
Uses: primitive types, String, List and simple POJOs
79
79
80
80
**Deserialization performance**
81
-

81
+
![json deserialization performance for primitive types, String, List and simple POJOs][graph-users-deser]
82
82
83
83
**Serialization performance**
84
-

84
+
![json serialization performance for primitive types, String, List and simple POJOs][graph-users-ser]
85
85
86
86
### `Clients` model
87
87
@@ -90,36 +90,29 @@ Uses: primitive types, String, List and simple POJOs, arrays, enum, UUID, LocalD
90
90
Note: fewer libraries are tested with this model due to lack of support for some of the evaluated types.
91
91
92
92
**Deserialization performance**
93
-

93
+
![json deserialization performance for primitive types, String, List and simple POJOs, arrays, enum, UUID, LocalDate][graph-clients-deser]
94
94
95
95
**Serialization performance**
96
-

96
+
![json serialization performance for primitive types, String, List and simple POJOs, arrays, enum, UUID, LocalDate][graph-clients-ser]
97
97
98
98
99
99
### Benchmark configuration
100
100
101
-
#### JMH
102
-
103
-
# JMH version: 1.20
104
-
# VM version: JDK 1.8.0_131, VM 25.131-b11
105
-
# VM invoker: /Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre/bin/java
106
-
# VM options: -XX:+AggressiveOpts -Xms2G -Xmx2G
107
-
# Warmup: 5 iterations, 1 s each
108
-
# Measurement: 10 iterations, 3 s each
109
-
# Timeout: 10 min per iteration
110
-
# Threads: 16 threads, will synchronize iterations
111
-
# Benchmark mode: Throughput, ops/time
112
-
113
-
#### Hardware
114
-
115
-
Model Name: MacBook Pro
116
-
Processor Name: Intel Core i7
117
-
Processor Speed: 2.6 GHz
118
-
Number of Processors: 1
119
-
Total Number of Cores: 4
120
-
L2 Cache (per Core): 256 KB
121
-
L3 Cache: 6 MB
122
-
Memory: 16 GB
101
+
Tests were run on an [Amazon EC2 c5.xlarge](https://aws.amazon.com/ec2/instance-types/c5/) (4 vCPU, 8 GiB RAM)
102
+
103
+
JMH info:
104
+
105
+
```
106
+
# JMH version: 1.20
107
+
# VM version: JDK 1.8.0_161, VM 25.161-b14
108
+
# VM invoker: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.161-0.b14.36.amzn1.x86_64/jre/bin/java
109
+
# VM options: -XX:+AggressiveOpts -Xms2g -Xmx2g
110
+
# Warmup: 5 iterations, 1 s each
111
+
# Measurement: 10 iterations, 3 s each
112
+
# Timeout: 10 min per iteration
113
+
# Threads: 16 threads, will synchronize iterations
114
+
# Benchmark mode: Throughput, ops/time
115
+
```
123
116
124
117
## Run
125
118
@@ -156,4 +149,10 @@ find numerous examples in the commit history. For instance:
0 commit comments