| Crates.io | aleo-std-timed |
| lib.rs | aleo-std-timed |
| version | 1.0.3 |
| created_at | 2021-11-13 08:37:57.846982+00 |
| updated_at | 2025-09-04 20:47:38.164354+00 |
| description | A profiler to conveniently time function executions |
| homepage | |
| repository | |
| max_upload_size | |
| id | 481321 |
| size | 42,528 |
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);
}