243280928c7cf131b9087583fbee1e506ac47ed4,skopt/tests/test_searchcv.py,,test_parallel_cv,#,86

Before Change


    time_one_job = start_time - time.time()
    start_time = time.time()
    test_searchcv_runs(surrogate="gp", n_jobs=2, n_points=1, cv=10)
    time_two_jobs = start_time - time.time()

    assert_greater(time_one_job, time_two_jobs, "Two jobs are not "
                                                "faster than one job")

After Change


    time_one_job = time.time() - start_time
    start_time = time.time()
    _fit_svc(n_jobs=-1, cv=10)
    time_two_jobs = time.time() - start_time
    assert_greater(time_one_job, time_two_jobs, "Single-core job is faster than multi-core job.")

Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 2

Instances


Project Name: scikit-optimize/scikit-optimize
Commit Name: 243280928c7cf131b9087583fbee1e506ac47ed4
Time: 2018-02-08
Author: rene.rex@kws.com
File Name: skopt/tests/test_searchcv.py
Class Name:
Method Name: test_parallel_cv


Project Name: eriklindernoren/PyTorch-YOLOv3
Commit Name: 4fde867a550b532a6bbc6ea82db69a0d902862f9
Time: 2019-04-22
Author: eriklindernoren@live.se
File Name: train.py
Class Name:
Method Name:


Project Name: rasbt/mlxtend
Commit Name: c2abce56431e874d0968658bffd56d589036445c
Time: 2017-11-04
Author: mathew@mathewsavage.com
File Name: mlxtend/utils/counter.py
Class Name: Counter
Method Name: update


Project Name: andresriancho/w3af
Commit Name: a0a4fd099e664bcbbd207df1368e9ce8d947a407
Time: 2018-07-21
Author: andres.riancho@gmail.com
File Name: w3af/core/controllers/core_helpers/status.py
Class Name: CoreStatus
Method Name: get_run_time