Beating JSON performance with Protobuf https://auth0.com/blog/beating-json-performance-with-protobuf/

Beating JSON performance with Protobuf https://auth0.com/blog/beating-json-performance-with-protobuf/

 

 

Protobuf Performance Comparison and Points to Consider When Deciding If It’s Right For You - DZone Performance https://dzone.com/articles/protobuf-performance-comparison-and-points-to-make

 JSON    Proto
Time    Broadband    555 MS    359 MS
Payload size    Broadband    1.2 MB    684KB
Time    3G (1Mb/S)    7.93 S    4.6 S
Payload size    3G (1Mb/S)    1.2 MB    684KB
Time (ms)    2G    22 S    13.73 S
Payload size    2G    1.2 MB    684KB


Network    JSON    Proto
Time    Broadband    288 MS    293 MS
Payload size    Broadband    512 KB    292 KB
Time    3G (1Mb/S)    2.91 S    1.86 S
Payload size    3G (1Mb/S)    512 KB    292 KB
Time    2G    9.80 S    6.06 S
Payload size    2G    512 KB    292 KB


Network    JSON    Proto
Time    Broadband    229 MS    233 MS
Payload size    Broadband    302 KB    269 B
Time    3G (1Mb/S)    318 MS    331 MS
Payload size    3G (1Mb/S)    302 KB    269 B
Time    2G    723 MS    808 MS
Payload size    2G    302 KB    269 B

 

posted @ 2020-06-10 19:08  papering  阅读(200)  评论(0编辑  收藏  举报