dec3dcf7b86168234e38e4f40059abecd3245c44,testing/test_profiling.py,TestProfiling,test_eachtime,#TestProfiling#,69

Before Change


        with gpflow.settings.temp_settings(s):
            self.m.compile()
            self.m._objective(self.m.get_free_state())
            self.m._objective(self.m.get_free_state())

        for f in glob.glob(s.profiling.output_directory + "timeline_objective_*.json"):
            os.remove(f)

After Change


        s.profiling.output_file_name = name
        with gpflow.settings.temp_settings(s):
            m.compile()
            opt = gpflow.train.ScipyOptimizer()
            opt.minimize(m, maxiter=2)

        pattern = s.profiling.output_directory + "/{name}*.json".format(name=name)
        for filename in glob.glob(pattern):
            os.remove(filename)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: GPflow/GPflow
Commit Name: dec3dcf7b86168234e38e4f40059abecd3245c44
Time: 2017-10-29
Author: art.art.v@gmail.com
File Name: testing/test_profiling.py
Class Name: TestProfiling
Method Name: test_eachtime


Project Name: GPflow/GPflow
Commit Name: 49a385eae93032125a6718433b3ca1753aee3b1e
Time: 2017-11-02
Author: art.art.v@gmail.com
File Name: testing/test_method_equivalence.py
Class Name: TestEquivalence
Method Name: test_all


Project Name: GPflow/GPflow
Commit Name: dec3dcf7b86168234e38e4f40059abecd3245c44
Time: 2017-10-29
Author: art.art.v@gmail.com
File Name: testing/test_profiling.py
Class Name: TestProfiling
Method Name: test_profile