docs: function doBench(name, fn)
  {
      timings[name] = {
          runs: [],
          total: 0,
          avg: 0,
      };
  
      console.log(`\nbenchmarking ${name}...`);
  
      for (let r = 0; r < numRuns; ++r)
      {
          const start = performance.now();
  
          for (let i = 0; i < numCycles; i++)
          {
              fn();
          }
  
          let time = performance.now() - start;
  
          time /= 1000;
          timings[name].runs.push(time);
          timings[name].total += time;
      }
  
      timings[name].avg = timings[name].total / numRuns;
  
      console.log(`${name}: ${timings[name].avg}`);
  }