From 146bb2089fad0ed3bbee726200693294e9ece3ab Mon Sep 17 00:00:00 2001 From: Sunrisepeak Date: Fri, 13 Nov 2026 21:32:14 +0900 Subject: [PATCH 1/4] mtest 0.7.2 (mcpplibs.mtest, .capi, .gtest, .manifest): bench::each, every call measured by itself --- CHANGELOG.md | 6 +++++- pkgs/m/mcpplibs.mtest.capi.lua | 21 +++++++++++++++++++++ pkgs/m/mcpplibs.mtest.gtest.lua | 21 +++++++++++++++++++++ pkgs/m/mcpplibs.mtest.manifest.lua | 21 +++++++++++++++++++++ pkgs/m/mtest.lua | 25 +++++++++++++++++++++++++ 5 files changed, 93 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3ca52c4e..9a01d98b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,10 @@ # Changelog -维护说明:未发版的变更记录在 `## [Unreleased]` 下;准备发版时,按 +维护说明:未发版的变更记录在 `## [Unreleased]` ### Added + +- **mtest 0.7.2.** 四个包的 0.7.2(同一标签、同一归档):`mcpplibs.mtest.bench` 新增 `bench::each`,逐次计时并给出分布(`name`、`.p95`、`.p99`、`.max`、`.mean`、`.per_item`),测量体可暂停并声明条目数;只增不改。 + +下;准备发版时,按 `vX.Y.Z` 标题格式将累计条目整理到对应版本节,并按改动性质归入 `Added`、`Changed`、`Fixed`、`Docs` 或 `Chore`。每条记录只保留用户和维护者 需要知道的主线变化,不逐行复制提交差异。 diff --git a/pkgs/m/mcpplibs.mtest.capi.lua b/pkgs/m/mcpplibs.mtest.capi.lua index c3df0406..9ed8396b 100644 --- a/pkgs/m/mcpplibs.mtest.capi.lua +++ b/pkgs/m/mcpplibs.mtest.capi.lua @@ -21,6 +21,13 @@ package = { xpm = { linux = { + ["0.7.2"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.7.2.tar.gz", + CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.7.2/mtest-v0.7.2.tar.gz", + }, + sha256 = "c4e6e3d526da16f4f0ce983e4ccf5a3470ce2e603dd49cfb779ade58dd9e705a", + }, ["0.7.1"] = { url = { GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.7.1.tar.gz", @@ -107,6 +114,13 @@ package = { }, }, macosx = { + ["0.7.2"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.7.2.tar.gz", + CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.7.2/mtest-v0.7.2.tar.gz", + }, + sha256 = "c4e6e3d526da16f4f0ce983e4ccf5a3470ce2e603dd49cfb779ade58dd9e705a", + }, ["0.7.1"] = { url = { GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.7.1.tar.gz", @@ -193,6 +207,13 @@ package = { }, }, windows = { + ["0.7.2"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.7.2.tar.gz", + CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.7.2/mtest-v0.7.2.tar.gz", + }, + sha256 = "c4e6e3d526da16f4f0ce983e4ccf5a3470ce2e603dd49cfb779ade58dd9e705a", + }, ["0.7.1"] = { url = { GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.7.1.tar.gz", diff --git a/pkgs/m/mcpplibs.mtest.gtest.lua b/pkgs/m/mcpplibs.mtest.gtest.lua index ab9400ba..a79a3fe5 100644 --- a/pkgs/m/mcpplibs.mtest.gtest.lua +++ b/pkgs/m/mcpplibs.mtest.gtest.lua @@ -20,6 +20,13 @@ package = { xpm = { linux = { + ["0.7.2"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.7.2.tar.gz", + CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.7.2/mtest-v0.7.2.tar.gz", + }, + sha256 = "c4e6e3d526da16f4f0ce983e4ccf5a3470ce2e603dd49cfb779ade58dd9e705a", + }, ["0.7.1"] = { url = { GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.7.1.tar.gz", @@ -106,6 +113,13 @@ package = { }, }, macosx = { + ["0.7.2"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.7.2.tar.gz", + CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.7.2/mtest-v0.7.2.tar.gz", + }, + sha256 = "c4e6e3d526da16f4f0ce983e4ccf5a3470ce2e603dd49cfb779ade58dd9e705a", + }, ["0.7.1"] = { url = { GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.7.1.tar.gz", @@ -192,6 +206,13 @@ package = { }, }, windows = { + ["0.7.2"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.7.2.tar.gz", + CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.7.2/mtest-v0.7.2.tar.gz", + }, + sha256 = "c4e6e3d526da16f4f0ce983e4ccf5a3470ce2e603dd49cfb779ade58dd9e705a", + }, ["0.7.1"] = { url = { GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.7.1.tar.gz", diff --git a/pkgs/m/mcpplibs.mtest.manifest.lua b/pkgs/m/mcpplibs.mtest.manifest.lua index ae69b8b5..d97fccb0 100644 --- a/pkgs/m/mcpplibs.mtest.manifest.lua +++ b/pkgs/m/mcpplibs.mtest.manifest.lua @@ -22,6 +22,13 @@ package = { xpm = { linux = { + ["0.7.2"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.7.2.tar.gz", + CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.7.2/mtest-v0.7.2.tar.gz", + }, + sha256 = "c4e6e3d526da16f4f0ce983e4ccf5a3470ce2e603dd49cfb779ade58dd9e705a", + }, ["0.7.1"] = { url = { GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.7.1.tar.gz", @@ -94,6 +101,13 @@ package = { }, }, macosx = { + ["0.7.2"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.7.2.tar.gz", + CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.7.2/mtest-v0.7.2.tar.gz", + }, + sha256 = "c4e6e3d526da16f4f0ce983e4ccf5a3470ce2e603dd49cfb779ade58dd9e705a", + }, ["0.7.1"] = { url = { GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.7.1.tar.gz", @@ -166,6 +180,13 @@ package = { }, }, windows = { + ["0.7.2"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.7.2.tar.gz", + CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.7.2/mtest-v0.7.2.tar.gz", + }, + sha256 = "c4e6e3d526da16f4f0ce983e4ccf5a3470ce2e603dd49cfb779ade58dd9e705a", + }, ["0.7.1"] = { url = { GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.7.1.tar.gz", diff --git a/pkgs/m/mtest.lua b/pkgs/m/mtest.lua index 5b8ccd1e..b5046cf1 100644 --- a/pkgs/m/mtest.lua +++ b/pkgs/m/mtest.lua @@ -25,6 +25,10 @@ -- 0.7.1 states `mcpplibs.mtest.e2e`, `.bench` and `.cts` as public modules (each -- a feature on by default), so a program that imports one builds against the -- packed library as from source. +-- +-- 0.7.2 adds `bench::each` to `mcpplibs.mtest.bench`: every call measured by +-- itself (`name`, `.p95`, `.p99`, `.max`, `.mean`, `.per_item`), with a lap that +-- pauses and states items. package = { spec = "1", namespace = "mcpplibs", @@ -43,6 +47,13 @@ package = { xpm = { linux = { + ["0.7.2"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.7.2.tar.gz", + CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.7.2/mtest-v0.7.2.tar.gz", + }, + sha256 = "c4e6e3d526da16f4f0ce983e4ccf5a3470ce2e603dd49cfb779ade58dd9e705a", + }, ["0.7.1"] = { url = { GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.7.1.tar.gz", @@ -129,6 +140,13 @@ package = { }, }, macosx = { + ["0.7.2"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.7.2.tar.gz", + CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.7.2/mtest-v0.7.2.tar.gz", + }, + sha256 = "c4e6e3d526da16f4f0ce983e4ccf5a3470ce2e603dd49cfb779ade58dd9e705a", + }, ["0.7.1"] = { url = { GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.7.1.tar.gz", @@ -215,6 +233,13 @@ package = { }, }, windows = { + ["0.7.2"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.7.2.tar.gz", + CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.7.2/mtest-v0.7.2.tar.gz", + }, + sha256 = "c4e6e3d526da16f4f0ce983e4ccf5a3470ce2e603dd49cfb779ade58dd9e705a", + }, ["0.7.1"] = { url = { GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.7.1.tar.gz", From fa42280fd1a0208a3067b0753e9c362f4ac762f6 Mon Sep 17 00:00:00 2001 From: Sunrisepeak Date: Fri, 13 Nov 2026 21:32:32 +0900 Subject: [PATCH 2/4] the changelog entry under Unreleased, where it belongs --- CHANGELOG.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9a01d98b..3ca52c4e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,10 +1,6 @@ # Changelog -维护说明:未发版的变更记录在 `## [Unreleased]` ### Added - -- **mtest 0.7.2.** 四个包的 0.7.2(同一标签、同一归档):`mcpplibs.mtest.bench` 新增 `bench::each`,逐次计时并给出分布(`name`、`.p95`、`.p99`、`.max`、`.mean`、`.per_item`),测量体可暂停并声明条目数;只增不改。 - -下;准备发版时,按 +维护说明:未发版的变更记录在 `## [Unreleased]` 下;准备发版时,按 `vX.Y.Z` 标题格式将累计条目整理到对应版本节,并按改动性质归入 `Added`、`Changed`、`Fixed`、`Docs` 或 `Chore`。每条记录只保留用户和维护者 需要知道的主线变化,不逐行复制提交差异。 From fc1e529d74da8151ed1e52f7ddc08eb22b7bdaf0 Mon Sep 17 00:00:00 2001 From: Sunrisepeak Date: Fri, 13 Nov 2026 21:32:45 +0900 Subject: [PATCH 3/4] CHANGELOG: mtest 0.7.2 under Unreleased --- CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3ca52c4e..dbdb2afd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,11 @@ ## [Unreleased] +### Added + +- **mtest 0.7.2.** 四个包的 0.7.2(同一标签、同一归档):`mcpplibs.mtest.bench` 新增 `bench::each`,逐次计时并给出分布(`name`、`.p95`、`.p99`、`.max`、`.mean`、`.per_item`), + 测量体可暂停并声明条目数;只增不改。 + ### Fixed - **compat.glfw:Win32 后端以 `requires = { "mcpp:kernel-abi=windows" }` 陈述它直接调用的系统接口。** MSVC 行、MinGW-w64 载荷与 From fbc08f755f5e012d46b8b14d9e555f82776775a9 Mon Sep 17 00:00:00 2001 From: Sunrisepeak Date: Fri, 13 Nov 2026 21:32:59 +0900 Subject: [PATCH 4/4] CHANGELOG: the entry under the section's existing Added --- CHANGELOG.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dbdb2afd..e9ca3820 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,11 +7,6 @@ ## [Unreleased] -### Added - -- **mtest 0.7.2.** 四个包的 0.7.2(同一标签、同一归档):`mcpplibs.mtest.bench` 新增 `bench::each`,逐次计时并给出分布(`name`、`.p95`、`.p99`、`.max`、`.mean`、`.per_item`), - 测量体可暂停并声明条目数;只增不改。 - ### Fixed - **compat.glfw:Win32 后端以 `requires = { "mcpp:kernel-abi=windows" }` 陈述它直接调用的系统接口。** MSVC 行、MinGW-w64 载荷与 @@ -38,6 +33,8 @@ ### Added +- **mtest 0.7.2.** 四个包的 0.7.2(同一标签、同一归档):`mcpplibs.mtest.bench` 新增 `bench::each`,逐次计时并给出分布(`name`、`.p95`、`.p99`、`.max`、`.mean`、`.per_item`), + 测量体可暂停并声明条目数;只增不改。 - **mtest 0.6.3.** 四个包的 0.6.3(同一标签、同一归档):`mcpplibs.mtest.cts` 让一致性套件对着一个主体运行 (`cts::against`、`cts::needs`)——用例需要而主体声明不具备的能力记为跳过(`unsupported: …`),既不算通过也不算失败; 运行要求而主体不具备的能力失败一次。协议不变。含 0.6.1(`skip_exit`:以退出状态判定的程序声明表示跳过的状态)与