solana/runtime/benches
Greg Fitzgerald 878a842611
Move append_vec bench to the crate with append_vec (#3650)
* Move append_vec bench to the crate with append_vec

* Use black_box to tell the compiler not to optimize away test data

```
pub fn black_box<T>(dummy: T) -> T {
    unsafe {
        let ret = std::ptr::read_volatile(&dummy);
        std::mem::forget(dummy);
        ret
    }
}
```

* Revert "Use black_box to tell the compiler not to optimize away test data"

This reverts commit 5610b8ee957f1d8bf6e270e392859e8b23b1e472.

* Use black_box to tell the compiler not to optimize away test data

* Create bench directories
2019-04-06 07:18:56 -06:00
..
accounts.rs update with review comments 2019-04-01 15:54:53 -06:00
append_vec.rs Move append_vec bench to the crate with append_vec (#3650) 2019-04-06 07:18:56 -06:00
bank.rs Remove Instruction wrapper structs and name functions after enum fields 2019-04-03 13:34:27 -07:00
bloom.rs Remove prints 2019-03-05 14:09:40 -08:00
message_processor.rs Rename Runtime to MessageProcessor 2019-04-02 12:49:26 -06:00