Repository navigation
Expand file tree
/
Copy pathmise.toml
More file actions
70 lines (63 loc) · 2.68 KB
/
Copy pathmise.toml
File metadata and controls
70 lines (63 loc) · 2.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
#:schema ./schema/mise.json
min_version = "2026.9.7"
[env]
_.path = ["./target/debug", "./node_modules/.bin"]
[tools]
mr-boxington = { version = "latest", minimum_release_age = "0s" }
tak = { version = "latest", minimum_release_age = "0s" }
age = "latest"
aube = { version = "latest", minimum_release_age = "0s" }
cargo-binstall = "latest"
communique = { version = "latest", minimum_release_age = "0s" }
cargo-insta = "latest"
"aqua:nextest-rs/nextest/cargo-nextest" = "latest"
git-cliff = "latest"
gh = "latest"
hk = { version = "latest", minimum_release_age = "0s" }
jactionlint = "latest"
jq = "latest"
lua-language-server = "latest"
stylua = "latest"
"npm:markdownlint-cli" = "latest"
prettier = "3.9.9"
"npm:ajv-cli" = "latest"
shellcheck = "latest"
shfmt = "latest"
taplo = "latest"
usage = { version = "latest", minimum_release_age = "0s" }
wait-for-gh-rate-limit = { version = "latest", minimum_release_age = "0s" }
sops = "latest"
node = "24"
[wrappers.cargo]
command = "mbx"
env = { MBX_CARGO_SHIM_MODE = "1" }
[task_config]
includes = ["tasks.toml", "xtasks"]
# Instruction-counted benchmarks (see tak.toml). Needs valgrind for the counts;
# without it tak reports wall clock only and says so, so this still works on
# macOS where there is no usable cachegrind.
#
# `--release`, not `--profile serious`: LTO roughly triples the build for a
# number whose absolute value does not matter. What matters is that every
# measurement in a series is built the same way, and the series is partitioned
# on runner class so a change of build profile would start a fresh one anyway.
[tasks.perf]
dir = "{{config_root}}"
# MISE_OFFLINE keeps `ls`, `env` and `hook-env` off the network. Without it they
# log HTTP warnings and their instruction counts move with whatever the registry
# happened to answer. Ignoring the repository config keeps its development tools
# out of the fixture so editing this file does not change a benchmark's input.
env = { MISE_OFFLINE = "1", MISE_IGNORED_CONFIG_PATHS = "{{config_root}}/mise.toml" }
run = ["mbx build --release", "tak run"]
# Same measurement, appended to refs/notes/tak for this commit. Run by the
# `perf` workflow on every push to main; the notes are the history. Safe to run
# locally — nothing leaves the machine until `tak push`.
[tasks."perf:record"]
dir = "{{config_root}}"
env = { MISE_OFFLINE = "1", MISE_IGNORED_CONFIG_PATHS = "{{config_root}}/mise.toml" }
run = ["mbx build --release", "tak run --record"]
# End-to-end task artifact cache phases. The harness generates an isolated
# large fixture so benchmark inputs never need to be checked into the repo.
[tasks."perf:task-cache"]
dir = "{{config_root}}"
run = ["cargo build --release", "bash benchmarks/task-cache/benchmark.sh"]