message: Add int query performance test
  We are going to make some changes to the way query in int properties are done.
  This test makes it easier to track performance as we go along and the test can be used
  to find hot spots in the code.
diff: @@ -5640,4 +5640,53 @@ TEST(Query_OptimalNode)
  // std::cout << "cnt: " << cnt << " dur3: " << dur3 << " us" << std::endl;
  }
  +TEST(Query_IntPerformance)
  +{
  + Table table;
  + auto col_1 = table.add_column(type_Int, "1");
  + auto col_2 = table.add_column(type_Int, "2");
  +
  + for (int i = 0; i < 1000; i++) {
  + Obj o = table.create_object().set(col_1, i).set(col_2, i == 500 ? 500 : 2);
  + }
  +
  + Query q1 = table.where().equal(col_2, 2);
  + Query q2 = table.where().not_equal(col_1, 500);
  +
  + auto t1 = steady_clock::now();
  +
  + CALLGRIND_START_INSTRUMENTATION;
  +
  + size_t nb_reps = 1000;
  + for (size_t t = 0; t < nb_reps; t++) {
  + TableView tv = q1.find_all();
  + CHECK_EQUAL(tv.size(), 999);
  + }
  +
  + auto t2 = steady_clock::now();
  +
  + for (size_t t = 0; t < nb_reps; t++) {
  + TableView tv = q2.find_all();
  + CHECK_EQUAL(tv.size(), 999);
  + }
  +
  + auto t3 = steady_clock::now();
  +
  + for (size_t t = 0; t < nb_reps; t++) {
  + auto sum = q2.sum_int(col_2);
  + CHECK_EQUAL(sum, 1998);
  + }
  +
  + CALLGRIND_STOP_INSTRUMENTATION;
  +
  + auto t4 = steady_clock::now();
  +
  + std::cout << nb_reps << " repetitions in Query_IntPerformance" << std::endl;
  + std::cout << " time equal: " << duration_cast<nanoseconds>(t2 - t1).count() / nb_reps << " ns/rep"
  + << std::endl;
  + std::cout << " time not_equal: " << duration_cast<nanoseconds>(t3 - t2).count() / nb_reps << " ns/rep"
  + << std::endl;
  + std::cout << " time sum: " << duration_cast<nanoseconds>(t4 - t3).count() / nb_reps << " ns/rep" << std::endl;
  +}
  +
  #endif // TEST_QUERY
  