feat(obisys): Add stage-based performance profiler

Establishes the `obisys` crate using Rust 2024 and the `libc` dependency. Introduces a lightweight profiler that captures wall-clock time and `getrusage` system metrics per pipeline stage. Automatically computes parallelism and efficiency ratios, detects bottlenecks such as memory pressure and disk I/O, and prints a formatted diagnostic summary to stderr.
This commit is contained in:
Eric Coissac
2026-05-17 15:36:20 +08:00
parent 4736a7b6de
commit d0c277d5b6
2 changed files with 254 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
[package]
name = "obisys"
version = "0.1.0"
edition = "2024"
[dependencies]
libc = "0.2"