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
*[DSL-JSON](https://github.com/ngs-doo/dsl-json) (compatible with [DSL-Platform](https://dsl-platform.com/))
15
16
*[Johnzon](http://johnzon.incubator.apache.org/)
16
17
* pre-1.0, incubation release
17
18
*[json-io](https://github.com/jdereg/json-io)
@@ -23,7 +24,7 @@ The criteria for inclusion here is that for a library to be included it should
23
24
1. be published to the central Maven repository (so we can include official builds)
24
25
2. be able to read and write POJOs, not just "Lists and Maps" or "custom tree nodes library defines" (although some tests may also exercise these styles as well)
25
26
26
-
and for this reason some commonly used libraries (like old "org.json" library) are not included.
27
+
and for this reason some commonly used libraries (like old "org.json" library and "simple-json") are not included.
27
28
28
29
## Usage
29
30
@@ -37,9 +38,11 @@ after this, tests are run the way `jmh` tests are, by just running "executable"
both of which would run the "DZone" write test with 10 items, using 9 iterations of 5 seconds, with warmup time of 4 seconds; first test for read (JSON into POJO) and second write (POJO to JSON) performance.
41
45
42
-
which would run the "DZone" write test with 10 items, using 9 iterations of 5 seconds, with warmup time of 4 seconds.
43
46
All options are explained by jmh documentation; an easy way to see options available is to enter:
44
47
45
48
java -jar target/microbenchmarks.jar -h
@@ -95,73 +98,4 @@ and the difference is from naming tests classes like `DZoneReadMapJackson` (repl
95
98
96
99
## Sample results
97
100
98
-
***NOTE!!!***
99
-
100
-
These results are bit out of date as of 31-May-2016: stay tuned for updates, with many new fast
101
-
implementations, such as `dsl-json`, `fastjson` and newer versions of `Moshi` and `Boon`.
102
-
103
-
I hope to update this page, most likely moving sample results to separate Wiki pages, given
104
-
number of permutations and so on.
105
-
106
-
### General
107
-
108
-
Since results may vary significantly between different platforms and JVM versions, it is best to
109
-
run benchmark on systems you are using.
110
-
But to give some idea of typical results, here are samples I get running tests on my work laptop:
111
-
112
-
### DZone tests
113
-
114
-
Results as reported on console, except sorted in descending order of performance (fastest first)
0 commit comments