le0pard/pgtune
Sobre
Pgtune — ajuste da configuração do PostgreSQL com base no seu hardware
Dados e análiseCrescimento medido de estrelas
- em 24 h
- 0
- em 7 dias
- +3
- em 15 dias
- 0
- em 1 mês
- +3
Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.
README.md
OriginalPgTune 
Tuning PostgreSQL config by your hardware. Based on original pgtune. Illustration by Kate.
Development
To start it in development mode, you need install node.js, yarn and run in terminal:
$ yarn # get all node.js deps
$ yarn dev # start server on 5173 port
Production build (with prerendered pages and service worker) can be checked with:
$ yarn build && yarn preview
Checks
$ yarn lint # code style and lint checks (fix formatting with "yarn format")
$ yarn test # unit tests, "yarn test:watch" to rerun them on changes
$ yarn test:coverage # unit tests with coverage report in coverage/index.html
$ yarn playwright install chromium # once, browser for smoke tests
$ yarn test:e2e # smoke tests of production build in browser
Generated configurations for representative inputs are stored in src/features/configuration/__tests__/__snapshots__/configurations, so every change of calculated settings or warnings is visible in pull request. After a deliberate change, update them and review the difference:
$ yarn test -u
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request
Explore projetos relacionados
Carregando…