solana/core/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
..
banking_stage.rs Remove Instruction wrapper structs and name functions after enum fields 2019-04-03 13:34:27 -07:00
blocktree.rs move core tests to core (#3355) 2019-03-18 22:08:21 -07:00
chacha.rs move core tests to core (#3355) 2019-03-18 22:08:21 -07:00
gen_keys.rs move core tests to core (#3355) 2019-03-18 22:08:21 -07:00
ledger.rs Remove Instruction wrapper structs and name functions after enum fields 2019-04-03 13:34:27 -07:00
sigverify.rs move core tests to core (#3355) 2019-03-18 22:08:21 -07:00