Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CERN Summer Student Project] TMVA BDT Benchmarking #231

Open
wants to merge 24 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Taking memory measure _before_ model is loaded
xmif1 committed Aug 12, 2021
commit e5771ffa28235eb8b2460781f3a2d9c0bb706ed0
2 changes: 1 addition & 1 deletion root/tmva/tmva/BoostedDTBenchmarks.cxx
Original file line number Diff line number Diff line change
@@ -117,12 +117,12 @@ static void BM_TMVA_BDTTesting(benchmark::State &state){
for(auto _: state){
// Test a TMVA method via RReader
string key = to_string(state.range(0)) + "_" + to_string(state.range(1));
RReader model("./bdt-bench/weights/bdt-bench_BDT_" + key + ".weights.xml");

// Get current memory usage statistics after setup
gSystem->GetProcInfo(&pinfo);
init_mem_res = pinfo.fMemResident;

RReader model("./bdt-bench/weights/bdt-bench_BDT_" + key + ".weights.xml");
model.Compute(testTensor);

// Maintain Memory statistics (independent from Google Benchmark)