Compare commits

...

3 commits

Author SHA1 Message Date
353b78e688
ci: fix hotpath-comment usage
Some checks failed
hotpath-comment.yml / ci: fix hotpath-comment usage (push) Failing after 0s
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Idc163948f012efb07fc7a6a952af54b36a6a6964
2025-11-18 00:08:00 +03:00
6f8d1ffa83
nix: include benches in source filter; fix build
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Id78ee5f62a5168feef09b5f8713b107c6a6a6964
2025-11-18 00:07:59 +03:00
07afedd0cc
docs: update binary size
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I1a9189f90666d7efc010a7255c287bd86a6a6964
2025-11-18 00:07:55 +03:00
3 changed files with 23 additions and 29 deletions

View file

@ -33,25 +33,17 @@ jobs:
run: cargo install hotpath run: cargo install hotpath
- name: Post timing comparison comment - name: Post timing comparison comment
env: run: |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} hotpath profile-pr \
run: | --head-metrics head-timing.json \
hotpath profile-pr \ --base-metrics base-timing.json \
--repo ${{ github.repository }} \ --github-token ${{ secrets.GITHUB_TOKEN }} \
--pr-number ${{ steps.pr.outputs.number }} \ --pr-number ${{ steps.pr.outputs.number }}
--head-json head-timing.json \
--base-json base-timing.json \
--mode timing \
--title "⏱️ Hotpath Timing Profile"
- name: Post allocation comparison comment - name: Post allocation comparison comment
env: run: |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} hotpath profile-pr \
run: | --head-metrics head-alloc.json \
hotpath profile-pr \ --base-metrics base-alloc.json \
--repo ${{ github.repository }} \ --github-token ${{ secrets.GITHUB_TOKEN }} \
--pr-number ${{ steps.pr.outputs.number }} \ --pr-number ${{ steps.pr.outputs.number }}
--head-json head-alloc.json \
--base-json base-alloc.json \
--mode alloc \
--title "📊 Hotpath Allocation Profile"

View file

@ -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`.

View file

@ -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)
]; ];
}; };