ayush00git commented on PR #3579: URL: https://github.com/apache/fory/pull/3579#issuecomment-4268686275
@chaokunyang The benches are now fine, just `MediaContentList` on serialization calls is showing a regression of around 6%, rest every parameter is either in noise or improved. updated feat/rust-sizeguards bench - ### Timing Results (nanoseconds) | Datatype | Operation | fory (ns) | protobuf (ns) | Fastest | | ---------------- | ----------- | --------- | ------------- | ------- | | Struct | Serialize | 74.2 | 138.3 | fory | | Struct | Deserialize | 38.4 | 69.8 | fory | | Sample | Serialize | 102.5 | 578.6 | fory | | Sample | Deserialize | 164.8 | 881.1 | fory | | MediaContent | Serialize | 229.7 | 330.2 | fory | | MediaContent | Deserialize | 287.9 | 523.5 | fory | | StructList | Serialize | 172.4 | 652.9 | fory | | StructList | Deserialize | 144.6 | 413.2 | fory | | SampleList | Serialize | 399.5 | 3725.5 | fory | | SampleList | Deserialize | 1269.1 | 5017.5 | fory | | MediaContentList | Serialize | 808.5 | 2440.5 | fory | | MediaContentList | Deserialize | 1646.0 | 3546.2 | fory | ### Throughput Results (ops/sec) | Datatype | Operation | fory TPS | protobuf TPS | Fastest | | ---------------- | ----------- | ---------- | ------------ | ------- | | Struct | Serialize | 13,468,195 | 7,231,181 | fory | | Struct | Deserialize | 26,035,565 | 14,319,262 | fory | | Sample | Serialize | 9,754,194 | 1,728,250 | fory | | Sample | Deserialize | 6,069,066 | 1,134,996 | fory | | MediaContent | Serialize | 4,352,936 | 3,028,376 | fory | | MediaContent | Deserialize | 3,473,790 | 1,910,220 | fory | | StructList | Serialize | 5,801,474 | 1,531,581 | fory | | StructList | Deserialize | 6,917,064 | 2,419,960 | fory | | SampleList | Serialize | 2,503,317 | 268,420 | fory | | SampleList | Deserialize | 787,960 | 199,302 | fory | | MediaContentList | Serialize | 1,236,889 | 409,752 | fory | | MediaContentList | Deserialize | 607,533 | 281,992 | fory | -- 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]
