Commit 94fea38d authored by incardon's avatar incardon

Adding map performance test

parent 0b083860
openfpm_data @ 1235bd2f
Subproject commit 3ead9a385858ebc6b62da49afa1a519af51c146e
Subproject commit 1235bd2fee3b8e37245bc7b8b4cf509242202a1a
......@@ -155,7 +155,25 @@ BOOST_AUTO_TEST_CASE(vector_dist_gg_map_performance_write_report)
report_ggm.graphs.add("graphs.graph.y.data(0).source","performance.map_3D.npart(#).mean");
report_ggm.graphs.add("graphs.graph.x.data(0).source","performance.map_3D.npart(#).n");
report_ggm.graphs.add("graphs.graph.y.data(0).title","Map function");
report_ggm.graphs.add("graphs.graph.options.log_y","true");
report_ggm.graphs.add("graphs.graph.options.log_y","false");
if (create_vcluster().rank() == 0)
{
boost::property_tree::xml_writer_settings<std::string> settings(' ', 4);
boost::property_tree::write_xml("particles_map_performance.xml", report_ggm.graphs,std::locale(),settings);
std::string file_xml_ref(test_dir);
file_xml_ref += std::string("/openfpm_pdata/particles_map_performance_ref.xml");
GoogleChart cg;
StandardXMLPerformanceGraph("particles_map_performance.xml",file_xml_ref,cg);
addUpdtateTime(cg,create_vcluster().size());
if (create_vcluster().getProcessUnitID() == 0)
{cg.write("particles_map_performance.html");}
}
}
BOOST_AUTO_TEST_SUITE_END()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment