vault-developer/event-loop-explorer
vault-developer/event-loop-explorer has 431 GitHub stars and 36 forks. GitHot measured 0 stars in 24 hours and 0 in 7 days. Last checked 2026-11-09 09:10 UTC. Last push 2026-08-08.
Event Loop Explorer: visualise javascript code execution in a browser environment
Measured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalEvent Loop Explorer
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:
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 checknpm test— Vitest unit testsnpm run build— production build todist/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:
Explore related projects
freeCodeCamp/freeCodeCamp
freeCodeCamp.org's open-source codebase and curriculum. Learn math, programming, and computer science for free.
458,823 starsdonnemartin/system-design-primer
Learn how to design large-scale systems. Prep for the system design interview. Includes Anki flashcards.
377,441 starsreact/react
The library for web and native user interfaces.
252,445 starsvuejs/vue
This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core
212,624 stars