Commit Graph

4 Commits (fcc978bb751a1bf8c384c71750f5be6fc4923577)

Author SHA1 Message Date
Edd Robinson 42c0ccf274 refactor: rename method to 2021-01-18 12:05:11 +00:00
Edd Robinson c6ff633afd test: expose internals for benchmarking
This commit is a bit of a hack. The first thing I could think of. The
problem is that I want to be able to benchmark various modules in the
read buffer but I don't want to expose those internals via the external
API.

Becuase criterion only lets you exercise the exported API I needed to
expose some internals. I did this by creating a documented module
`benchmarks` in the `read_buffer` crate, which re-exports identifiers
that can be used by a criterion crate.

The idea is that it will be clear that this module is not part of the
public API.
2021-01-14 22:46:27 +00:00
Edd Robinson d536f82879 fix: get benchmarks compiling 2021-01-14 14:06:17 +00:00
Edd Robinson fa8afe845d refactor: fix benchmarks 2020-12-22 21:26:05 +00:00