Rate This Document
Findability
Accuracy
Completeness
Readability

Release Notes

Version Mapping

Product Version

Product Name

Kunpeng BoostKit

Product Version

26.1.RC1

Software Name

Protobuf (Kunpeng-optimized)

Software Version

V1.0.1

OS, Compiler, and CPU

OS CPU Compiler
openEuler 22.03 LTS SP3
openEuler 24.03 LTS SP3
Kunpeng 950 Clang 16.0.6
GCC 12.3.1

Version Updates

V1.0.1

New Features

Feature Change Description
Map and StringBlock parsing optimization Reduces the number of memory reallocations during parsing by predicting the number of consecutive elements (lookahead) and pre-allocating capacity. For Map fields, InsertNodeWithoutResizeCheck is used to skip redundant capacity expansion checks. For Repeated String fields, AppendString is introduced to replace ReadString, and the StringBlock TLS cache is enabled to lower memory allocation overhead.
C++23 resize_and_overwrite support Uses the C++23 standard resize_and_overwrite method in AppendPartialToString to avoid unnecessary zero-initialization, thereby improving serialization performance. This feature is automatically enabled when supported by the compiler.

V1.0.0

New Features

Feature Change Description
Added varint encoding and decoding optimization. Optimized the varint encoding and decoding paths in coded_stream.h and parse_context.h by loop unrolling and vectorization, to improve the performance of packed array encoding and decoding.

V1.0.1 Documentation

Document Name

Description

Delivery Method

Release Notes

Provides basic information and feature updates of each release of Kunpeng-optimized Protobuf.

Open-source repository

Installation Guide

Provides detailed guidance on environment configuration, compilation, and installation of Kunpeng-optimized Protobuf code.

Open-source repository

Quick Start

Provides quick start examples and compilation/running instructions for Kunpeng-optimized Protobuf.

Open-source repository

API Reference

Provides descriptions and definitions of APIs related to varint encoding and decoding optimization.

Open-source repository

Obtaining Documentation

Visit the open-source repository to view or download related documents.