-
Notifications
You must be signed in to change notification settings - Fork 94
Commit 38bb1ac
[DE-959] Improve serde perfs (#588)
* improved extraction of user-data bytes for JSON content type
* improved extraction of user-data bytes for VPACK content type
* improved deserialization of managed classes by avoid extracting bytes when not needed
* improved serialization of JsonNode by avoid intermediate parsing when not needed
* improved RawJson deserialization
* improved RawJson serialization
* improved extract bytes at json pointer
* improved deserialize bytes at json pointer
* improved serialize user data bytes
* improved serialize list of user data
* improved deserialize of responses of CRUD operations on multiple documents
* improved RawJson serialization
* fixed deserialization of multiple documents
* fixed deserialization of multiple documents to user data
* fixed compatibility with older Jackson versions
* benchmark deserialize multiple documents
* updated jackson-dataformat-velocypack 4.5.01 parent 648ecb5 commit 38bb1ac
File tree
39 files changed
+690
-345
lines changed- .circleci
- core
- src/main/java/com/arangodb
- entity
- internal
- net
- serde
- util
- driver
- http-protocol
- jackson-serde-json
- jackson-serde-vpack
- jsonb-serde
- release-parent
- shaded
- test-functional
- src/test/java/com/arangodb
- test-non-functional
- test-parent
- test-perf
- test-resilience
- src/test/java/resilience
- mock
- tutorial
- gradle
- maven
- vst-protocol
39 files changed
+690
-345
lines changedLines changed: 4 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
535 | 535 |
| |
536 | 536 |
| |
537 | 537 |
| |
538 | - | ||
539 | - | ||
538 | + | ||
539 | + | ||
540 | 540 |
| |
541 | 541 |
| |
542 | 542 |
| |
| |||
551 | 551 |
| |
552 | 552 |
| |
553 | 553 |
| |
554 | - | ||
554 | + | ||
555 | 555 |
| |
556 | 556 |
| |
557 | 557 |
| |
| |||
571 | 571 |
| |
572 | 572 |
| |
573 | 573 |
| |
574 | - | ||
574 | + | ||
575 | 575 |
| |
576 | 576 |
| |
577 | 577 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 | - | ||
11 | + | ||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
|
Lines changed: 4 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
20 | 20 |
| |
21 | 21 |
| |
22 | 22 |
| |
23 | + | ||
23 | 24 |
| |
24 | 25 |
| |
25 | 26 |
| |
26 | 27 |
| |
27 | 28 |
| |
28 | 29 |
| |
29 | 30 |
| |
30 | - | ||
31 | - | ||
32 | - | ||
31 | + | ||
32 | + | ||
33 | + | ||
33 | 34 |
| |
34 | 35 |
| |
35 | 36 |
| |
|
Lines changed: 15 additions & 111 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
35 | - | ||
36 | 35 |
| |
37 | 36 |
| |
38 | 37 |
| |
| |||
111 | 110 |
| |
112 | 111 |
| |
113 | 112 |
| |
114 | - | ||
115 | - | ||
116 | - | ||
117 | - | ||
118 | - | ||
119 | - | ||
120 | - | ||
121 | - | ||
122 | - | ||
123 | - | ||
124 | - | ||
125 | - | ||
126 | - | ||
127 | - | ||
128 | - | ||
129 | - | ||
130 | - | ||
131 | - | ||
132 | - | ||
133 | - | ||
134 | - | ||
135 | - | ||
113 | + | ||
114 | + | ||
115 | + | ||
136 | 116 |
| |
137 | 117 |
| |
138 | 118 |
| |
| |||
184 | 164 |
| |
185 | 165 |
| |
186 | 166 |
| |
187 | - | ||
188 | - | ||
167 | + | ||
189 | 168 |
| |
190 | - | ||
169 | + | ||
170 | + | ||
191 | 171 |
| |
192 | 172 |
| |
193 | - | ||
194 | - | ||
195 | - | ||
196 | - | ||
197 | - | ||
198 | - | ||
199 | - | ||
200 | - | ||
201 | - | ||
202 | - | ||
203 | - | ||
204 | - | ||
205 | - | ||
206 | - | ||
207 | - | ||
208 | - | ||
209 | - | ||
210 | - | ||
211 | - | ||
212 | 173 |
| |
213 | 174 |
| |
214 | 175 |
| |
| |||
250 | 211 |
| |
251 | 212 |
| |
252 | 213 |
| |
253 | - | ||
254 | - | ||
255 | - | ||
256 | - | ||
257 | - | ||
258 | - | ||
259 | - | ||
260 | - | ||
261 | - | ||
262 | - | ||
263 | - | ||
264 | - | ||
265 | - | ||
266 | - | ||
267 | - | ||
268 | - | ||
269 | - | ||
270 | - | ||
271 | - | ||
272 | - | ||
273 | - | ||
274 | - | ||
214 | + | ||
215 | + | ||
216 | + | ||
275 | 217 |
| |
276 | 218 |
| |
277 | 219 |
| |
| |||
313 | 255 |
| |
314 | 256 |
| |
315 | 257 |
| |
316 | - | ||
317 | - | ||
318 | - | ||
319 | - | ||
320 | - | ||
321 | - | ||
322 | - | ||
323 | - | ||
324 | - | ||
325 | - | ||
326 | - | ||
327 | - | ||
328 | - | ||
329 | - | ||
330 | - | ||
331 | - | ||
332 | - | ||
333 | - | ||
334 | - | ||
335 | - | ||
336 | - | ||
337 | - | ||
258 | + | ||
259 | + | ||
260 | + | ||
338 | 261 |
| |
339 | 262 |
| |
340 | 263 |
| |
| |||
370 | 293 |
| |
371 | 294 |
| |
372 | 295 |
| |
373 | - | ||
374 | - | ||
375 | - | ||
376 | - | ||
377 | - | ||
378 | - | ||
379 | - | ||
380 | - | ||
381 | - | ||
382 | - | ||
383 | - | ||
384 | - | ||
385 | - | ||
386 | - | ||
387 | - | ||
388 | - | ||
389 | - | ||
390 | - | ||
391 | - | ||
392 | - | ||
393 | - | ||
394 | - | ||
296 | + | ||
297 | + | ||
298 | + | ||
395 | 299 |
| |
396 | 300 |
| |
397 | 301 |
| |
|
Lines changed: 2 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
23 | 23 |
| |
24 | 24 |
| |
25 | 25 |
| |
26 | - | ||
27 | - | ||
28 | 26 |
| |
29 | 27 |
| |
30 | 28 |
| |
| |||
59 | 57 |
| |
60 | 58 |
| |
61 | 59 |
| |
62 | - | ||
60 | + | ||
63 | 61 |
| |
64 | 62 |
| |
65 | 63 |
| |
| |||
85 | 83 |
| |
86 | 84 |
| |
87 | 85 |
| |
88 | - | ||
86 | + | ||
89 | 87 |
| |
90 | 88 |
| |
91 | 89 |
| |
|
Lines changed: 22 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
9 | + | ||
9 | 10 |
| |
10 | 11 |
| |
12 | + | ||
13 | + | ||
11 | 14 |
| |
12 | 15 |
| |
13 | 16 |
| |
| |||
16 | 19 |
| |
17 | 20 |
| |
18 | 21 |
| |
22 | + | ||
23 | + | ||
19 | 24 |
| |
20 | 25 |
| |
21 | 26 |
| |
| |||
26 | 31 |
| |
27 | 32 |
| |
28 | 33 |
| |
29 | - | ||
34 | + | ||
35 | + | ||
36 | + | ||
37 | + | ||
38 | + | ||
39 | + | ||
40 | + | ||
41 | + | ||
42 | + | ||
43 | + | ||
44 | + | ||
45 | + | ||
46 | + | ||
47 | + | ||
48 | + | ||
49 | + | ||
50 | + | ||
30 | 51 |
| |
31 | 52 |
| |
32 | 53 |
| |
| |||
134 | 155 |
| |
135 | 156 |
| |
136 | 157 |
| |
137 | - | ||
138 | 158 |
|
Lines changed: 7 additions & 11 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
6 | + | ||
6 | 7 |
| |
8 | + | ||
7 | 9 |
| |
8 | 10 |
| |
9 | 11 |
| |
10 | 12 |
| |
11 | 13 |
| |
12 | 14 |
| |
13 | - | ||
15 | + | ||
14 | 16 |
| |
15 | - | ||
16 | - | ||
17 | + | ||
18 | + | ||
17 | 19 |
| |
18 | - | ||
19 | - | ||
20 | - | ||
21 | - | ||
20 | + | ||
22 | 21 |
| |
23 | 22 |
| |
24 | 23 |
| |
25 | 24 |
| |
26 | 25 |
| |
27 | 26 |
| |
27 | + | ||
28 | 28 |
| |
29 | 29 |
| |
30 | 30 |
| |
31 | 31 |
| |
32 | 32 |
| |
33 | - | ||
34 | 33 |
| |
35 | - | ||
36 | - | ||
37 | 34 |
| |
38 | 35 |
| |
39 | - | ||
40 | 36 |
|
0 commit comments