Uploaded image for project: 'S2Graph'
  1. S2Graph
  2. S2GRAPH-21

Change PostProcessBenchmarkSpec not to store and fetch test data from storage

    XMLWordPrintableJSON

Details

    • Test
    • Status: Done
    • Trivial
    • Resolution: Done
    • None
    • None
    • None

    Description

      What PostProcessBenchmarkSpec supposed to do is testing performance of methods on PostProcess.

      Currently, this spec does following on setup phase.

      1. delete and re-create test Service
      2. delete and re-create test Label
      3. insert test data into HBase

      also to run PostProcess`s method, it actually fetch inserted data from setup phase.

      I suggest not create test Label and insert test data entirely.
      instead we can create QueryRequest, QueryResult, QueryRequestWithResult classes without actually store test data.

      I think by using mocked edges

      1. we can run this test without need for DBMS and HBase so we can concentrate on PostProcess logic`s performance only.
      2. more flexible and fast test can be possible with regard to number of edges in QueryResult.

      In general, I think there should be no dependency on RDBMS + HBase for benchmark specs.

      Attachments

        Activity

          People

            steamshon Do Yung Yoon
            steamshon Do Yung Yoon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 48h
                48h
                Remaining:
                Remaining Estimate - 48h
                48h
                Logged:
                Time Spent - Not Specified
                Not Specified