doc[protocol]: update readme

This commit is contained in:
godotg
2023-09-09 10:45:45 +08:00
parent b1f637ffad
commit 3f892de146
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -34,9 +34,9 @@ var packet = ProtocolManager.read(buffer);
### Ⅲ. Performance testing
- Single-threaded environment, 50% faster than Protobuf and 100% faster than Kryo without any JVM parameter
tuning,[参见性能测试](src/test/java/com/zfoo/protocol/SpeedTest.java)
tuning,[参见性能测试](src/test/java/com/zfoo/protocol/BenchmarkTesting.java)
- Thread safety, the performance of zfoo and Protobuf is not affected in any way, kryo will lose some performance
because of thread insecurity,[参见性能测试](src/test/java/com/zfoo/protocol/SpeedTest.java)
because of thread insecurity,[参见性能测试](src/test/java/com/zfoo/protocol/BenchmarkTesting.java)
- Test the environment
+2 -2
View File
@@ -28,9 +28,9 @@ var packet = ProtocolManager.read(buffer);
### Ⅲ. 性能测试
- 单线程环境,在没有任何JVM参数调优的情况下速度比Protobuf快50%,比Kryo快100%[参见性能测试](src/test/java/com/zfoo/protocol/SpeedTest.java)
- 单线程环境,在没有任何JVM参数调优的情况下速度比Protobuf快50%,比Kryo快100%[参见性能测试](src/test/java/com/zfoo/protocol/BenchmarkTesting.java)
- 线程安全,zfoo和Protobuf的性能不受任何影响,kryo因为线程不安全性能会有所损失,[参见性能测试](src/test/java/com/zfoo/protocol/SpeedTest.java)
- 线程安全,zfoo和Protobuf的性能不受任何影响,kryo因为线程不安全性能会有所损失,[参见性能测试](src/test/java/com/zfoo/protocol/BenchmarkTesting.java)
- 测试环境