dec3dcf7b86168234e38e4f40059abecd3245c44,testing/test_profiling.py,TestProfiling,test_profile,#TestProfiling#,28

Before Change



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

        expected_file = "".join([
            s.profiling.output_directory,
            s.profiling.output_file_name,

After Change


        s.profiling.output_file_name = "test_trace_profile"

        with gpflow.settings.temp_settings(s):
            m.compile()
            opt = gpflow.train.ScipyOptimizer()
            opt.minimize(m, maxiter=10)

        expected_file = os.path.join(s.profiling.output_directory,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

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_profile


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_eachtime