• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

jiowchern / PinionCore.Remote / 19011068999

02 Nov 2025 10:37AM UTC coverage: 58.825% (+0.04%) from 58.786%
19011068999

push

github

jiowchern
feat: add compression benchmarks and improve serialization

Add `CompressionBenchmarkTests` to validate the efficiency of
integer and string compression. Introduce ZigZag encoding to
compress negative integers effectively, reducing their size from
11 to a maximum of 3 bytes. Leverage UTF-8 encoding for strings
instead of character arrays, significantly decreasing the byte
size for ASCII strings from roughly 30+ bytes to about 12 bytes.
Enhance `NumberDescriber` with ZigZag encoding for better
handling of signed integer types. Update `StringDescriber` to
use UTF-8 encoding, optimizing string serialization.

1016 of 1940 branches covered (52.37%)

Branch coverage included in aggregate %.

31 of 31 new or added lines in 2 files covered. (100.0%)

2 existing lines in 1 file now uncovered.

6996 of 11680 relevant lines covered (59.9%)

92344.91 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

85.33
PinionCore.Network/Tcp/PinionCore.Utility/PinionCore.Utility/Serialization/Varint.cs


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc