Commit graph

34 commits

Author SHA1 Message Date
75132ff172
treewide: remove nix dependency, add custom syscall wrappers & UtsName
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Ib880f4bafe9d3bbc944af4b9125256366a6a6964
2025-11-17 21:29:15 +03:00
b24e720dd8
chore: tag 0.4.11
Some checks are pending
Rust / build (push) Waiting to run
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I42b59d68cdac17ff60d52a4c25bef4686a6a6964
2025-11-17 19:19:31 +03:00
325ec69024
chore: tag 0.4.10
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I6a2158a305d5f249b52c8b21dc5aaca86a6a6964
2025-11-17 18:11:44 +03:00
2a6fe2a3f1
treewide: set up Hotpath for benchmarking individual allocations
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I0351e5753996e6d0391fc9e2f329878a6a6a6964
2025-11-17 17:40:46 +03:00
af8031f9ec
meta: selectively enable Clippy lint-groups projectwide
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Ic6eedd28e1ad48a67c988607dd45d7686a6a6964
2025-11-17 16:20:42 +03:00
8800b69ef3
chore: bump dependencies
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I6a6a69647ad9cfdd52eec7fa9ae4a184b9c8ea0d
2025-11-17 16:20:36 +03:00
14d8f9390d
chore: bump criterion
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I6a6a6964e55c9925511d83d6be9b2ba001613983
2025-08-04 21:04:31 +03:00
bc03fd73a0
0.4.9
Some checks failed
Rust / build (push) Has been cancelled
2025-06-22 03:11:45 +03:00
f20f1e33eb
chore: bump dependencies 2025-06-22 03:04:40 +03:00
61d4b7377f
colors: remove lazy_static dependency and use LazyLock for COLORS 2025-06-22 02:53:21 +03:00
f7d7c73073
chore: bump nix crate; 0.4.8
Some checks failed
Rust / build (push) Has been cancelled
2025-05-02 12:50:41 +03:00
8df950d340
bump deps; add libc crate 2025-04-10 08:12:19 +03:00
774442eb63
0.4.6
Some checks failed
Rust / build (push) Has been cancelled
2025-01-26 01:08:44 +03:00
592fb58474
get rid of color_eyre
Should never have added it. Annoyingly long compile times for no reason...
2025-01-26 00:57:02 +03:00
4b7836d572
append newline to write_all output
Fixes a small bug that resulted in terminal artifacts. My bad, gang.
2024-12-19 19:13:16 +03:00
c97fa33aec
0.4.3
Moar speed, NO_COLOR support
2024-12-19 18:47:04 +03:00
a96effb875
bump version 2024-12-19 18:14:15 +03:00
065216af7c
colors: respect NO_COLOR spec
Microfetch will now respect the NO_COLOR environment variable if it has
been passed to the program. The performance overhead of this operation
is almost none. In addition, the main function has been updated to lock
stdout.
2024-12-19 17:21:56 +03:00
9ed9e8d930
increment cargo version
Some checks failed
Rust / build (push) Has been cancelled
2024-08-17 21:14:09 +03:00
vali
f1e8ca8773
add benchmarking for individual functions (#9)
* add benchmarking

* update README to include benchmarking of individual functions

* README: formatting

* README: add link to Criterion's getting_started

* shell.nix: add gnuplot

Since Criterion.rs uses gnuplot to generate nice plots, add it to the
shell.

* Cargo.toml: fixed microfetch binary name

* benchmark.rs: fix benchmark function's name

* Update README.md

---------

Co-authored-by: raf <raf@notashelf.dev>
2024-08-15 17:43:39 +00:00
cd8ddc2177
increment cargo version
Some checks are pending
Rust / build (push) Waiting to run
2024-08-14 00:23:08 +03:00
e90de78b61
increment cargo version 2024-08-14 00:00:11 +03:00
Ryan
13903539b7
perf: use nix::sys::utsname::uname for less syscalls (#2)
Instead of reading multiple files to get the `sysname`, `release`, and
`machine` name, use the `nix::sys::utsname::uname` function which sends a
single uname syscall instead. This increases performance and portability.

From my observations, there are ~10 less syscalls.
2024-08-05 08:08:25 +00:00
1ced9b4527
increment cargo version 2024-08-05 02:19:19 +03:00
5c335d179e
isolate build profiles; optimize dev 2024-08-05 02:02:58 +03:00
72d3130aa0
clean up get_desktop_info; increment minor version 2024-08-04 22:04:23 +03:00
482ffe96cd
increment version 2024-08-04 17:21:08 +03:00
c2deeb38a4
increment version 2024-08-04 13:08:48 +03:00
81cdc0a281
speeding it up 2024-08-04 12:44:19 +03:00
158f4810c8
bump cargo version 2024-08-04 00:42:58 +03:00
6dafa776d2
remove libc crate; optimize release profile 2024-08-03 23:09:29 +03:00
aae5f71004
use nix crate instead of libc
Provides a higher level and lighter alternative.
2024-08-03 20:56:02 +03:00
f5697754e5
implement color_eyre; main implements Result 2024-08-03 20:04:09 +03:00
6a77ad0682
initial commit 2024-08-03 19:06:29 +03:00