...
Test Results
Parser | Read 40 characters | Write 40 characters | Read 100 characters | Write100 characters | Read | 1000 charactersWrite1000 characters | Issues |
---|---|---|---|---|---|---|---|
Jackson Read | 7.488 microseconds0.296 microseconds | 10.984 microseconds | 0.567microseconds | 50.49 | microseconds5.12microseconds | ||
GSON Read | 0.509 microseconds0.531 microseconds | 0.818 microseconds | 1.332microseconds | 8.212 | microseconds14.884microseconds | GSON parses all numerical values to Doubles and as such it unable to dynamically allocate the object type that it is parsing | |
Jackson Write | 0.296 microseconds | 0.567 microseconds | 5.12 microseconds | ||||
GSON Write | 0.531 microseconds | 1.332 microseconds | 14.884 microseconds |
Parser | Pros | Cons | |
---|---|---|---|
Jackson | Consistent conversion of numerics | Slower Read | |
GSON | Faster Reads | Converts numerics to Doubles | |
...