@@ -46,7 +46,151 @@ What's New in 5.5
46
46
The 5.5 driver release includes the following changes, fixes,
47
47
and features:
48
48
49
- .. sharedinclude:: dbx/jvm/v5.5-wn-items.rst
49
+ - Introduces performance improvements that are reflected in the driver performance
50
+ benchmarks. To view the results of the performance benchmark tests, see the following
51
+ :ref:`java-5.5-performance-metrics` section.
52
+
53
+ .. _java-5.5-performance-metrics:
54
+
55
+ Performance Improvement Metrics
56
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
57
+
58
+ .. note::
59
+
60
+ The tables in this section reflect the performance
61
+ results of the synchronous Java driver. Since the improvements
62
+ were made in the shared driver core, we expect similar performance
63
+ improvement percentages for all Java drivers.
64
+
65
+ The following table shows the results of performance improvement
66
+ tests for v5.5 of the driver configured with standard transport settings:
67
+
68
+ .. list-table::
69
+ :header-rows: 1
70
+ :stub-columns: 1
71
+ :widths: 50 25 25
72
+
73
+ * - Feature
74
+ - Percent Improvement
75
+ - Z-score
76
+
77
+ * - Deep BSON decoding
78
+ - 19.44%
79
+ - 5.4
80
+
81
+ * - Deep BSON encoding
82
+ - 102%
83
+ - 22.8
84
+
85
+ * - Find many and empty the cursor
86
+ - 25.08%
87
+ - 13.72
88
+
89
+ * - Find one by ID
90
+ - 2.7%
91
+ - 3.16
92
+
93
+ * - Flat BSON decoding
94
+ - 31.2%
95
+ - 9.38
96
+
97
+ * - Flat BSON encoding
98
+ - 199.5%
99
+ - 12.34
100
+
101
+ * - Full BSON decoding
102
+ - 16.5%
103
+ - 7.23
104
+
105
+ * - Full BSON encoding
106
+ - 147.3%
107
+ - 10.39
108
+
109
+ * - LDJSON multi-file import
110
+ - 21.8%
111
+ - 8.21
112
+
113
+ * - Client ``BulkWrite`` insert with large documents
114
+ - 91.3%
115
+ - 24.44
116
+
117
+ * - Collection ``BulkWrite`` insert with large documents
118
+ - 96.5%
119
+ - 8.79
120
+
121
+ * - Bulk insert with large documents
122
+ - 93.3%
123
+ - 8.11
124
+
125
+ * - Insert one with large documents
126
+ - 82.4%
127
+ - 7.28
128
+
129
+ * - Client ``BulkWrite`` insert with small documents
130
+ - 49.5%
131
+ - 17.99
132
+
133
+ * - Collection ``BulkWrite`` insert with small documents
134
+ - 47.8%
135
+ - 6.44
136
+
137
+ The following table shows the results of performance improvement
138
+ tests for v5.5 of the driver configured with Netty transport settings:
139
+
140
+ .. list-table::
141
+ :header-rows: 1
142
+ :stub-columns: 1
143
+ :widths: 50 25 25
144
+
145
+ * - Feature
146
+ - Percent Improvement
147
+ - Z-score
148
+
149
+ * - Find many and empty the cursor
150
+ - 40.3%
151
+ - 14.81
152
+
153
+ * - Find one by ID
154
+ - 4.4%
155
+ - 4.12
156
+
157
+ * - LDJSON multi-file import
158
+ - 16.9%
159
+ - 3.77
160
+
161
+ * - Client ``BulkWrite`` insert with large documents
162
+ - 54.8%
163
+ - 14.49
164
+
165
+ * - Collection ``BulkWrite`` insert with large documents
166
+ - 104.9%
167
+ - 38.72
168
+
169
+ * - Bulk insert with large documents
170
+ - 74.6%
171
+ - 65.55
172
+
173
+ * - Insert one with large documents
174
+ - 66.6%
175
+ - 58.65
176
+
177
+ * - Client ``BulkWrite`` insert with small documents
178
+ - 36.1%
179
+ - 15.41
180
+
181
+ * - Collection ``BulkWrite`` insert with small documents
182
+ - 39.3%
183
+ - 37.38
184
+
185
+ * - Bulk insert with small documents
186
+ - 35.1%
187
+ - 41.51
188
+
189
+ .. tip::
190
+
191
+ To learn more about how we conduct driver performance benchmark
192
+ tests, see the :spec:`Performance Benchmarking </extended-json/extended-json.md#special-rules-for-parsing-uuid-fields>`
193
+ specification.
50
194
51
195
.. _java-version-5.4:
52
196
0 commit comments