This is an automated email from the ASF dual-hosted git repository.

chaokunyang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/fury-site.git

commit 7938c1f4e3ddd23055ce7e91dda411fb42333ecc
Author: chaokunyang <[email protected]>
AuthorDate: Sat Aug 17 15:03:08 2024 +0000

    🔄 synced local 'static/img/benchmarks/' with remote 'docs/benchmarks/'
---
 static/img/benchmarks/README.md | 34 +---------------------------------
 1 file changed, 1 insertion(+), 33 deletions(-)

diff --git a/static/img/benchmarks/README.md b/static/img/benchmarks/README.md
index d380e51..1bc562a 100644
--- a/static/img/benchmarks/README.md
+++ b/static/img/benchmarks/README.md
@@ -1,7 +1,5 @@
 # Java Benchmarks
-
 ## System Environment
-
 - Operation System:4.9.151-015.x86_64
 - CPU:Intel(R) Xeon(R) Platinum 8163 CPU @ 2.50GHz
 - Byte Order:Little Endian
@@ -11,19 +9,14 @@
 - L3 cache: 33792K
 
 ## JMH params
-
 Don't skip **warm up**, otherwise the results aren't accurate.
-
 ```bash
  -f 1 -wi 3 -i 3 -t 1 -w 2s -r 2s -rf cs
 ```
 
 ## Benchmark Data:
-
 ### Struct
-
 Struct is a class with 100 primitive fields:
-
 ```java
 public class Struct {
   public int f1;
@@ -34,11 +27,8 @@ public class Struct {
   public double f99;
 }
 ```
-
 ### Struct2
-
 Struct2 is a class with 100 boxed fields:
-
 ```java
 public class Struct {
   public Integer f1;
@@ -49,23 +39,16 @@ public class Struct {
   public Double f99;
 }
 ```
-
 ### MediaContent
-
 MEDIA_CONTENT is a class from 
[jvm-serializers](https://github.com/eishay/jvm-serializers/blob/master/tpc/src/data/media/MediaContent.java).
-
 ### Sample
-
 SAMPLE is a class from [kryo 
benchmark](https://github.com/EsotericSoftware/kryo/blob/master/benchmarks/src/main/java/com/esotericsoftware/kryo/benchmarks/data/Sample.java)
 
 ## Benchmark Plots
-
 ### Serialize to heap buffer
-
 Serialize data java byte array.
 
 #### Java schema consistent serialization
-
 The deserialization peer must have same class definition with the 
serialization peer.
 No class forward/backward compatibility are supported in this mode.
 
@@ -77,7 +60,6 @@ No class forward/backward compatibility are supported in this 
mode.
 </p>
 
 #### Java schema compatible serialization
-
 The deserialization peer can have different class definition with the 
serialization peer.
 Class forward/backward compatibility are supported in this mode.
 
@@ -89,7 +71,6 @@ Class forward/backward compatibility are supported in this 
mode.
 </p>
 
 #### Java schema consistent deserialization
-
 The deserialization peer must have same class definition with the 
serialization peer.
 No class forward/backward compatibility are supported in this mode.
 
@@ -101,7 +82,6 @@ No class forward/backward compatibility are supported in 
this mode.
 </p>
 
 #### Java schema compatible deserialization
-
 The deserialization peer can have different class definition with the 
serialization peer.
 Class forward/backward compatibility are supported in this mode.
 <p align="center">
@@ -112,11 +92,9 @@ Class forward/backward compatibility are supported in this 
mode.
 </p>
 
 ### Off-heap serialization
-
 Serialize data off-heap memory.
 
 #### Java schema consistent serialization
-
 The deserialization peer must have same class definition with the 
serialization peer.
 No class forward/backward compatibility are supported in this mode.
 <p align="center">
@@ -127,7 +105,6 @@ No class forward/backward compatibility are supported in 
this mode.
 </p>
 
 #### Java schema compatible serialization
-
 The deserialization peer can have different class definition with the 
serialization peer.
 Class forward/backward compatibility are supported in this mode.
 <p align="center">
@@ -138,7 +115,6 @@ Class forward/backward compatibility are supported in this 
mode.
 </p>
 
 #### Java schema consistent deserialization
-
 The deserialization peer must have same class definition with the 
serialization peer.
 No class forward/backward compatibility are supported in this mode.
 <p align="center">
@@ -149,7 +125,6 @@ No class forward/backward compatibility are supported in 
this mode.
 </p>
 
 #### Java schema compatible deserialization
-
 The deserialization peer can have different class definition with the 
serialization peer.
 Class forward/backward compatibility are supported in this mode.
 <p align="center">
@@ -160,13 +135,10 @@ Class forward/backward compatibility are supported in 
this mode.
 </p>
 
 ### Zero-copy serialization
-
-Note that zero-copy serialization just avoid the copy in serialization, if you 
send data to other machine, there may be copies.
+Note that zero-copy serialization just avoid the copy in serialization, if you 
send data to other machine, there may be copies. 
 
 But if you serialize data between processes on same node and use 
shared-memory, if the data are in off-heap before serialization, then other 
processes can read this buffer without any copies.
-
 #### Java zero-copy serialize to heap buffer
-
 <p align="center">
 <img width="24%" alt="" 
src="zerocopy/zero_copy_bench_serialize_BUFFER_to_array_tps.png">
 <img width="24%" alt="" 
src="zerocopy/zero_copy_bench_serialize_BUFFER_to_directBuffer_tps.png">
@@ -175,7 +147,6 @@ But if you serialize data between processes on same node 
and use shared-memory,
 </p>
 
 #### Java zero-copy serialize to direct buffer
-
 <p align="center">
 <img width="24%" alt="" 
src="zerocopy/zero_copy_bench_deserialize_BUFFER_from_array_tps.png">
 <img width="24%" alt="" 
src="zerocopy/zero_copy_bench_deserialize_BUFFER_from_directBuffer_tps.png">
@@ -184,9 +155,7 @@ But if you serialize data between processes on same node 
and use shared-memory,
 </p>
 
 ## Benchmark Data
-
 ### Java Serialization
-
 | Lib | Benchmark | bufferType | objectType | references | Tps |
 | ------- | ------- | ------- | ------- | ------- | ------- |
 | Fst | serialize | array | SAMPLE | False | 915907.574306 |
@@ -495,7 +464,6 @@ But if you serialize data between processes on same node 
and use shared-memory,
 | Protostuff | deserialize | directBuffer | STRUCT2 | False | 425523.315814 |
 
 ### Java Zero-copy
-
 | Lib | Benchmark | array_size | bufferType | dataType | Tps |
 | ------- | ------- | ------- | ------- | ------- | ------- |
 | Fst | deserialize | 200 | array | PRIMITIVE_ARRAY | 219333.990504 |


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

Reply via email to