Uploaded image for project: 'S2Graph'
  1. S2Graph
  2. S2GRAPH-86 First Release
  3. S2GRAPH-99

Reduce number of test run on test cases on org.apache.s2graph.rest.play.benchmark

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Done
    • Major
    • Resolution: Done
    • 0.1.0
    • 0.1.0
    • None
    • None

    Description

      Currently SamplingBenchmarkSpec on s2rest_play project test different sampling methods on size 1000 edges averaging 500000 times. Since we are more interested on relative performance between different sampling method rather than absolute peformance, I am suggesting to reduce number of test run from 500000 to 10000(1/50) to make test run faster.

      ==================================================
      Random Array Sampling: took 8696 ms
      ==================================================
      
      ==================================================
      Shuffle Sampling: took 30263 ms
      ==================================================
      
      ==================================================
      RNG Sampling: took 21161 ms
      ==================================================
      [info] SamplingBenchmarkSpec
      [info]
      [info] sample should
      [info] + sample benchmark
      [info]
      [info] Total for specification SamplingBenchmarkSpec
      [info] Finished in 2 minutes 5 seconds, 499 ms
      

      Attachments

        Issue Links

          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 - 24h
                  24h
                  Remaining:
                  Remaining Estimate - 24h
                  24h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified