Repository navigation
0.5.0: a run is a graph with its critical path; Markdown reports; what each case used; run fixtures and components - #7
Merged
Conversation
…t each case used; run fixtures and components - The engine models a run as a directed acyclic graph (builds, processes, run fixtures; build, worker, resource, machine and fixture edges) and its critical path is the graph's longest binding chain (`mtest analyze path`). - `mtest report --format md`, `mtest run --md` and `mtest ci annotate` write Markdown with mermaid (the graph with its critical path, the schedule as a gantt); sections, scope and grouping are chosen by option or `[report]`. - Resource monitoring per case: off, basic (default), detailed, trace (`[monitor]`, `MTEST_MONITOR`); the `usage` event; `mtest measure` measures a program that does not speak the protocol. - `[run] split` schedules a program's cases across processes; `memory` admits processes by their recorded peak. - Run fixtures served once for their users (`run_fixture`, `MTEST_SERVE`, `MTEST_FIXTURE_<NAME>`), resource pools and reusable components. - Depends on mcpplibs.os 0.4.1. Co-authored-by: speak-agent <[email protected]>
…skip where the system reports no use Co-authored-by: speak-agent <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
machine, fixture). The critical path is the graph's binding chain ending at the node that ended last, each step the predecessor that ended last before the node began.mtest analyze pathreturns it with the wait between its members, no longer only the slowest program.mtest report --format md,mtest run --md <file>andmtest ci annotatewrite a summary, failures, the slowest cases, what each case used, the graph (mermaidflowchart, the critical path marked) and the schedule (mermaidgantt, a section per worker). Sections, scope (local/overall), grouping and the runs aggregated are chosen by option or by[report];mtest ci report --groupandmtest ci timelineaggregate a CI run's jobs.[monitor] level/MTEST_MONITOR:off,basic(default: CPU time and peak memory per case),detailed(I/O, load),trace(samples atMTEST_MONITOR_SAMPLE). The library reports ausageevent per case;mtest measuremeasures a level-0 program from outside.[run] split = "auto"schedules a program's cases across processes by their recorded times;memory = "auto"admits processes by their recorded peak.run_fixtureis served once for every case that uses it (MTEST_SERVE,MTEST_FIXTURE_<NAME>,[fixtures.<name>] command);resource_pooladmits N holders; aComponentregisters a reusable part with the framework and is listed with the program.usage/componentevents, P6.6, P7.3, P10–P12 (the store). Version 0.5.0 everywhere; depends on mcpplibs.os 0.4.1.Tests
engine/tests/engine.cpp: the graph and its critical path, the Markdown report and its sections, split, memory admission, a run fixture served once, a level-0 program measured from outside.lib/tests/machine.cpp: usage reporting, components, the fixture endpoint.mcpp testpasses for every member of the workspace.Co-authored-by: speak-agent [email protected]