Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Commit

Permalink
Revert "eliminate lock on record (#15929)"
Browse files Browse the repository at this point in the history
This reverts commit 57ba86c.
  • Loading branch information
jeffwashington authored Mar 23, 2021
1 parent e7fd7d4 commit f1e787b
Show file tree
Hide file tree
Showing 6 changed files with 153 additions and 452 deletions.
3 changes: 0 additions & 3 deletions core/benches/banking_stage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,6 @@ fn bench_consume_buffered(bencher: &mut Bencher) {
let (exit, poh_recorder, poh_service, _signal_receiver) =
create_test_recorder(&bank, &blockstore, None);

let recorder = poh_recorder.lock().unwrap().recorder();

let tx = test_tx();
let len = 4096;
let chunk_size = 1024;
Expand All @@ -90,7 +88,6 @@ fn bench_consume_buffered(bencher: &mut Bencher) {
&s,
None::<Box<dyn Fn()>>,
None,
&recorder,
);
});

Expand Down
Loading

0 comments on commit f1e787b

Please sign in to comment.