Mini Report
Mini Report
Massimiliano Gentile
Implementation
Implementation of interaction analysis between vector data types
Fixes
Added links to the summary page
Minor changes to remove all the GCC warnings (but the behavior of similar() has changed)
Optimizations
Reorganization of the code to improve readability and maintainability
o db_generate_html() from 671 loc to 100 loc (-571)
o main_effects_plot_to_file() from 903 loc to 211 loc (-692)
The code related to the latex report generation can be entirely excluded if CREATE_LATEX_PDF is
not defined
Parallelization of the surface plot images creation with threads
Statistics
Old code New code Diff
Lines of code 3753 3294 -459 (-12%) Good
Core 2 Duo
Database 256 points
Function time 37.9 sec 29.75 sec -8.15 (-21%) Good
Ratio System/User Time 43.4% 55.2% +11.8 Bad
% CPU this job got 108% 158% +50 (+25%) Good
Voluntary context switches 52201 150466 +98265 (+188%) Bad
HBomb (8core)
Database 256 points
Function time 33.5 sec 19.36 sec -14.14 (-42%) Good
Ratio System/User Time 140.6% 220% +79.4 Bad
% CPU this job got 200% 501% +301 (+37.6%) Good
Voluntary context switches 1266759 1974929 +708170 (+56%) Bad
NB: In the 27648 points simulation, with the new code, 191 threads are spawned.