<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Understanding benchmarking</title>
    <link>https://topanswers.xyz/?q=8173</link>
    <lastBuildDate>2026-04-16 07:08:47.44818+01</lastBuildDate>
    <pubDate>2026-04-16 06:52:08.612813+01</pubDate>
    <ttl>30</ttl>

          <item>
        <title>The `\benchmark:n` function does not carry out a fixed number of cycles. Rather, it runs cycles in increasing numbers until the total run time is over a threshold: the idea is that this reduces the impact of artefacts. So a faster codepath will be run more times (on average) than a slower one in order to give reliable results. You can choose to run only once with `\benchmark_single:n`, but then you have to deal with the issue of accuracy yourself.</title>
        <link>https://topanswers.xyz/?q=8173#a7768</link>
        <guid>https://topanswers.xyz/?q=8173#a7768</guid>
        <lastBuildDate>Thu, 16 Apr 2026 10:33:34</lastBuildDate>
        <pubDate></pubDate>
      </item>
      
  </channel>
</rss>
