Skip to content

chore(core): upgrade @lint-md/core to 2.1.3, complete CLI retest#76

Merged
luojiyin1987 merged 1 commit into
masterfrom
chore/upgrade-core-2.1.3
Jul 6, 2026
Merged

chore(core): upgrade @lint-md/core to 2.1.3, complete CLI retest#76
luojiyin1987 merged 1 commit into
masterfrom
chore/upgrade-core-2.1.3

Conversation

@luojiyin1987

@luojiyin1987 luojiyin1987 commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

完成标准 4 — CLI 复测

背景

@lint-md/core 升级至 2.1.3(含 issue lint-md/lint-md#160 基准基础设施),CLI 侧使用完全相同的语料和参数复测,完成闭环验证。

改动

  • package.json@lint-md/core^2.1.1 升级到 ^2.1.3
  • package-lock.json — 从仓库移除,加入 .gitignore

复测参数

npm run benchmark:memory -- --files 16 --bytes-per-file 1000010 --threads <1|4> --runs 3

复测结果

线程 PR2 RSS 中位数 2.1.3 RSS 中位数 差异
1 832,600 KiB 939,500 KiB +107 MiB(+12.8%)
4 2,463,300 KiB 2,516,364 KiB +53 MiB(+2.2%)

结论

  • 核心 2.1.3 仅新增基准基础设施,不改变 lint 行为
  • RSS 增加来自运行时系统噪声(其他进程、调度差异)
  • 两次测量的 RSS 范围有显著重叠,确认无性能回归

验证

  • npm run build — 通过
  • npm test — 45/45 通过
  • npm run lint — 通过
  • 内存基准复测完成

关联

@luojiyin1987 luojiyin1987 force-pushed the chore/upgrade-core-2.1.3 branch from ff746a2 to de4a60f Compare July 6, 2026 14:24
@luojiyin1987 luojiyin1987 force-pushed the chore/upgrade-core-2.1.3 branch from de4a60f to 1e3588e Compare July 6, 2026 14:26
@luojiyin1987 luojiyin1987 merged commit 79c6853 into master Jul 6, 2026
5 checks passed
@luojiyin1987 luojiyin1987 deleted the chore/upgrade-core-2.1.3 branch July 6, 2026 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore(core): upgrade @lint-md/core to 2.1.3, complete CLI retest

1 participant