Skip to content

Commit

Permalink
print FS speed-up
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Voigt authored and Alexander Voigt committed May 30, 2017
1 parent 8441292 commit 2925ba2
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions test/test_NMSSM_benchmark.cpp
Expand Up @@ -117,9 +117,10 @@ void test_tanbeta_scan()

Data fs_data, ss_data;

printf("%10s %30s %30s \n", "tan(beta)",
printf("%10s %30s %30s %20s\n", "tan(beta)",
"Softsusy / s (status)",
"FlexibleSUSY / s (status)");
"FlexibleSUSY / s (status)",
"FlexibleSUSY speed");

for (int i = 0; i < num_points; i++) {
const double tanBeta = tanBeta_start + i * tanBeta_step;
Expand All @@ -132,9 +133,10 @@ void test_tanbeta_scan()

run_point(input_file, fs_data, ss_data);

printf("%10g %24g (%3d) %24g (%3d)\n", tanBeta,
printf("%10g %22g (%5d) %24g (%3d) %19.1f%\n", tanBeta,
ss_data.time, ss_data.error,
fs_data.time, fs_data.error);
fs_data.time, fs_data.error,
100.*(fs_data.time - ss_data.time)/ss_data.time);
}

const double fs_average_time = fs_data.sum_of_times / fs_data.number_of_valid_points;
Expand Down

0 comments on commit 2925ba2

Please sign in to comment.