JSFiddle - React, Tailwind, and code Playground

JavaScript

const c = 100;
let i = 0;
let s = performance.now();

queueMicrotask(start);

function start() {
    if (++i > c) {
        return;
    }
    const now = performance.now();
    addText(`queueMicrotask execution delay ${now - s}`);
    s = now;
    queueMicrotask(start);
   //Promise.resolve().then(start);
}


function addText(txt) {
    const p = document.createElement('p');
    p.innerHTML = txt;
    document.body.appendChild(p);
}