1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-09-03 14:10:33 +03:00

0027608: Tests - drop useless performance comparison from perf/fclasses/handle

Correction of test case perf/fclasses/handle according to the current behavior
This commit is contained in:
kgv
2016-06-16 12:44:18 +03:00
committed by bugmaster
parent 3672371654
commit f767cea690
2 changed files with 4 additions and 13 deletions

View File

@@ -439,7 +439,7 @@ static Standard_Integer QAHandleInc (Draw_Interpretor& theDI,
theDI << "Time of creating and destroying " << aNbIters << " smart pointers to the same object, per item, ns:";
{
{
QATimer aTimer (theDI, "\nOCCT Handle: ", QATimer::ns, aNbIters);
QATimer aTimer (theDI, "\nOCCT Handle: ", QATimer::ns, aNbIters);
{
std::vector<Handle(Standard_Transient)> aHandles (aNbIters);
for (Standard_Integer anIter = 0; anIter < aNbIters; ++anIter)
@@ -449,7 +449,7 @@ static Standard_Integer QAHandleInc (Draw_Interpretor& theDI,
}
}
{
QATimer aTimer (theDI, "\nsC++ shared_ptr: ", QATimer::ns, aNbIters);
QATimer aTimer (theDI, "\nC++ shared_ptr: ", QATimer::ns, aNbIters);
{
std::vector< std::shared_ptr<Standard_Transient> > aSharePointers (aNbIters);
for (Standard_Integer anIter = 0; anIter < aNbIters; ++anIter)