diff --git a/CHANGELOG.md b/CHANGELOG.md index 0bafe07a..3a5f2954 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ Version 73: * Jamroot tweak * Verify certificates in SSL clients +* Adjust benchmarks HTTP: diff --git a/test/benchmarks/parser.cpp b/test/benchmarks/parser.cpp index e607a90f..b7c67f42 100644 --- a/test/benchmarks/parser.cpp +++ b/test/benchmarks/parser.cpp @@ -126,6 +126,7 @@ public: for(auto const& b : v) { Parser p; + p.header_limit((std::numeric_limits::max)()); error_code ec; feed(b.data(), p, ec); if(! BEAST_EXPECTS(! ec, ec.message())) @@ -224,7 +225,7 @@ public: void testSpeed() { - static std::size_t constexpr Trials = 10; + static std::size_t constexpr Trials = 5; static std::size_t constexpr Repeat = 500; creq_ = build_corpus(N/2, std::true_type{}); @@ -259,7 +260,7 @@ public: false, dynamic_body, fields>>( Repeat, cres_); }); -#if 0 +#if 1 timedTest(Trials, "nodejs_parser", [&] {