Empirical analysis of asymptotic time and space complexity for algorithms in TypeScript / Node.js.
Modernization of the 2022 empirical-tc-ts project.
| Language | Entry point |
|---|---|
| English | docs/en/README.md |
| Português (Brasil) | docs/pt-BR/README.md |
Each documentation page links to its counterpart in the other language (toggle at the top of the page).
- Getting started
- Mathematical foundation — asymptotic analysis & the ratio method
- Algorithms
- API reference
- Quality assurance
- Extending
- Visualization (nodeplotlib)
- Primeiros passos
- Fundamento matemático — análise assintótica e o método das razões
- Algoritmos
- Referência da API
- Qualidade
- Estendendo
- Visualização (nodeplotlib)
pnpm install
pnpm start
node --expose-gc --import tsx src/index.ts --only=merge-sort,heap-sortpnpm start # generates results/*.json
PLOT=1 pnpm start # also open Plotly charts
pnpm plot -- results/some-result.json # plot saved JSONSee docs/en/visualization.md / docs/pt-BR/visualization.md.
pnpm format:check && pnpm lint && pnpm test:coverage && pnpm typecheck
# or:
pnpm checkMIT