Skip to content

Commit 2358bf4

Browse files
committed
improve README
1 parent 94fdfe6 commit 2358bf4

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,21 @@ to use basic JMH settings over runs.
3232

3333
### POJO: MediaItem
3434

35+
`MediaItem` POJO comes from: https://github.com/eishay/jvm-serializers tests suite.
36+
Test input generated is about 300 bytes as JSON, and between 200 and 500 bytes across other formats (converted from JSON which is considered canonical).
37+
38+
Settings to run tests include:
39+
3540
* Standard: java -Xmx256m -jar target/microbenchmarks.jar ".*StdReadVan.*PojoMedia.*" -wi 4 -w 1 -i 5 -r 1 -f 9 -t 1
3641
* Afterburner: java -Xmx256m -jar target/microbenchmarks.jar ".*StdReadAfter.*PojoMedia.*" -wi 4 -w 1 -i 5 -r 1 -f 9 -t
3742
1
3843

3944
### POJO: Currency (floating-point)
4045

46+
`Currency` POJO, and data file `./json/USD.json` (about 2kB) come from [Awesome JSON Datasets](https://github.com/jdorfman/awesome-json-datasets#currency).
47+
48+
Settings to run tests include:
49+
4150
* Default/JSON: java -Xmx256m -jar target/microbenchmarks.jar ".*Json.*readCurrencyPojoDefault.*" -wi 4 -w 1 -i 5 -r 1 -f 1 -t 1
4251
* FastFP/JSON: java -Xmx256m -jar target/microbenchmarks.jar ".*Json.*readCurrencyPojoFast.*" -wi 4 -w 1 -i 5 -r 1 -f 1 -t 1
4352
* All: java -Xmx256m -jar target/microbenchmarks.jar ".*readCurrencyPojo.*" -wi 4 -w 1 -i 5 -r 1 -f 1 -t 1

0 commit comments

Comments
 (0)