Skip to content

Commit

Permalink
Merge pull request #134 from banyancomputer/docs_cleanup
Browse files Browse the repository at this point in the history
Docs cleanup
  • Loading branch information
laudiacay committed Mar 9, 2023
2 parents 4c0fc70 + 4fc7bab commit eb3ed06
Show file tree
Hide file tree
Showing 23 changed files with 428 additions and 478 deletions.
112 changes: 51 additions & 61 deletions Cargo.lock

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

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ tokio = { version = "1.24", features = ["full", "io-util", "fs"]}
tokio-stream = { version = "0.1.11", features = ["fs"]}
jwalk = "0.8.1"
rand = "0.8.4"
blake2 = "0.10.6"
uuid = { version = "1.2.2", features = ["v4"]}
serde ={version= "1.0.152", features = ["derive"]}
serde_json = { version = "1.0.72", features = ["std"]}
Expand Down
1 change: 0 additions & 1 deletion dataprep-lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ anyhow.workspace = true
tokio.workspace = true
tokio-stream.workspace = true
jwalk.workspace = true
blake2.workspace = true
uuid.workspace = true
serde.workspace = true
serde_json.workspace = true
Expand Down
15 changes: 4 additions & 11 deletions dataprep-lib/benches/pipeline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -320,9 +320,9 @@ fn pack_benchmark(
// The routine to benchmark
|_| async {
pack_pipeline(
black_box(input_path.clone()),
black_box(packed_path.clone()),
black_box(manifest_path.clone()),
black_box(input_path),
black_box(packed_path),
black_box(manifest_path),
// TODO (amiller68) - make this configurable
black_box(1073741824),
black_box(false),
Expand Down Expand Up @@ -368,14 +368,7 @@ fn unpack_benchmark(
// Operation needed to make sure unpack doesn't fail
|| prep_unpack(unpacked_path, manifest_path),
// The routine to benchmark
|_| async {
unpack_pipeline(
black_box(packed_path.clone()),
black_box(unpacked_path.clone()),
black_box(manifest_path.clone()),
)
.await
},
|_| async { unpack_pipeline(black_box(unpacked_path), black_box(manifest_path)).await },
// We need to make sure this data is cleared between iterations
// We only want to use one iteration
BatchSize::PerIteration,
Expand Down
2 changes: 2 additions & 0 deletions dataprep-lib/src/do_pipeline_and_write_metadata/mod.rs
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
/// This module contains the pack_pipeline function, which is the main entry point for packing new data.
pub mod pack_pipeline;
/// This module contains the unpack_pipeline function, which is the main entry point for extracting previously packed data.
pub mod unpack_pipeline;
Loading

0 comments on commit eb3ed06

Please sign in to comment.