Skip to content

Commit

Permalink
fixes for benches
Browse files Browse the repository at this point in the history
  • Loading branch information
fabianmurariu committed Jun 26, 2024
1 parent 470bea1 commit d47a2bc
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 5 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pometry-storage-private
1 change: 1 addition & 0 deletions raphtory-benchmark/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ edition = "2021"
[dependencies]
criterion = { workspace = true }
raphtory = { path = "../raphtory", features = ["io"] }
raphtory-api = { path = "../raphtory-api" }
raphtory-graphql = { path = "../raphtory-graphql", version = "0.9.3" }
pometry-storage.workspace = true
sorted_vector_map = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion raphtory-benchmark/benches/graph_ops.rs
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
use common::run_graph_ops_benches;
use criterion::{criterion_group, criterion_main, Criterion};
use raphtory::{
core::utils::hashing::calculate_hash,
graph_loader::{
example::sx_superuser_graph::{sx_superuser_file, sx_superuser_graph, TEdge},
source::csv_loader::CsvLoader,
},
prelude::*,
};
use raphtory_api::core::utils::hashing::calculate_hash;

mod common;

Expand Down
3 changes: 0 additions & 3 deletions raphtory/src/db/api/storage/storage_ops.rs
Original file line number Diff line number Diff line change
Expand Up @@ -232,9 +232,6 @@ impl GraphStorage {
.as_ref()
.map_or(true, |type_filter| type_filter[node.node_type_id()]);
let s = view.filter_node(self.node(vid).as_ref(), view.layer_ids());

println!("name = {:?}, id = {}, r = {}, s = {}", n, i, r, s);

r && s
})
}
Expand Down

0 comments on commit d47a2bc

Please sign in to comment.