Skip to content
Snippets Groups Projects
Commit eaed2bd6 authored by Ansgar Philippsen's avatar Ansgar Philippsen
Browse files

added a io/mae profiling test

parent 85459226
Branches
Tags
No related merge requests found
...@@ -364,8 +364,14 @@ mol::EntityHandle LoadMAE(const String& file_name) ...@@ -364,8 +364,14 @@ mol::EntityHandle LoadMAE(const String& file_name)
MAEReader reader(file_name); MAEReader reader(file_name);
mol::EntityHandle ent=mol::CreateEntity(); mol::EntityHandle ent=mol::CreateEntity();
mol::XCSEditor editor=ent.EditXCS(mol::BUFFERED_EDIT); mol::XCSEditor editor=ent.EditXCS(mol::BUFFERED_EDIT);
reader.Import(ent); {
conop::Conopology::Instance().ConnectAll(builder,ent); Profile profile("import MAE");
reader.Import(ent);
}
{
Profile profile("connect all");
conop::Conopology::Instance().ConnectAll(builder,ent);
}
return ent; return ent;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment