v1.0.0-rc.2
Performance improvement
This release improves performance. These improvements will save both CPU time and reduce latency, in some cases by a significant margin. Thanks to the Hoverfly community for their assistance in identifying and fixing these issues.
- Hoverfly used to parse templates on every response whereas it now caches the parsed templates. Expect to see a significant improvement if your load tests contain large templated responses.
- The response body is now only read to check the content length when absolutely necessary.
- We have also introduced a fixed size LRU cache for request/response caching. Hoverfly no longer encodes and decodes the cached value saving a lot of CPU time.
- The request/response cache is now fixed to 1000 entries by default which should remove the possibility of the cache exceeding the available memory. Its value can be configured with the following flag:
$ hoverfly -cache-size 100
Bug fix
Fixed an issue which prevented hoverctl controlling a remote hoverfly running in a Docker container: #801