uutils / uutils/coreutils

mktemp is slower than GNU 9.10

Open
#11,064 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

U - mktemp
Dominant language
Rust
Stars
24.1k
Forks
2k
Avg merge
1d 5h
Merged PRs (30d)
365

Description

$ hyperfine -N --warmup 20 hnu9.10/mktemp mktemp
Summary
  gnu9.10/mktemp ran

3.37 ± 0.74 times faster than mktemp multi-call binary should not be used at bench.

Summary
  /home/a/bin/gnu9.10/mktemp ran
    1.52 ± 0.54 times faster than mktemp

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported hyperfine commands, ensuring the multi-call binary is excluded from the comparison as noted. Identify the mktemp implementation and measure it against the GNU binary; done means documenting or reducing the observed performance gap with a repeatable benchmark.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.