aboutsummaryrefslogtreecommitdiff
path: root/zencore
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | | Fixed up some more windows include issuesStefan Boberg2021-10-152-0/+6
| | | | | | | |
* | | | | | | | zencore: Enabled MSC warning 4668 to get warnings when preprocessor macros ↵Stefan Boberg2021-10-1511-18/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | are used without an explicit definition Also fixed up various code to compile with this, by using ZEN_THIRD_PARTY_INCLUDES_START/ZEN_THIRD_PARTY_INCLUDES_END macros Removed prewindows.h/postwindows.h since they are no longer to be used due to the above
* | | | | | | | zencore: added ZEN_THIRD_PARTY_INCLUDES_START/ZEN_THIRD_PARTY_INCLUDES_ENDStefan Boberg2021-10-151-0/+17
| |_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | These should be used around third party header includes to ensure they don't fire warnings we want to have enabled for our code
* | | | | | | clang-formatStefan Boberg2021-10-151-1/+1
| | | | | | |
* | | | | | | asio HTTP implementation (#23)Stefan Boberg2021-10-146-28/+143
| |_|_|_|_|/ |/| | | | | | | | | | | asio-based HTTP implementation
* | | | | | Added support for decompressing from offset.Per Larsson2021-10-132-49/+185
| |_|_|_|/ |/| | | |
* | | | | Added lofreq timer update to httpsys main loopStefan Boberg2021-10-111-2/+6
| |_|_|/ |/| | |
* | | | iobuffer: Changed MakeFromTemporaryFile so it accepts a path instead of a ↵Stefan Boberg2021-10-082-4/+4
| | | | | | | | | | | | | | | | character pointer
* | | | Added ScopedTemporaryDirectory which specifies a particular directory path ↵Stefan Boberg2021-10-082-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | to use This is primarily for temporary debugging purposes, since it can be more convenient to use the same directory over and over
* | | | Added another test exe name to GetExePath testStefan Boberg2021-10-081-2/+2
| | | |
* | | | NiceByteRateToBuffer could cause a divide-by-zero in some cases - fixedStefan Boberg2021-10-071-1/+11
| |_|/ |/| |
* | | Support for asynchronous HTTP response processing (#19)Stefan Boberg2021-10-062-9/+124
| | | | | | | | | | | | | | | | | | | | | | | | This change introduces WriteResponseAsync which can be used to move potentially slow request handler code (like upstream lookups) off the I/O service thread to ensure we are always able to serve as many HTTP requests as possible. The current implementation defaults to 16 async worker threads and there is currently no back-pressure. - Added RequestStats - Metrics for network requests. Aggregates tracking of duration, payload sizes into a single class for ease of use - Added some metrics on upstream communication Co-authored-by: Per Larsson <[email protected]>
* | | clang-formatStefan Boberg2021-10-053-3/+6
| | |
* | | Merged from upstreamStefan Boberg2021-10-056-4/+169
| | |
* | | stats: Mean returns zero when the count is zeroStefan Boberg2021-10-051-1/+8
| | |
* | | Merge branch 'main' of https://github.com/EpicGames/zenStefan Boberg2021-10-032-1/+12
|\ \ \
| * | | stats: added OperationTiming::Scope::CancelStefan Boberg2021-10-032-1/+12
| | | |
* | | | Merge branch 'main' of https://github.com/EpicGames/zenStefan Boberg2021-10-014-3/+26
|\| | |
| * | | Merge branch 'main' of https://github.com/EpicGames/zenStefan Boberg2021-10-011-0/+3
| |\ \ \
| | * | | Added simple stats HTML dashboard with route /dashboard.Per Larsson2021-10-011-0/+3
| | | |/ | | |/|
| * / | filesystem: Added FileContents::Flatten() and ensured it's possible to ↵Stefan Boberg2021-10-012-1/+21
| |/ / | | | | | | | | | #include filesystem.h standalone
| * | Clang format fix.Per Larsson2021-10-012-2/+2
| | |
* | | Added explicit mimalloc IoBuffer allocation pathStefan Boberg2021-10-012-39/+45
|/ /
* | metrics: added OperationTiming which is a useful combination of a Meter and ↵Stefan Boberg2021-09-303-1/+120
| | | | | | | | a Histogram, intended to track frequency and duration of certain operations
* | Merge branch 'main' of https://github.com/EpicGames/zenStefan Boberg2021-09-301-2/+27
|\ \
| * \ Merged main.Per Larsson2021-09-302-14/+52
| |\ \
| * | | Fixed compact binary to JSON float/double format specifier.Per Larsson2021-09-301-2/+27
| | | |
* | | | timer: Added GetHifreqTimerToSeconds which returns a scaling factor to ↵Stefan Boberg2021-09-301-0/+1
| |/ / |/| | | | | | | | convert ticks into seconds
* | | compactbinary: Quick fix for presentation of doubles in JSON conversionStefan Boberg2021-09-301-2/+2
| | | | | | | | | | | | Should probably be updated to convert numbers in a nice and round-trippable way
* | | stats: Added EmitSnapshot functions to emit metrics into CbObjectsStefan Boberg2021-09-302-14/+52
|/ /
* | memory: Added experimental mimalloc path to AlignedAllocImpl/AlignedFreeImplStefan Boberg2021-09-302-13/+39
| | | | | | | | | | | | Also added similar path to IoBuffer Cannot be enabled at the moment as we end up passing pointers to std::free via some path so more work will be necessary
* | timer: Added Stopwatch::GetElapsedTIcks() and functions to convert ticks so ↵Stefan Boberg2021-09-301-2/+6
| | | | | | | | Ms/Us
* | iobuffer: Removed AssumeOwnership constructor since we would like stronger ↵Stefan Boberg2021-09-301-9/+0
| | | | | | | | guarantees around memory management for IoBuffer buffers
* | timer: cleaned up Stopwatch, removed GetCpuTimerValueStefan Boberg2021-09-292-25/+4
| |
* | thread: Marked some members noexcept and [[nodiscard]]Stefan Boberg2021-09-291-10/+10
| |
* | Merge branch 'main' of https://github.com/EpicGames/zenStefan Boberg2021-09-292-6/+7
|\|
| * Prevent mesh tests to crash by moving behind define.Per Larsson2021-09-291-1/+2
| |
| * Merge branch 'main' of https://github.com/EpicGames/zenStefan Boberg2021-09-291-36/+0
| |\
| * | string: Fixed some clang warningsStefan Boberg2021-09-291-5/+5
| | |
* | | stats: added Histogram, UniformSample and SampleSnapshotStefan Boberg2021-09-292-6/+339
| | |
* | | filesystem: Fixed issue with FindClose potentially closing an invalid handleStefan Boberg2021-09-291-2/+2
| |/ |/|
* | Removing deprecated RefPtr+stack based objects testsStefan Boberg2021-09-291-36/+0
|/
* Removed IsPointerToStack()Stefan Boberg2021-09-283-32/+5
|
* Merge branch 'main' of https://github.com/EpicGames/zenStefan Boberg2021-09-282-4/+32
|\
| * Removed null terminator when appending Oid to string builder. (#11)Per Larsson2021-09-281-4/+3
| |
| * Merge branch 'main' of https://github.com/EpicGames/zenPer Larsson2021-09-2817-120/+489
| |\
| * | Removed using the bucket name to detect binary cache records and store ↵Per Larsson2021-09-281-0/+29
| | | | | | | | | | | | content type in cache.
* | | Removed MemoryOutStream, MemoryInStreamStefan Boberg2021-09-286-251/+52
| | | | | | | | | | | | | | | | | | | | | | | | BinaryWriter/BinaryReader now implements memory buffer functionality which previously needed two chained instances of a Buffer/Reader. This was originally expected to be an abstraction for file and other stream access but this is not going to be useful so may as well collapse the functionality. This also eliminates the need for stack-aware ref-counting which is the real reason for wanting to get rid of this code. This was a very old experimental feature which turned out to be a bad idea. This also removes the /cas/batch endpoint
* | | Removing a bunch of no-longer-useful code from stream.h/cpp in preparation ↵Stefan Boberg2021-09-287-613/+41
| |/ |/| | | | | for a greater purge
* | zencore: Added ability to forcefully set the IsInteractiveSession stateStefan Boberg2021-09-272-9/+25
| |