eclipse-ee4j / eclipse-ee4j/yasson

POC: Improve deserialization performance

Open
#335 19 comments 2 reactions 1 assignee Claimed by @Tomas-Kraus View on GitHub
enhancement
Dominant language
Java
Stars
218
Forks
109
Avg merge
1d 5h
Merged PRs (30d)
9

Description

I'm currently rewritting deserialization to improve it's performance.

Tests (ops/ms):
1. NewDeserializerTest: deserialization of flat map with 50 elements (mix of JSON string, number, true, false and null)
2. NewArrayDeserializerTest: deserialization of flat array with 100 elements
3. NewPoJoDeserializerTest: Deserialization of simple POJO with strings, numbers and boolean values
4. NewComplexPoJoStructureDeserializerTest: Deserialization of nested object structure
```
+------------------+-----+-----+-----+-----+
| Test | T1 | T2 | T3 | T4 |
+------------------+-----+-----+-----+-----+
| Old deserializer | 60 | 72 | 369 | 184 |
+------------------+-----+-----+-----+-----+
| 25th Nov 2019 | 114 | 125 | 466 | 293 |
+------------------+-----+-----+-----+-----+
| 28th Nov 2019 | 112 | 123 | 428 | 272 |
+------------------+-----+-----+-----+-----+
| 22th Jan 2020 | 106 | 136 | 395 | 254 |
+------------------+-----+-----+-----+-----+
| 5th Mar 2020 | 108 | 110 | 391 | 237 |
+------------------+-----+-----+-----+-----+
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.