f1341aadc81819ed2bb3223a9fa878ec7b25f547,dev/benchmarks/compare_to_brian1.py,,,#,134

Before Change


if __name__=="__main__":
    import multiprocessing, collections
    pool = multiprocessing.Pool(1, maxtasksperchild=1)
    funcs = [brian1_CUBA, brian2_CUBA]
    from pylab import *
    numfigs = 0
    for func in funcs:
        N = [10, 100, 1000, 10000]

After Change



    figure(figsize=(16, 8))
    for func in funcs:
        pfunc = functools.partial(func, **options)
        all_results = pool.map(pfunc, N)
        times = collections.defaultdict(list)
        for res in all_results:
            for k, v in res.items():
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: brian-team/brian2
Commit Name: f1341aadc81819ed2bb3223a9fa878ec7b25f547
Time: 2015-12-01
Author: dg.github@thesamovar.net
File Name: dev/benchmarks/compare_to_brian1.py
Class Name:
Method Name:


Project Name: keras-team/keras
Commit Name: 151b5f9778b4c2d2d75a46bcc438349b7659e743
Time: 2017-03-12
Author: francois.chollet@gmail.com
File Name: keras/legacy/interfaces.py
Class Name:
Method Name:


Project Name: tensorflow/magenta
Commit Name: b1d84fbbae7b49d99bb6f1292c7f05ae064a2590
Time: 2017-08-10
Author: iansimon@users.noreply.github.com
File Name: magenta/models/performance_rnn/performance_model.py
Class Name: PerformanceRnnModel
Method Name: generate_performance