Skip to content

Commit 888785b

Browse files
committed
2 parents 4f08ae0 + 138fac7 commit 888785b

File tree

6 files changed

+33
-32
lines changed

6 files changed

+33
-32
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@
152152
<dependency>
153153
<groupId>com.dslplatform</groupId>
154154
<artifactId>dsl-json</artifactId>
155-
<version>1.0.0</version>
155+
<version>1.1.1</version>
156156
</dependency>
157157

158158
<dependency>

profile-dzone-write.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
#!/bin/sh
22

3-
java -Xmx256m -server -Xrunhprof:cpu=samples,depth=10,verbose=n,interval=2 -jar target/microbenchmarks.jar ".*DZoneWrite.*write1k.*AsString.*" -wi 7 -i 30 -f 1
3+
java -Xmx256m -server -Xrunhprof:cpu=samples,depth=10,verbose=n,interval=2 -jar target/microbenchmarks.jar ".*DZoneWriteJackson2x.write1kUsingStream.*" -wi 5 -w 2 -i 10 -r 5 -f 1 -t 1
4+

results/results-2016-07-tatu.txt

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -102,31 +102,31 @@ DZoneWriteJohnzon.write10UsingStream thrpt 100 61101.627 ± 166.023 ops
102102
DZoneWriteJsonIO.write10UsingStream thrpt 100 53344.182 ± 1008.299 ops/s
103103
DZoneWriteMoshi.write10UsingStream thrpt 100 169976.583 ± 791.651 ops/s
104104

105-
java -Xmx256m -jar target/microbenchmarks.jar ".*DZoneWrite.*write1kUsingStream.*" -wi 4 -i 5 -f 9
106-
107-
Benchmark Mode Cnt Score Error Units
108-
DZoneWriteBoon.write1kUsingStream thrpt 45 2384.741 ± 17.837 ops/s
109-
DZoneWriteDslJson.write1kUsingStream thrpt 45 13578.064 ± 31.253 ops/s
110-
DZoneWriteFastjson.write1kUsingStream thrpt 45 3887.526 ± 21.009 ops/s
111-
DZoneWriteGSON.write1kUsingStream thrpt 45 630.678 ± 9.228 ops/s
112-
DZoneWriteJackson.write1kUsingStream thrpt 45 4401.440 ± 81.459 ops/s
113-
DZoneWriteJacksonAB.write1kUsingStream thrpt 45 5891.807 ± 40.457 ops/s
114-
DZoneWriteJacksonJr.write1kUsingStream thrpt 45 4057.420 ± 95.641 ops/s
115-
DZoneWriteJohnzon.write1kUsingStream thrpt 45 1496.797 ± 20.854 ops/s
116-
DZoneWriteJsonIO.write1kUsingStream thrpt 45 956.648 ± 15.043 ops/s
117-
DZoneWriteMoshi.write1kUsingStream thrpt 45 1763.801 ± 9.083 ops/s
105+
java -Xmx256m -jar target/microbenchmarks.jar ".*DZoneWrite.*write1kUsingStream.*" -wi 4 -i 5 -f 20
106+
107+
Benchmark Mode Cnt Score Error Units
108+
DZoneWriteBoon.write1kUsingStream thrpt 100 2394.046 ± 8.685 ops/s
109+
DZoneWriteDslJson.write1kUsingStream thrpt 100 13540.133 ± 42.036 ops/s
110+
DZoneWriteFastjson.write1kUsingStream thrpt 100 3918.928 ± 12.406 ops/s
111+
DZoneWriteGSON.write1kUsingStream thrpt 100 630.126 ± 6.694 ops/s
112+
DZoneWriteJackson.write1kUsingStream thrpt 100 4439.848 ± 51.128 ops/s
113+
DZoneWriteJacksonAB.write1kUsingStream thrpt 100 5885.182 ± 19.672 ops/s
114+
DZoneWriteJacksonJr.write1kUsingStream thrpt 100 4108.849 ± 21.245 ops/s
115+
DZoneWriteJohnzon.write1kUsingStream thrpt 100 1501.663 ± 15.931 ops/s
116+
DZoneWriteJsonIO.write1kUsingStream thrpt 100 966.580 ± 6.707 ops/s
117+
DZoneWriteMoshi.write1kUsingStream thrpt 100 1747.133 ± 8.912 ops/s
118118

119119
java -Xmx256m -jar target/microbenchmarks.jar ".*DZoneWrite.*write100kUsingStream.*" -wi 4 -i 5 -f 9
120120
Benchmark Mode Cnt Score Error Units
121-
122-
DZoneWriteBoon.write100kUsingStream thrpt 45 17.482 ± 0.128 ops/s
123-
DZoneWriteDslJson.write100kUsingStream thrpt 45 133.129 ± 1.054 ops/s
124-
DZoneWriteFastjson.write100kUsingStream thrpt 45 25.076 ± 0.217 ops/s
125-
DZoneWriteGSON.write100kUsingStream thrpt 45 6.338 ± 0.092 ops/s
126-
DZoneWriteJackson.write100kUsingStream thrpt 45 43.369 ± 1.445 ops/s
127-
DZoneWriteJacksonAB.write100kUsingStream thrpt 45 58.029 ± 0.460 ops/s
128-
DZoneWriteJacksonJr.write100kUsingStream thrpt 45 39.818 ± 0.212 ops/s
129-
DZoneWriteJohnzon.write100kUsingStream thrpt 45 15.212 ± 0.180 ops/s
130-
DZoneWriteJsonIO.write100kUsingStream thrpt 45 9.067 ± 0.093 ops/s
131-
DZoneWriteMoshi.write100kUsingStream thrpt 45 18.372 ± 0.148 ops/s
121+
Benchmark Mode Cnt Score Error Units
122+
DZoneWriteBoon.write100kUsingStream thrpt 100 17.481 ± 0.109 ops/s
123+
DZoneWriteDslJson.write100kUsingStream thrpt 100 132.026 ± 1.372 ops/s
124+
DZoneWriteFastjson.write100kUsingStream thrpt 100 24.861 ± 0.163 ops/s
125+
DZoneWriteGSON.write100kUsingStream thrpt 100 6.334 ± 0.056 ops/s
126+
DZoneWriteJackson.write100kUsingStream thrpt 100 43.613 ± 0.601 ops/s
127+
DZoneWriteJacksonAB.write100kUsingStream thrpt 100 58.147 ± 0.292 ops/s
128+
DZoneWriteJacksonJr.write100kUsingStream thrpt 100 40.243 ± 0.290 ops/s
129+
DZoneWriteJohnzon.write100kUsingStream thrpt 100 15.032 ± 0.134 ops/s
130+
DZoneWriteJsonIO.write100kUsingStream thrpt 100 8.924 ± 0.075 ops/s
131+
DZoneWriteMoshi.write100kUsingStream thrpt 100 18.131 ± 0.148 ops/s
132132

src/main/java/com/cowtowncoder/jsonperf/dzone/read/DZoneReadMapJackson.java renamed to src/main/java/com/cowtowncoder/jsonperf/dzone/read/DZoneReadMapJackson2x.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414

1515
@State(Scope.Thread)
1616
@OutputTimeUnit(TimeUnit.SECONDS)
17-
public class DZoneReadMapJackson extends DZoneMapReadTestBase
17+
public class DZoneReadMapJackson2x extends DZoneMapReadTestBase
1818
{
1919
private final ObjectReader objectReader;
2020

21-
public DZoneReadMapJackson()
21+
public DZoneReadMapJackson2x()
2222
{
2323
objectReader = new ObjectMapper().readerFor(Map.class);
2424
}

src/main/java/com/cowtowncoder/jsonperf/dzone/read/DZoneReadPojoJackson.java renamed to src/main/java/com/cowtowncoder/jsonperf/dzone/read/DZoneReadPojoJackson2x.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414

1515
@State(Scope.Thread)
1616
@OutputTimeUnit(TimeUnit.SECONDS)
17-
public class DZoneReadPojoJackson extends DZoneReadTestBase<MeasurementPOJO>
17+
public class DZoneReadPojoJackson2x extends DZoneReadTestBase<MeasurementPOJO>
1818
{
1919
private final ObjectReader objectReader;
2020

21-
public DZoneReadPojoJackson()
21+
public DZoneReadPojoJackson2x()
2222
{
2323
objectReader = new ObjectMapper().readerFor(MeasurementPOJO.class);
2424
}

src/main/java/com/cowtowncoder/jsonperf/dzone/write/DZoneWriteJackson.java renamed to src/main/java/com/cowtowncoder/jsonperf/dzone/write/DZoneWriteJackson2x.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515

1616
@State(Scope.Thread)
1717
@OutputTimeUnit(TimeUnit.SECONDS)
18-
public class DZoneWriteJackson extends DZoneWriteTestBase
18+
public class DZoneWriteJackson2x extends DZoneWriteTestBase
1919
{
2020
protected final ObjectWriter objectWriter;
2121

22-
public DZoneWriteJackson()
22+
public DZoneWriteJackson2x()
2323
{
2424
objectWriter = new ObjectMapper().writerFor(MeasurementPOJO.class);
2525
}

0 commit comments

Comments
 (0)