mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-01-03 06:13:07 +00:00
tweak logs
This commit is contained in:
parent
eb27a2d2b2
commit
eb15837acb
@ -1,4 +1,4 @@
|
||||
use log::info;
|
||||
use log::debug;
|
||||
|
||||
use crate::field::extension_field::Extendable;
|
||||
use crate::field::field_types::RichField;
|
||||
@ -86,7 +86,7 @@ impl<F: RichField + Extendable<D>, const D: usize> Tree<GateRef<F, D>> {
|
||||
}
|
||||
}
|
||||
}
|
||||
info!(
|
||||
debug!(
|
||||
"Found tree with max degree {} and {} constants wires in {:.4}s.",
|
||||
best_degree,
|
||||
best_num_constants,
|
||||
@ -221,6 +221,8 @@ impl<F: RichField + Extendable<D>, const D: usize> Tree<GateRef<F, D>> {
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use log::info;
|
||||
|
||||
use super::*;
|
||||
use crate::field::goldilocks_field::GoldilocksField;
|
||||
use crate::gates::arithmetic_extension::ArithmeticExtensionGate;
|
||||
|
||||
@ -622,7 +622,7 @@ impl<F: RichField + Extendable<D>, const D: usize> CircuitBuilder<F, D> {
|
||||
..=1 << self.config.rate_bits)
|
||||
.min_by_key(|&q| num_partial_products(self.config.num_routed_wires, q).0 + q)
|
||||
.unwrap();
|
||||
info!("Quotient degree factor set to: {}.", quotient_degree_factor);
|
||||
debug!("Quotient degree factor set to: {}.", quotient_degree_factor);
|
||||
let prefixed_gates = PrefixedGate::from_tree(gate_tree);
|
||||
|
||||
let subgroup = F::two_adic_subgroup(degree_bits);
|
||||
@ -725,7 +725,7 @@ impl<F: RichField + Extendable<D>, const D: usize> CircuitBuilder<F, D> {
|
||||
circuit_digest,
|
||||
};
|
||||
|
||||
info!("Building circuit took {}s", start.elapsed().as_secs_f32());
|
||||
debug!("Building circuit took {}s", start.elapsed().as_secs_f32());
|
||||
CircuitData {
|
||||
prover_only,
|
||||
verifier_only,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user