[
https://issues.apache.org/jira/browse/S2GRAPH-99?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15448034#comment-15448034
]
ASF GitHub Bot commented on S2GRAPH-99:
---------------------------------------
GitHub user SteamShon opened a pull request:
https://github.com/apache/incubator-s2graph/pull/69
[S2GRAPH-99]: Reduce number of test run on test cases on
org.apache.s2graph.rest.play.benchmark
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/SteamShon/incubator-s2graph S2GRAPH-99
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-s2graph/pull/69.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #69
----
commit a06baa75f0f692e23e3032905b141d32c7130c8b
Author: DO YUNG YOON <[email protected]>
Date: 2016-08-29T14:10:07Z
reduce test number.
----
> Reduce number of test run on test cases on
> org.apache.s2graph.rest.play.benchmark
> ---------------------------------------------------------------------------------
>
> Key: S2GRAPH-99
> URL: https://issues.apache.org/jira/browse/S2GRAPH-99
> Project: S2Graph
> Issue Type: Sub-task
> Affects Versions: 0.1.0
> Reporter: DOYUNG YOON
> Assignee: DOYUNG YOON
> Fix For: 0.1.0
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> 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.
> {noformat}
> ==================================================
> 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
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)