Refactor CppSuite counters to re-enable MacOS builds

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Test CPPsuite
    • None
    • Storage Engines - Persistence
    • SE Persistence backlog
    • None

      Problem:

      Currently entire CppSuite is disabled for MacOS builds. It is because of the CPU instruction benchmarks, which currently available only on Linux.

      In addition, the API benchmarks are split between timing and instructions count tests. This leads to code duplication.

      TODO:
      Re-enable MacOS builds with flexibly applied counters (timing, instructions).

      1. Keep single list of API benchmarking tests while applying relevant counters as needed.
        • test/cppsuite/tests/api_timing_benchmarks.cpp
        • test/cppsuite/tests/api_instruction_count_benchmarks.cpp
      2. A counter that is not supported by particular OS should not be available at run-time.
        • test/cppsuite/tests/run.cpp
        • Alternatively, an error can be printed if selected test is not available on current platform. 

            Assignee:
            [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            Alex Blekhman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: