AleoNet / snarkVM

A Virtual Machine for Zero-Knowledge Executions
https://snarkvm.org
Apache License 2.0
1.08k stars 1.5k forks source link

[Proposal] Profiling in snarkvm-algorithms should be optional #1102

Open MauroToscano opened 2 years ago

MauroToscano commented 2 years ago

💥 Proposal

aleo-std crate is used for profiling in snarkvm-console-algorithms . This crate and its invocations should be enabled as an additional feature.

The uses of timer and lap can be wrapped with a cfg feature enabled as needed

This is related to #1098, where aleo-std is compiled to benchmark CUDA even without CUDA, but this doesn't address the issue with the profiling always being active.

raychu86 commented 1 week ago

Should be addressed with https://github.com/ProvableHQ/aleo-std/pull/4