<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Thank you all for your suggestions. Polygraph is a good benchmark, but unfortunately it has a strict terms & conditions when it comes to publishing results and
 we plan to make the measurements part of a research paper.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Thanks again!<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Coenraad Loubser [mailto:coenraad@wish.org.za]
<br>
<b>Sent:</b> Thursday, June 7, 2018 11:26 AM<br>
<b>To:</b> Stoica Bogdan Alexandru <bogdan.stoica@epfl.ch><br>
<b>Cc:</b> squid-users@lists.squid-cache.org; Alex Rousskov <rousskov@measurement-factory.com><br>
<b>Subject:</b> Re: [squid-users] Squid test-suite / benchmarks<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">My first port of call would be apachebench with and without your proxies. A web search for "squid apachebench" might yield some leads to people who have done this. (I'm sure apachebench is well tested.)<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Eg. the third hit on Google: <a href="https://2bits.com/articles/using-apachebench-benchmarking-logged-users-automated-approach.html">
https://2bits.com/articles/using-apachebench-benchmarking-logged-users-automated-approach.html</a><o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On Thu, Jun 7, 2018 at 7:20 PM, Alex Rousskov <<a href="mailto:rousskov@measurement-factory.com" target="_blank">rousskov@measurement-factory.com</a>> wrote:<o:p></o:p></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<p class="MsoNormal">On 06/07/2018 04:17 AM, Stoica Bogdan Alexandru wrote:<br>
<br>
> We’re a small research team interested in benchmarking Squid for a<br>
> research project.<br>
<br>
> Ideally, we would like to have good code coverage while doing so.<br>
<br>
> Are there any good benchmarks used for such purpose?<br>
<br>
Performance benchmarks usually focus on things other than code coverage.<br>
It is very difficult to write a quality benchmark for a proxy, even<br>
without code coverage as a goal!<br>
<br>
One the other hand, a decent proxy benchmark has enough knobs to tickle<br>
most "interesting" code paths in Squid (or any other proxy). Web<br>
Polygraph[1] (mentioned on this thread earlier) is a good example -- you<br>
can trigger cache revalidation, simulate heavy tailed hit distributions<br>
that stress disk caching, exercise the code that handles aborted<br>
transactions, persistent connection races, etc., etc.<br>
<br>
<br>
> Or, even better, is<br>
> there a more comprehensive test suite apart from the one Squid comes with?<br>
<br>
Squid does not come with a comprehensive test suite (yet) and the tests<br>
distributed with Squid are not performance tests (a.k.a. "benchmarks").<br>
If you are looking for functionality rather than performance testing,<br>
then there is Co-Advisor[2]. Squid is tested with Co-Advisor, but those<br>
tests have not been automated (yet).<br>
<br>
  [1] <a href="http://www.web-polygraph.org/" target="_blank">http://www.web-polygraph.org/</a><br>
  [2] <a href="http://coad.measurement-factory.com/" target="_blank">http://coad.measurement-factory.com/</a><br>
<br>
<br>
HTH,<br>
<br>
Alex.<br>
P.S. Disclaimer: The company I work for is responsible for both of the<br>
test tools mentioned above.<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal">_______________________________________________<br>
squid-users mailing list<br>
<a href="mailto:squid-users@lists.squid-cache.org">squid-users@lists.squid-cache.org</a><br>
<a href="http://lists.squid-cache.org/listinfo/squid-users" target="_blank">http://lists.squid-cache.org/listinfo/squid-users</a><o:p></o:p></p>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<br>
-- <o:p></o:p></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><br>
Coenraad Loubser<br>
<br>
Wireless Internet Services & Hardware (Pty) Ltd.<br>
210 Long Street, Cape Town, 8001, ZA<br>
<br>
Office: +27 21 481 1824<br>
Skype: Coenraad_Loubser<br>
Email: <a href="mailto:coenraad@wish.org.za" target="_blank">coenraad@wish.org.za</a><br>
Cell: +27 73 772 1223<br>
<br>
-- Spending Money is like watering a plant. <o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>