7 releases (4 stable)
| 1.0.3 | Sep 4, 2025 |
|---|---|
| 1.0.2 | Sep 3, 2025 |
| 1.0.1 | Mar 11, 2025 |
| 0.1.2 | May 29, 2022 |
| 0.1.0 | Nov 13, 2021 |
#1553 in Procedural macros
13,089 downloads per month
Used in 127 crates
(via aleo-std)
15KB
113 lines
aleo-std-timed
This crate implements a profiler to conveniently time function executions.
use aleo_std::prelude::*;
#[timed]
fn foo(y: i32) -> i32 {
let mut x = 1;
let d = 1_000;
x += d;
x += y;
x
}
#[timed]
fn main() {
foo(23);
}
Dependencies
~1.5MB
~40K SLoC