0a6b1bd320c996a9fca13a2e3b6611aa8cde7506,benchmark.py,,,#,89
Before Change
for i, j in zip(var_lst, avg_speed):
fp.write("|%s|%d|\n" % (i, j))
fp.flush()
fp.write("\n")
fp.close()
After Change
clients_speed = []
for bc in all_clients:
bc.join()
clients_speed.append(args.client_batch_size / bc.avg_time)
server.close()
max_speed, min_speed, cavg_speed = int(max(clients_speed)), int(min(clients_speed)), int(
mean(clients_speed))
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: hanxiao/bert-as-service
Commit Name: 0a6b1bd320c996a9fca13a2e3b6611aa8cde7506
Time: 2019-01-21
Author: hanhxiao@tencent.com
File Name: benchmark.py
Class Name:
Method Name:
Project Name: streamlit/streamlit
Commit Name: 91f77211ab06d836092bbc3653004ab012909f59
Time: 2018-03-19
Author: thiagot@gmail.com
File Name: examples/periodic_table.py
Class Name:
Method Name:
Project Name: streamlit/streamlit
Commit Name: 976d20c27e21336bdaca80dc5447d125c94c5a2e
Time: 2018-03-18
Author: thiagot@gmail.com
File Name: examples/periodic_table.py
Class Name:
Method Name: