aboutsummaryrefslogtreecommitdiff
path: root/src/zencore/compositebuffer.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add test suites (#799)Stefan Boberg2026-03-021-0/+5
| | | | | | | | | | | | | Makes all test cases part of a test suite. Test suites are named after the module and the name of the file containing the implementation of the test. * This allows for better and more predictable filtering of which test cases to run which should also be able to reduce the time CI spends in tests since it can filter on the tests for that particular module. Also improves `xmake test` behaviour: * instead of an explicit list of projects just enumerate the test projects which are available based on build system state * also introduces logic to avoid running `xmake config` unnecessarily which would invalidate the existing build and do lots of unnecessary work since dependencies were invalidated by the updated config * also invokes build only for the chosen test targets As a bonus, also adds `xmake sln --open` which allows opening IDE after generation of solution/xmake project is done.
* improvements and infrastructure for upcoming builds api command line (#284)Dan Engelbrecht2025-02-251-26/+8
| | | | | | | | | | | | | | * add modification tick to filesystem traversal * add ShowDetails option to ProgressBar * log callstack if we terminate process * handle chunking if MaxSize > 1MB * BasicFile write helpers and WriteToTempFile simplifications * bugfix for CompositeBuffer::IterateRange when using DecompressToComposite for actually comrpessed data revert of earlier optimization * faster compress/decompress for large disk-based files * enable progress feedback in IoHash::HashBuffer * add payload validation in HttpClient::Get * fix range requests (range is including end byte) * remove BuildPartId for blob/block related operations in builds api
* Faster reading of compressed buffer headers by not materializing entire ↵Dan Engelbrecht2024-03-281-22/+52
| | | | source buffer (#28)
* hashing fixes (#657)Dan Engelbrecht2024-02-261-3/+29
| | | | | * move structuredcachestore tests to zenstore-test * Don't materialize entire files when hashing if it is a large files * rewrite CompositeBuffer::Mid to never materialize buffers
* compress large attachments on demand (#647)Dan Engelbrecht2024-02-051-26/+9
| | | | | | | - Improvement: Speed up oplog export by fetching/compressing big attachments on demand - Improvement: Speed up oplog export by batch-fetcing small attachments - Improvement: Speed up oplog import by batching writes of oplog ops - Improvement: Tweak oplog export default block size and embed size limit - Improvement: Add more messaging and progress during oplog import/export
* added missing <utility> includeStefan Boberg2023-06-071-0/+1
|
* streaming decompression support (#142)Stefan Boberg2023-05-231-5/+8
| | | Added CompressedBufferReader support from UE. This provides some streaming decompression support which can be employed to reduce memory and other resource usage.
* moved source directories into `/src` (#264)Stefan Boberg2023-05-021-0/+446
* moved source directories into `/src` * updated bundle.lua for new `src` path * moved some docs, icon * removed old test trees