Skip to content
プロジェクト

vault-developer/event-loop-explorer has 433 GitHub stars and 36 forks. GitHot measured 0 stars in 24 hours and +2 in 7 days. Last checked 2026-11-13 04:24 UTC. Last push 2026-08-08.

この数値の測り方

Event Loop Explorer: visualise javascript code execution in a browser environment

計測したスター増加

24時間
0
7日間
+2
15日間
履歴を収集中
1か月
履歴を収集中

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

Event Loop Explorer

license badge issues badge prs badge release badge commit activity badge

About the project

Event Loop Explorer is a tool that helps to understand how JavaScript code is executed in the browser. It visualizes the Call Stack, Web APIs, Tasks, Microtasks, and Render phase.

Screenshots:

event-loop-image-1 event-loop-image-2

Demo:

Feel free to try it here: https://event-loop-explorer.vercel.app/

Known limitations & simplifications:

  • Javascript code is parsed to AST using acorn parser, and then order of events are generated. All default examples are working as expected, you can try to modify the code and see how it is working. However, not all cases are covered. Async/await, complex Promises, SetInterval, assignment operators will not work as expected.
  • Render phase is usually triggered every 16.66ms (60fps), but in this project it is simplified to just every second Event Loop circle. We are counting every circle as 360ms for simplicity, so render phase is triggered every 720ms.
  • UI is not mobile-friendly, please use desktop devices only.

Contribution:

If you want to contribute, feel free to fork this repository and create a pull request. There are a lot of topics in the "Future Plans" section. Have a question or idea? Feel free to raise it in our discussions session 👍

Launch locally:

git clone [email protected]:vault-developer/event-loop-explorer.git

cd event-loop-explorer

npm install

npm run dev

App runs at http://localhost:3000 (Vite).

Useful scripts:

  • npm run typecheck — TypeScript check
  • npm test — Vitest unit tests
  • npm run build — production build to dist/
  • npm run e2e — Playwright end-to-end tests

Deployed as a static Vite app on Vercel (dist output).

Future Plans:

  • handle todos in the codebase;
  • check js parsing edge cases, including new Promise((res) => {res(console.log(4))});
  • replace window.confirm with error boundary
  • add progress percentage inside wheel
  • add node.js event loop

Inspired by:

関連プロジェクトを探す