Skip to content

Commit

Permalink
Disable file sink and files bench
Browse files Browse the repository at this point in the history
Signed-off-by: MOZGIII <[email protected]>
  • Loading branch information
MOZGIII committed Feb 26, 2020
1 parent 5c351a5 commit a8515e6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion benches/bench.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ criterion_main!(
buffering::buffers,
http::http,
batch::batch,
files::files,
/* files::files, */
lua::lua,
event::event
);
Expand Down
2 changes: 2 additions & 0 deletions benches/files.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#![cfg(feature = "disabled")]

use bytes::Bytes;
use criterion::{criterion_group, Benchmark, Criterion, Throughput};
use futures01::{sink::Sink, stream::Stream, Future};
Expand Down
2 changes: 2 additions & 0 deletions src/sinks/file/mod.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#![cfg(feature = "disabled")]

mod file;

use self::file::File;
Expand Down

0 comments on commit a8515e6

Please sign in to comment.