humility test suite could be less needlessly cruel
还没有人认领这个 Issue。
评估
调研方向
首先运行 Humility 测试套件,并找到构成按 core 划分的命令矩阵的测试框架。检查 humility counters 等命令在不同 core 上的行为。完成的标准是:可以将命令限制在相关的 core 上,同时保持现有的覆盖率,并使测试套件避免重复运行。
由索引模型根据 Issue 内容生成。
描述
Running the Humility test suite is one of the most unkind things I've done to my poor laptop: it takes about five minutes to run, and pins every CPU core at 100% for the entire duration:
It seems like this is because the complexity of the test suite is multiplicative: it's the number of cores times the number of commands we run. This means that adding a new command increases the total size of the test suite by len(cores), and adding a new core increases the total size of the test suite by len(commands).
There's probably a way to make this a bit less of a brutal dev machine torture test: in at least some cases, such as counters, a command is only "interesting" to run on newer cores that contain the structures the command interprets. Running humility counters on any core except for the one I added specifically to test the counters will just result in humility error: no counters found. So, we probably don't need to run the several different counters commands in the test suite against every core we currently test with. If we added a notion of "only run this command against these cores" to the test framework, we could make it a little less painful to run.
- 主要语言
- Rust
- 星标
- 587
- 派生
- 64
- 平均合并
- 2 天 1 小时
- 30 天内合并 PR
- 7
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
oxidecomputer/humility 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 62/100
oxidecomputer/humility#737 · 1 条评论 ·
-
难度 3/5 1-2 天 新手友好度 65/100
oxidecomputer/humility#730 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 42/100
oxidecomputer/humility#723 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 48/100
oxidecomputer/humility#705 · 12 条评论 ·
-
难度 5/5 一周以上 新手友好度 35/100
oxidecomputer/humility#678 · 1 条评论 ·
查看 oxidecomputer/humility 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 62/100
adorsys/status-list-server#698 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 70/100
nannou-org/egui_graph#92 ·
维护者通常 1 天内回复
-
documentation good first issue
难度 2/5 半天 新手友好度 72/100
sujithputta02/Esapay#13 ·
-
Deduplicate normalized_f64_bits (hash_table.rs and bloom_filter.rs)可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 75/100
tursodatabase/turso#10002 ·
维护者通常 1 天内回复
-
needs triage
难度 2/5 1-3 小时 新手友好度 72/100
topgrade-rs/topgrade#2419 ·
维护者通常 1 天内回复