Commit 320aedeb authored by Illia Kolesnik's avatar Illia Kolesnik
Browse files

Fixed bugs in benchmark

parent a083f9e7
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -245,7 +245,7 @@ benchmarkSearchingAll( const AbsOctree& linearOctree, const AbsOctree& classicOc
   {
      for( Index i : indecies ) {
         for( const Direction& d : Direction::ALL_DIRECTIONS() ) {
            std::ignore = linearOctree.getNeighbourCells( i, d );
            std::ignore = classicOctre.getNeighbourCells( i, d );
         }
      }
   };
@@ -281,7 +281,7 @@ benchmarkSearchingAllNotRefined( const AbsOctree& linearOctree,
   {
      for( Index i : indecies ) {
         for( const Direction& d : Direction::ALL_DIRECTIONS() ) {
            std::ignore = linearOctree.getNeighbourCells( i, d );
            std::ignore = classicOctree.getNeighbourCells( i, d );
         }
      }
   };
+1 −1
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@
DESIRED_REFINES=(100000 500000)
DESIRED_SEARCHES_RATIO=(1 2)
DESIRED_OUT_RATIO=(0.001 0.005 0.01 0.05 0.1 0.25)
INSTANCES=5
INSTANCES=3

# Stop on error
set -e
+2 −2
Original line number Diff line number Diff line
@@ -2,8 +2,8 @@

DESIRED_DISTRIBUTIONS=("unif" "normal" "exp")
DESIRED_REFINES=(10000 50000 100000 500000 1000000 5000000)
DESIRED_SEARCHES_RATIO=(0.5 1 1.5 2 2.5 3 3.5 4)
INSTANCES=5
DESIRED_SEARCHES_RATIO=(0.5 1 1.5 2 2.5 3)
INSTANCES=3

# Stop on error
set -e