Skip to content

Commit

Permalink
Remove time testing
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilyMatt committed Jun 9, 2024
1 parent 0de37be commit 8e1ee3d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions examples/basic_usage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
*/

use falkordb::{FalkorClientBuilder, FalkorResult};
use std::time::Instant;

fn main() -> FalkorResult<()> {
let client = FalkorClientBuilder::new()
Expand Down Expand Up @@ -40,9 +39,7 @@ fn main() -> FalkorResult<()> {
cloned_graph.delete()?;

let res_again = graph.query("MATCH (a:actor) return a").execute()?;
let time = Instant::now();
let as_vec = res_again.data.collect::<Vec<_>>();
println!("{}", time.elapsed().as_micros());
assert_eq!(as_vec.len(), 1317);

Ok(())
Expand Down

0 comments on commit 8e1ee3d

Please sign in to comment.