Skip to content

Commit c1ee909

Browse files
committed
mtest 0.8.3 (a measured call says what it was made of; bench::laps; a program run alone prints and selects)
The four packages of mtest v0.8.3 (one tag, one archive; GLOBAL and CN carry the same bytes).
1 parent 6bfa0ca commit c1ee909

5 files changed

Lines changed: 93 additions & 0 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@
3333

3434
### Added
3535

36+
- **mtest 0.8.3.** 四个包的 0.8.3(同一标签、同一归档;含未入索引的 0.8.1、0.8.2 的内容):`bench::each` 的一次调用可以说明自己的组成
37+
(`part`、`time`、`value`),给出最慢的几次、超过上限的次数与分配计数;`bench::laps` 是同一测量的循环形式;
38+
程序单独运行时打印测得的数字,并按标识、名字或带 `*` 的模式选择用例。只增不改。
3639
- **mtest 0.8.0.** 四个包的 0.8.0(同一标签、同一归档):用例以 `only{}`、`except{}` 陈述其运行的平台与架构(mcpplibs.os 的名字),
3740
在场所之外跳过并说明原因;`capability` 在代码中声明机器能力,由程序在任一运行器下回答;`case` 事件新增可选字段
3841
`only`、`except`、`capabilities`、`reason`;`mtest ci coverage` 按用例陈述的场所检查。只增不改。

‎pkgs/m/mcpplibs.mtest.capi.lua‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,13 @@ package = {
2121

2222
xpm = {
2323
linux = {
24+
["0.8.3"] = {
25+
url = {
26+
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.8.3.tar.gz",
27+
CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.8.3/mtest-v0.8.3.tar.gz",
28+
},
29+
sha256 = "f61fb09b2ddab8db8c8cd4fcfb1125306d00d6719769ca78379e4ba727a59a8c",
30+
},
2431
["0.8.0"] = {
2532
url = {
2633
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.8.0.tar.gz",
@@ -121,6 +128,13 @@ package = {
121128
},
122129
},
123130
macosx = {
131+
["0.8.3"] = {
132+
url = {
133+
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.8.3.tar.gz",
134+
CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.8.3/mtest-v0.8.3.tar.gz",
135+
},
136+
sha256 = "f61fb09b2ddab8db8c8cd4fcfb1125306d00d6719769ca78379e4ba727a59a8c",
137+
},
124138
["0.8.0"] = {
125139
url = {
126140
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.8.0.tar.gz",
@@ -221,6 +235,13 @@ package = {
221235
},
222236
},
223237
windows = {
238+
["0.8.3"] = {
239+
url = {
240+
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.8.3.tar.gz",
241+
CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.8.3/mtest-v0.8.3.tar.gz",
242+
},
243+
sha256 = "f61fb09b2ddab8db8c8cd4fcfb1125306d00d6719769ca78379e4ba727a59a8c",
244+
},
224245
["0.8.0"] = {
225246
url = {
226247
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.8.0.tar.gz",

‎pkgs/m/mcpplibs.mtest.gtest.lua‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,13 @@ package = {
2020

2121
xpm = {
2222
linux = {
23+
["0.8.3"] = {
24+
url = {
25+
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.8.3.tar.gz",
26+
CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.8.3/mtest-v0.8.3.tar.gz",
27+
},
28+
sha256 = "f61fb09b2ddab8db8c8cd4fcfb1125306d00d6719769ca78379e4ba727a59a8c",
29+
},
2330
["0.8.0"] = {
2431
url = {
2532
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.8.0.tar.gz",
@@ -120,6 +127,13 @@ package = {
120127
},
121128
},
122129
macosx = {
130+
["0.8.3"] = {
131+
url = {
132+
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.8.3.tar.gz",
133+
CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.8.3/mtest-v0.8.3.tar.gz",
134+
},
135+
sha256 = "f61fb09b2ddab8db8c8cd4fcfb1125306d00d6719769ca78379e4ba727a59a8c",
136+
},
123137
["0.8.0"] = {
124138
url = {
125139
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.8.0.tar.gz",
@@ -220,6 +234,13 @@ package = {
220234
},
221235
},
222236
windows = {
237+
["0.8.3"] = {
238+
url = {
239+
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.8.3.tar.gz",
240+
CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.8.3/mtest-v0.8.3.tar.gz",
241+
},
242+
sha256 = "f61fb09b2ddab8db8c8cd4fcfb1125306d00d6719769ca78379e4ba727a59a8c",
243+
},
223244
["0.8.0"] = {
224245
url = {
225246
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.8.0.tar.gz",

‎pkgs/m/mcpplibs.mtest.manifest.lua‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,13 @@ package = {
2222

2323
xpm = {
2424
linux = {
25+
["0.8.3"] = {
26+
url = {
27+
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.8.3.tar.gz",
28+
CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.8.3/mtest-v0.8.3.tar.gz",
29+
},
30+
sha256 = "f61fb09b2ddab8db8c8cd4fcfb1125306d00d6719769ca78379e4ba727a59a8c",
31+
},
2532
["0.8.0"] = {
2633
url = {
2734
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.8.0.tar.gz",
@@ -108,6 +115,13 @@ package = {
108115
},
109116
},
110117
macosx = {
118+
["0.8.3"] = {
119+
url = {
120+
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.8.3.tar.gz",
121+
CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.8.3/mtest-v0.8.3.tar.gz",
122+
},
123+
sha256 = "f61fb09b2ddab8db8c8cd4fcfb1125306d00d6719769ca78379e4ba727a59a8c",
124+
},
111125
["0.8.0"] = {
112126
url = {
113127
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.8.0.tar.gz",
@@ -194,6 +208,13 @@ package = {
194208
},
195209
},
196210
windows = {
211+
["0.8.3"] = {
212+
url = {
213+
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.8.3.tar.gz",
214+
CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.8.3/mtest-v0.8.3.tar.gz",
215+
},
216+
sha256 = "f61fb09b2ddab8db8c8cd4fcfb1125306d00d6719769ca78379e4ba727a59a8c",
217+
},
197218
["0.8.0"] = {
198219
url = {
199220
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.8.0.tar.gz",

‎pkgs/m/mtest.lua‎

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,12 @@
3333
-- 0.8.0 states where a case runs (`only{}`, `except{}` over mcpplibs.os's
3434
-- platforms and architectures) and what it needs of the machine (`capability`,
3535
-- declared in code and answered by the program under any runner).
36+
--
37+
-- 0.8.3 (with 0.8.1's and 0.8.2's content, which were not indexed) has a measured
38+
-- call say what it was made of (parts, times, values, the slowest calls, a
39+
-- count over a limit, allocations), measures as a loop (`bench::laps`), prints
40+
-- the numbers where a program runs alone, and selects there by identifier,
41+
-- name or pattern.
3642
package = {
3743
spec = "1",
3844
namespace = "mcpplibs",
@@ -51,6 +57,13 @@ package = {
5157

5258
xpm = {
5359
linux = {
60+
["0.8.3"] = {
61+
url = {
62+
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.8.3.tar.gz",
63+
CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.8.3/mtest-v0.8.3.tar.gz",
64+
},
65+
sha256 = "f61fb09b2ddab8db8c8cd4fcfb1125306d00d6719769ca78379e4ba727a59a8c",
66+
},
5467
["0.8.0"] = {
5568
url = {
5669
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.8.0.tar.gz",
@@ -151,6 +164,13 @@ package = {
151164
},
152165
},
153166
macosx = {
167+
["0.8.3"] = {
168+
url = {
169+
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.8.3.tar.gz",
170+
CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.8.3/mtest-v0.8.3.tar.gz",
171+
},
172+
sha256 = "f61fb09b2ddab8db8c8cd4fcfb1125306d00d6719769ca78379e4ba727a59a8c",
173+
},
154174
["0.8.0"] = {
155175
url = {
156176
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.8.0.tar.gz",
@@ -251,6 +271,13 @@ package = {
251271
},
252272
},
253273
windows = {
274+
["0.8.3"] = {
275+
url = {
276+
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.8.3.tar.gz",
277+
CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.8.3/mtest-v0.8.3.tar.gz",
278+
},
279+
sha256 = "f61fb09b2ddab8db8c8cd4fcfb1125306d00d6719769ca78379e4ba727a59a8c",
280+
},
254281
["0.8.0"] = {
255282
url = {
256283
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.8.0.tar.gz",

0 commit comments

Comments
 (0)