Commit graph

16 commits

Author SHA1 Message Date
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