Skip to content
项目

le0pard/pgtune has 2,760 GitHub stars and 247 forks. GitHot measured 0 stars in 24 hours, -2 in 7 days, and 0 in 15 days. Last checked 2026-11-23 05:01 UTC. Last push 2026-11-21.

这些数字如何统计

实测星标增长

24小时
0
7天
-2
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

关于

Pgtune - 根据硬件调整 PostgreSQL 配置

数据

README.md

原文

PgTune Build and Deploy

PGTune

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

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

探索相关项目

加载中…