mirror of
https://github.com/NotAShelf/microfetch.git
synced 2025-12-10 06:53:52 +00:00
Compare commits
3 commits
75132ff172
...
353b78e688
| Author | SHA1 | Date | |
|---|---|---|---|
|
353b78e688 |
|||
|
6f8d1ffa83 |
|||
|
07afedd0cc |
3 changed files with 23 additions and 29 deletions
24
.github/workflows/hotpath-comment.yml
vendored
24
.github/workflows/hotpath-comment.yml
vendored
|
|
@ -33,25 +33,17 @@ jobs:
|
||||||
run: cargo install hotpath
|
run: cargo install hotpath
|
||||||
|
|
||||||
- name: Post timing comparison comment
|
- name: Post timing comparison comment
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
run: |
|
run: |
|
||||||
hotpath profile-pr \
|
hotpath profile-pr \
|
||||||
--repo ${{ github.repository }} \
|
--head-metrics head-timing.json \
|
||||||
--pr-number ${{ steps.pr.outputs.number }} \
|
--base-metrics base-timing.json \
|
||||||
--head-json head-timing.json \
|
--github-token ${{ secrets.GITHUB_TOKEN }} \
|
||||||
--base-json base-timing.json \
|
--pr-number ${{ steps.pr.outputs.number }}
|
||||||
--mode timing \
|
|
||||||
--title "⏱️ Hotpath Timing Profile"
|
|
||||||
|
|
||||||
- name: Post allocation comparison comment
|
- name: Post allocation comparison comment
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
run: |
|
run: |
|
||||||
hotpath profile-pr \
|
hotpath profile-pr \
|
||||||
--repo ${{ github.repository }} \
|
--head-metrics head-alloc.json \
|
||||||
--pr-number ${{ steps.pr.outputs.number }} \
|
--base-metrics base-alloc.json \
|
||||||
--head-json head-alloc.json \
|
--github-token ${{ secrets.GITHUB_TOKEN }} \
|
||||||
--base-json base-alloc.json \
|
--pr-number ${{ steps.pr.outputs.number }}
|
||||||
--mode alloc \
|
|
||||||
--title "📊 Hotpath Allocation Profile"
|
|
||||||
|
|
|
||||||
|
|
@ -43,7 +43,7 @@ on your system: it is pretty _[fast](#benchmarks)_...
|
||||||
- Fast
|
- Fast
|
||||||
- Really fast
|
- Really fast
|
||||||
- Minimal dependencies
|
- Minimal dependencies
|
||||||
- Tiny binary (~410kb)
|
- Tiny binary (~370kb)
|
||||||
- Actually really fast
|
- Actually really fast
|
||||||
- Cool NixOS logo (other, inferior, distros are not supported)
|
- Cool NixOS logo (other, inferior, distros are not supported)
|
||||||
- Reliable detection of following info:
|
- Reliable detection of following info:
|
||||||
|
|
@ -160,7 +160,8 @@ performance regressions.
|
||||||
|
|
||||||
> [!NOTE]
|
> [!NOTE]
|
||||||
> You will need a Nerdfonts patched font installed, and for your terminal
|
> You will need a Nerdfonts patched font installed, and for your terminal
|
||||||
> emulator to support said font. Microfetch uses nerdfonts glyphs by default.
|
> emulator to support said font. Microfetch uses nerdfonts glyphs by default,
|
||||||
|
> but this can be changed by [patching the program](#customizing).
|
||||||
|
|
||||||
Microfetch is packaged in [nixpkgs](https://github.com/nixos/nixpkgs). It can be
|
Microfetch is packaged in [nixpkgs](https://github.com/nixos/nixpkgs). It can be
|
||||||
installed by adding `pkgs.microfetch` to your `environment.systemPackages`.
|
installed by adding `pkgs.microfetch` to your `environment.systemPackages`.
|
||||||
|
|
|
||||||
|
|
@ -20,6 +20,7 @@ in
|
||||||
(fs.fileFilter (file: builtins.any file.hasExt ["rs"]) (s + /src))
|
(fs.fileFilter (file: builtins.any file.hasExt ["rs"]) (s + /src))
|
||||||
(s + /Cargo.lock)
|
(s + /Cargo.lock)
|
||||||
(s + /Cargo.toml)
|
(s + /Cargo.toml)
|
||||||
|
(s + /benches)
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue