eb4d832c14e8bc8180efb96b134c892d868a890d,tests/data/test_metapath_walker.py,TestMetaPathWalk,test_benchmark_uniformrandommetapathwalk,#TestMetaPathWalk#Any#,318

Before Change



    def test_benchmark_uniformrandommetapathwalk(self, benchmark):

        g = create_test_graph()
        mrw = UniformRandomMetaPathWalk(g)

        nodes = ["0"]
        n = 5

After Change


        mrw = UniformRandomMetaPathWalk(g)

        // this should be made larger to be more realistic, when it is fast enough
        nodes = np.arange(0, 5)
        n = 5
        length = 5
        metapaths = [
            ["n-0", "n-1", "n-1", "n-0"],
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 6

Non-data size: 3

Instances


Project Name: stellargraph/stellargraph
Commit Name: eb4d832c14e8bc8180efb96b134c892d868a890d
Time: 2020-05-03
Author: Huon.Wilson@data61.csiro.au
File Name: tests/data/test_metapath_walker.py
Class Name: TestMetaPathWalk
Method Name: test_benchmark_uniformrandommetapathwalk


Project Name: stellargraph/stellargraph
Commit Name: eb4d832c14e8bc8180efb96b134c892d868a890d
Time: 2020-05-03
Author: Huon.Wilson@data61.csiro.au
File Name: tests/data/test_heterogeneous_breadth_first_walker.py
Class Name: TestSampledHeterogeneousBreadthFirstWalk
Method Name: test_benchmark_sampledheterogeneousbreadthfirstwalk


Project Name: stellargraph/stellargraph
Commit Name: 611df50c810f629e3f9cd7a0649cef8d8f68bb04
Time: 2020-05-03
Author: Huon.Wilson@data61.csiro.au
File Name: tests/data/test_biased_random_walker.py
Class Name: TestBiasedRandomWalk
Method Name: test_benchmark_biasedrandomwalk


Project Name: stellargraph/stellargraph
Commit Name: eb4d832c14e8bc8180efb96b134c892d868a890d
Time: 2020-05-03
Author: Huon.Wilson@data61.csiro.au
File Name: tests/data/test_breadth_first_walker.py
Class Name: TestBreadthFirstWalk
Method Name: test_benchmark_bfs_walk


Project Name: stellargraph/stellargraph
Commit Name: eb4d832c14e8bc8180efb96b134c892d868a890d
Time: 2020-05-03
Author: Huon.Wilson@data61.csiro.au
File Name: tests/data/test_uniform_random_walker.py
Class Name: TestUniformRandomWalk
Method Name: test_benchmark_uniformrandomwalk


Project Name: stellargraph/stellargraph
Commit Name: eb4d832c14e8bc8180efb96b134c892d868a890d
Time: 2020-05-03
Author: Huon.Wilson@data61.csiro.au
File Name: tests/data/test_directed_breadth_first_sampler.py
Class Name: TestDirectedBreadthFirstNeighbours
Method Name: test_benchmark_bfs_walk