aboutsummaryrefslogtreecommitdiffstats
path: root/tests/perf
Commit message (Collapse)AuthorAgeFilesLines
* Change streams to be asynchronousPierre Ossman2020-05-212-3/+10
| | | | | | | | | | Major restructuring of how streams work. Neither input nor output streams are now blocking. This avoids stalling the rest of the client or server when a peer is slow or unresponsive. Note that this puts an extra burden on users of streams to make sure they are allowed to do their work once the underlying transports are ready (e.g. monitoring fds).
* Simplify stream availability handlingPierre Ossman2020-05-212-10/+4
| | | | | Just have a simply number of bytes argument to avoid a lot of complexity.
* Add stream avail() methodsPierre Ossman2020-05-212-4/+4
| | | | | Makes it more readable to write code that needs to know how much data/space is available in a stream.
* Fix framebuffer setup in encperfPierre Ossman2020-02-271-2/+3
| | | | We adapted to the wrong new callback in a previous commit.
* Provide dummy output for dummy client connectionsPierre Ossman2020-02-272-2/+54
| | | | | The CConnection base class wants to be able to write things these days, so we need to provide it a place to do so.
* Use size_t for lengths in stream objectsPierre Ossman2019-11-151-5/+5
| | | | | | | | Provides safety against them accidentally becoming negative because of bugs in the calculations. Also does the same to CharArray and friends as they were strongly connection to the stream objects.
* Split test programs to benchmarking and unit testsPierre Ossman2019-09-2513-0/+1775
They have very different purpose, so make things easier to work with by having multiple directories.