3f730e4c0d5761ada641f4652b3638c2e879ac09,timing/python/framework/main.py,,main,#Any#Any#,7

Before Change


            if member.__name__ not in args.include:
                continue
        if args.list:
            obj = create_benchmark_object(member)
            jobs = get_all_jobs(obj, args.benchmark_shuffle)
            for job in jobs:
                print(job)
        else:
            obj = create_benchmark_object(member)
            logger.info("Running Benchmark " + str(member.__name__))
            run_benchmark(obj, member.__name__, args)

After Change


        if args.list:
            [print(job) for job in jobs]
        else:
            blogger = BenchmarkLogger(args, obj)
            blogger.print_header()
            for job in jobs:
                row = run_benchmark_job(job, obj, args)
                blogger.print_row(row, job)
            blogger.close()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: pytorch/benchmark
Commit Name: 3f730e4c0d5761ada641f4652b3638c2e879ac09
Time: 2018-06-16
Author: cpuhrsch@fb.com
File Name: timing/python/framework/main.py
Class Name:
Method Name: main


Project Name: polyaxon/polyaxon
Commit Name: 57a90c815b43fdfa6031597bbafa9fbcbfc00fe6
Time: 2017-12-13
Author: mouradmourafiq@gmail.com
File Name: polyaxon_cli/cli/cluster.py
Class Name:
Method Name: get_node_info


Project Name: polyaxon/polyaxon
Commit Name: 57a90c815b43fdfa6031597bbafa9fbcbfc00fe6
Time: 2017-12-13
Author: mouradmourafiq@gmail.com
File Name: polyaxon_cli/cli/cluster.py
Class Name:
Method Name: get_cluster_info