mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-10-20 02:18:34 +00:00
doc[protocol]: update readme
This commit is contained in:
1 parent
b1f637ffad
commit
3f892de146
2 files changed
+4
-4
No files matched your search
+2
-2
@@ -34,9 +34,9 @@ var packet = ProtocolManager.read(buffer);
|
|||||||
### Ⅲ. Performance testing
|
### Ⅲ. Performance testing
|
||||||
|
|
||||||
- Single-threaded environment, 50% faster than Protobuf and 100% faster than Kryo without any JVM parameter
|
- 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
|
- 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
|
- Test the environment
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|
||||||
|
|
||||||
- 测试环境
|
- 测试环境
|
||||||
|
|||||||
Reference in new issue
Block a user