Closed jcamiel closed 3 months ago
/accept
✅ Pull request merged and closed by fabricereix
with fast forward merge..
# List of commits merged from Orange-OpenSource/hurl/add-xpath-body-cache
branch into Orange-OpenSource/hurl/master
branch:
Add a cache on XML parsed body response.
Methods that takes a
& http::Response
has been modified to take also a&mut BodyCache
.With Hurl 4.3.0, on
tests_ok/parse_cache.hurl
(multiple XPath query on a 260K HTML doc):With Hurl 5.0.0, on
tests_ok/parse_cache.hurl
:A nice x17 improvement on this extreme use case 🥳
To note: there is still a delay between two requests on 5.0.0 which corresponds to the only one XML cached response parsing.