Skip to content

fix: ensure config is always wrapped in Result#5223

Merged
jdx merged 2 commits into
mainfrom
config-get
May 28, 2025
Merged

fix: ensure config is always wrapped in Result#5223
jdx merged 2 commits into
mainfrom
config-get

Conversation

@jdx

@jdx jdx commented May 28, 2025

Copy link
Copy Markdown
Owner

Fixes #5218
Fixes #5215

@github-actions

Copy link
Copy Markdown

If you are adding a new tool to mise, note the following:

  • New asdf plugins are not accepted
  • Tools may be rejected if they are not notable
  • A test is required in registry.toml

@github-actions

github-actions Bot commented May 28, 2025

Copy link
Copy Markdown

xtasks/test/perf

Command mise mise-2025.5.15
install (uncached) 1040ms 855ms
install (cached) ✅ 143ms 215ms
ls (uncached) 723ms 717ms
ls (cached) 103ms 103ms
bin-paths (uncached) ⚠️ 960ms 728ms
bin-paths (cached) 91ms 86ms
task-ls (uncached) 3457ms 3075ms
task-ls (cached) 285ms 287ms

✅ Performance improvement: install cached is 50%
⚠️ Warning: bin-paths uncached performance variance is -24%

Hyperfine Performance

mise x -- echo

Command Mean [ms] Min [ms] Max [ms] Relative
mise-2025.5.15 x -- echo 48.5 ± 1.7 45.4 62.8 1.00
mise x -- echo 49.4 ± 1.7 46.4 56.5 1.02 ± 0.05

mise env

Command Mean [ms] Min [ms] Max [ms] Relative
mise-2025.5.15 env 48.6 ± 1.9 45.2 64.5 1.00
mise env 49.0 ± 1.5 45.8 55.1 1.01 ± 0.05

mise hook-env

Command Mean [ms] Min [ms] Max [ms] Relative
mise-2025.5.15 hook-env 48.3 ± 1.8 45.3 62.6 1.00
mise hook-env 48.8 ± 1.6 45.8 55.9 1.01 ± 0.05

mise ls

Command Mean [ms] Min [ms] Max [ms] Relative
mise-2025.5.15 ls 71.0 ± 2.0 67.9 87.6 1.00
mise ls 71.6 ± 2.2 68.4 96.1 1.01 ± 0.04

@jdx jdx force-pushed the config-get branch 9 times, most recently from 4887b32 to a7bc334 Compare May 28, 2025 16:38
@jdx jdx force-pushed the config-get branch 2 times, most recently from e3b0907 to 97b2b1a Compare May 28, 2025 16:48
@jdx jdx merged commit c44b499 into main May 28, 2025
36 checks passed
@jdx jdx deleted the config-get branch May 28, 2025 17:33
jdx pushed a commit that referenced this pull request May 29, 2025
### 🐛 Bug Fixes

- ensure config is always wrapped in Result by
[@jdx](https://github.com/jdx) in
[#5223](#5223)

### ⚡ Performance

- improve init performance by [@jdx](https://github.com/jdx) in
[#5231](#5231)

### Chore

- remove hyperfine from main builds by [@jdx](https://github.com/jdx) in
[#5226](#5226)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Uncaught panic when directory passed via -C doesn't exist

1 participant