Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
kirillt committed Feb 28, 2024
1 parent 296fbe7 commit b0d55dc
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
8 changes: 7 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
[workspace]
members = ["data-resource", "fs-atomic-versions", "fs-index", "fs-utils"]
members = [
"data-resource",
"fs-atomic-versions",
"fs-index",
"fs-utils"
]

default-members = [
"data-resource",
"fs-atomic-versions",
Expand Down
6 changes: 5 additions & 1 deletion data-resource/benches/compute_bytes_benchmark.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@ use pprof::criterion::{Output, PProfProfiler};
use rand::prelude::*;
use std::fs;

const FILE_PATHS: [&str; 2] = ["../test-assets/lena.jpg", "../test-assets/test.pdf"]; // Add files to benchmark here
const FILE_PATHS: [&str; 2] = [
// Add files to benchmark here
"../test-assets/lena.jpg",
"../test-assets/test.pdf",
];

fn generate_random_data(size: usize) -> Vec<u8> {
let mut rng = rand::thread_rng();
Expand Down

0 comments on commit b0d55dc

Please sign in to comment.