Closed wenshao closed 5 months ago
It has been updated to version 2.0.51, and non-default test methods have been added
Please run the benchmark showing both fastjson2 and fastjson2_features results for ser and deser.
./run deser --apis databind --libs fastjson --size 1000
Benchmark Mode Cnt Score Error Units
Deserialization.fastjson thrpt 20 1089.563 ? 6.804 ops/s
Deserialization.fastjson_features thrpt 20 1129.553 ? 8.832 ops/s
./run ser --apis databind --libs fastjson --size 1000
Benchmark Mode Cnt Score Error Units
Serialization.fastjson thrpt 20 1511.359 ? 10.985 ops/s
Serialization.fastjson_features thrpt 20 1549.062 ? 27.393 ops/s
fastjson 2.0.50 once again improves performance. fastjson 2.0.50 provides configuration parameters that do not generate unnecessary code during JIT to improve performance. Configuration parameters can be set through the API or configured through JVM startup parameters.
This PR upgrades the fastjson version and enables JVM startup parameters to improve performance.