AFKBHYVE25QMIU2WZATEGWG2EXSBQZ44DVDPACKNS3M4QGBF4ONAC
debug!("===========================");
crate::debug::debug(&txn, &[&db], "debug0", true);
put(&mut txn, &mut db, &n, &n).unwrap();
crate::debug::debug(&txn, &[&db], "debug", true);
println!("sized: {:?}", now.elapsed());
println!("sized put: {:?}", now.elapsed());
let now = std::time::SystemTime::now();
for i in 0..n {
debug!("=================== {:?}", i);
btree::get(&txn, &db, &i, None).unwrap();
}
println!("sized lookup: {:?}", now.elapsed());
println!("unsized: {:?}", now.elapsed());
*/
println!("unsized put: {:?}", now.elapsed());
let now = std::time::SystemTime::now();
for i in 0..n {
debug!("=================== {:?}", i);
btree::get(&txn, &db, &i, None).unwrap();
}
println!("unsized lookup: {:?}", now.elapsed());