5 releases (2 stable)
new 1.0.1 | Mar 11, 2025 |
---|---|
1.0.0 | Mar 10, 2025 |
0.1.2 | May 29, 2022 |
0.1.1 | May 29, 2022 |
0.1.0 | Nov 13, 2021 |
#1001 in Procedural macros
9,336 downloads per month
Used in 117 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
~38K SLoC