aboutsummaryrefslogtreecommitdiff
path: root/src/zencore/compactbinary.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add test suites (#799)Stefan Boberg2026-03-021-6/+2
| | | | | | | | | | | | | 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.
* reduced memory churn using fixed_xxx containers (#236)Stefan Boberg2025-03-061-4/+6
| | | | | | * Added EASTL to help with eliminating memory allocations * Applied EASTL to eliminate memory allocations, primarily by using `fixed_vector` et al to use stack allocations / inline struct allocations Reduces memory events in traces by close to a factor of 10 in test scenario (starting editor for project F)
* optimize startup time (#175)Dan Engelbrecht2024-09-301-2/+2
| | | | | | * use tsl::robin_set for BlockIndexSet don't calculate full block location when only block index is needed * don't copy visitor function * reserve space for attachments
* improved lock file handling (#50)Dan Engelbrecht2024-04-181-2/+20
| | | | | | | | | | | | - Feature: `zen down` - --`data-dir` to specify a data directory to deduce which zen instance to bring down - Feature: `zen attach` - --`data-dir` to specify a data directory to deduce which zen instance to attach to222 - Feature: `zen status` - --`port` filter running zen instances based on port - --`data-dir` filter running zen instances based on information in the data directory - Improvement: Trying to load a compact binary object from an empty file no longer causes access violation
* add yaml serialization support (#3)Stefan Boberg2024-03-261-781/+0
| | | | | | | this change adds serialization of payloads as YAML, but not parsing. The implementation is somewhat based on the JSON path, and may be collapsed eventually as it is possible to serialize JSON format using the same code it also separates out the JSON serialization into a separate file for ease of maintenance any HTTP request response may be formatted as yaml by using a `.yaml` suffix or an `Accept: text/yaml` header
* implement cache recording segment split by age (#611)Stefan Boberg2023-12-141-0/+52
| | | - also fixes weird DateTime/TimeSpan comparison operator
* basic ZEN_ASSERT_FORMAT implementation (#556)Stefan Boberg2023-11-211-17/+18
| | | includes porting some compact binary builder code to use it since it had vestiges of the UE-side asserts
* gc history log (#519)Dan Engelbrecht2023-11-131-18/+142
| | | | | - Feature: Writes a `gc.log` with settings and detailed result after each GC execution (version 2 only) - Break out file name rotate to allow access for gclog - CompactBinaryToJson(MemoryView Data, StringBuilderBase& InBuilder)
* only measure a variable integer once where we can (#500)Dan Engelbrecht2023-10-251-2/+2
|
* * Added Guid::FromStringStefan Boberg2023-06-301-2/+46
| | | | | | | * Added LoadCompactBinaryObject from file to compactbinaryfile.cpp/h * Added SaveCompactBinary(BinaryWriter& Ar, ...) functions * Added ZEN_PLATFORM_NAME define * Added SystemMetrics functionality to query system properties (see zencore/system.h)
* moved source directories into `/src` (#264)Stefan Boberg2023-05-021-0/+2299
* moved source directories into `/src` * updated bundle.lua for new `src` path * moved some docs, icon * removed old test trees