d460efee3e9cb49915b78738d89efdb405e05639,benchmarks/benchmarks/api/bench_unbatch.py,,track_time,#Any#,9
Before Change
glist = dgl.unbatch(bg)
// timing
t0 = time.time()
for i in range(100):
glist = dgl.unbatch(bg)
t1 = time.time()
return (t1 - t0) / 100
After Change
glist = dgl.unbatch(bg)
// timing
with utils.Timer() as t:
for i in range(100):
glist = dgl.unbatch(bg)
return t.elapsed_secs / 100
In pattern: SUPERPATTERN
Frequency: 8
Non-data size: 11
Instances
Project Name: dmlc/dgl
Commit Name: d460efee3e9cb49915b78738d89efdb405e05639
Time: 2021-02-03
Author: VoVAllen@users.noreply.github.com
File Name: benchmarks/benchmarks/api/bench_unbatch.py
Class Name:
Method Name: track_time
Project Name: dmlc/dgl
Commit Name: d460efee3e9cb49915b78738d89efdb405e05639
Time: 2021-02-03
Author: VoVAllen@users.noreply.github.com
File Name: benchmarks/benchmarks/api/bench_edge_ids.py
Class Name:
Method Name: track_time
Project Name: dmlc/dgl
Commit Name: d460efee3e9cb49915b78738d89efdb405e05639
Time: 2021-02-03
Author: VoVAllen@users.noreply.github.com
File Name: benchmarks/benchmarks/api/bench_format_conversion.py
Class Name:
Method Name: track_time
Project Name: dmlc/dgl
Commit Name: d460efee3e9cb49915b78738d89efdb405e05639
Time: 2021-02-03
Author: VoVAllen@users.noreply.github.com
File Name: benchmarks/benchmarks/api/bench_batch.py
Class Name:
Method Name: track_time
Project Name: dmlc/dgl
Commit Name: d460efee3e9cb49915b78738d89efdb405e05639
Time: 2021-02-03
Author: VoVAllen@users.noreply.github.com
File Name: benchmarks/benchmarks/api/bench_builtin_multi_update_all.py
Class Name:
Method Name: track_time
Project Name: dmlc/dgl
Commit Name: d460efee3e9cb49915b78738d89efdb405e05639
Time: 2021-02-03
Author: VoVAllen@users.noreply.github.com
File Name: benchmarks/benchmarks/api/bench_find_edges.py
Class Name:
Method Name: track_time
Project Name: dmlc/dgl
Commit Name: d460efee3e9cb49915b78738d89efdb405e05639
Time: 2021-02-03
Author: VoVAllen@users.noreply.github.com
File Name: benchmarks/benchmarks/api/bench_in_degrees.py
Class Name:
Method Name: track_time
Project Name: dmlc/dgl
Commit Name: d460efee3e9cb49915b78738d89efdb405e05639
Time: 2021-02-03
Author: VoVAllen@users.noreply.github.com
File Name: benchmarks/benchmarks/api/bench_to_block.py
Class Name:
Method Name: track_time