You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Divij Vaidya (Jira)" <ji...@apache.org> on 2023/02/27 17:28:00 UTC

[jira] [Created] (KAFKA-14766) Improve performance of VarInt encoding/decoding

Divij Vaidya created KAFKA-14766:
------------------------------------

             Summary: Improve performance of VarInt encoding/decoding
                 Key: KAFKA-14766
                 URL: https://issues.apache.org/jira/browse/KAFKA-14766
             Project: Kafka
          Issue Type: Improvement
          Components: core
            Reporter: Divij Vaidya
            Assignee: Divij Vaidya
             Fix For: 3.5.0


Our current implementation in ByteUtils could be improved via loop unrolling and short circuiting scenarios such as 0. 

With the changes in attached PR, we see upto 83% improvement in throughput for  writingVarInt.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)