commit | 3528fad58b591692f734c49481d9ed16db50518c | [log] [tgz] |
---|---|---|
author | Ömer Sinan Ağacan <omersa@google.com> | Tue Oct 24 15:29:43 2023 +0200 |
committer | GitHub <noreply@github.com> | Tue Oct 24 15:29:43 2023 +0200 |
tree | 85fd3c11c25db7977c4743e3d8eb29bd4580b684 | |
parent | 050c1620a9149fcc1bf84e36d02bb111455e453d [diff] |
Use `setRange` when copying output chunks to the final buffer in `CodedBufferWriter` (#887) Similar to #885, this optimizes some more buffer copying to `memcpy`. Results from the same benchmark in #885: | | Before | After | Diff | |------------------------------|------------|------------|---------------------| | AOT | 114,713 us | 109,838 us | - 4,875 us, -4.2% | | JIT | 91,960 us | 92,887 us | + 927 us, +1.0% | | dart2js -O4 | 259,125 us | 257,000 us | - 2,125 us, -0.8% | | dart2wasm --omit-type-checks | 196,909 us | 182,333 us | -14,576 us, -7.4% | AOT and JIT tested on x64.
Protocol Buffers (protobuf) are Google's language-neutral, platform-neutral, extensible mechanism for serializing structured data.
This repository is home to packages related to protobuf for Dart.
Package | Description | Published Version |
---|---|---|
protobuf | A support library for the generated code | |
protoc_plugin | A Dart back-end for the protoc compiler | |
api_benchmark | Benchmarking for various API calls | |
query_benchmark | Benchmark for encoding and decoding of a “real-world” protobuf |
For information about our publishing automation and release process, see https://github.com/dart-lang/ecosystem/wiki/Publishing-automation.