wuwen5 opened a new pull request, #84:
URL: https://github.com/apache/dubbo-hessian-lite/pull/84

   Resolve #83 
   
   Add bitwise encoding support for Java 8 date/time types.
   
   Benchmark test results:
   
   ```
   Benchmark                                                  (useBitEncoding)  
 Mode  Cnt     Score    Error   Units
   JavaUtilDateBenchmark.serializeDeserializeJavaUtilDate                 N/A  
thrpt    5  1172.447 ± 24.973  ops/ms
   LocalDateBenchmark.serializeDeserializeLocalDate                      true  
thrpt    5   909.220 ± 73.025  ops/ms  (use BitEncoding)
   LocalDateBenchmark.serializeDeserializeLocalDate                     false  
thrpt    5   663.492 ± 17.049  ops/ms  (directly codes)
   LocalDateBenchmark.serializeDeserializeLocalDate                            
thrpt   25   291.155 ± 10.315  ops/ms  (old reflection codes)
   
   LocalDateTimeBenchmark.serializeDeserializeLocalDateTime              true  
thrpt    5   580.540 ±  8.875  ops/ms  (use BitEncoding)
   LocalDateTimeBenchmark.serializeDeserializeLocalDateTime             false  
thrpt    5   319.611 ± 13.268  ops/ms  (directly codes)
   LocalDateTimeBenchmark.serializeDeserializeLocalDateTime                    
thrpt    5   140.318 ± 1.013   ops/ms  (old reflection codes)
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to