mirror of
https://github.com/rdkit/rdkit.git
synced 2026-06-04 21:54:27 +08:00
* Add many new c++ catch2 performance benchmarks. * inline splitmix64 from boost, splitmix64 is not always available in boost. fun fact, this version is ~twice as fast * reduce intensity of memory pressure test, target 200MB usage. * new bench compound; accept suggestion from code review * bench MolToCXSmiles * Update Code/Bench/stereo.cpp * impl first part of the suggestions from code reveiw * impl second part of the suggestions from code reveiw
13 lines
248 B
C++
13 lines
248 B
C++
// benches about benches
|
|
|
|
#include <catch2/catch_all.hpp>
|
|
#include <string>
|
|
|
|
#include "bench_common.hpp"
|
|
|
|
TEST_CASE("bench_common::nth_random", "[meta]") {
|
|
BENCHMARK("bench_common::nth_random", i) {
|
|
return bench_common::nth_random(i);
|
|
};
|
|
}
|