vault-developer/event-loop-explorer
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か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルEvent 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:
関連プロジェクトを探す
freeCodeCamp/freeCodeCamp
freeCodeCamp.org のオープンソースのコードベースとカリキュラムです。数学、プログラミング、コンピュータサイエンスを無料で学べます。
459,081 スターdonnemartin/system-design-primer
大規模システムの設計を学び、システム設計面接の対策ができます。Anki のフラッシュカードが含まれています。
377,757 スターreact/react
Web とネイティブのユーザーインターフェース向けライブラリ。
252,574 スターvuejs/vue
Vue 2 のリポジトリです。Vue 3 については https://github.com/vuejs/core をご覧ください。
212,526 スター