Felix-Gong opened a new pull request, #3360: URL: https://github.com/apache/brpc/pull/3360
## Summary - Optimize `UnalignedCopy64()` with direct `ld`/`sd` inline assembly for 8-byte copy - Optimize `IncrementalCopy()` with 8-byte bulk copies when source/dest don't overlap ## Performance Improvement (direct function benchmark) | Scenario | Baseline | Optimized | Improvement | |----------|----------|-----------|-------------| | Decompress compressible-256K | 728 MB/s | 2205 MB/s | **+203%** | | Decompress zeros-256K | 543 MB/s | 1462 MB/s | **+169%** | ## Changes - `src/butil/third_party/snappy/snappy-stubs-internal.h`: +11 lines - `src/butil/third_party/snappy/snappy.cc`: +24 lines ## Test Plan - [x] brpc_snappy_compress_unittest passed (7/7) - [x] Build verified on RISC-V (SOPHGO SG2044) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
