690b2636a2e30ac28e4fb9488cf9678e84fe367f,benchmark.py,,,#,40

Before Change


            "client_seq_len": 100,
            "num_client": 1
        },
        {
            "max_seq_len": 20,
            "batch_size_per_worker": [64, 128, 256, 512],
            "client_batch_size": 2048,
            "client_seq_len": 100,
            "num_client": 1
        },
        {
            "max_seq_len": 20,
            "batch_size_per_worker": 128,

After Change


            // sleep until server is ready
            time.sleep(15)
            all_clients = []
            for _ in range(args.num_client):
                bc = BenchmarkClient(args)
                bc.start()
                all_clients.append(bc)

            for bc in all_clients:
                bc.join()
                cur_speed = args.client_batch_size / bc.avg_time
                tprint("%s: %5d\t%.3f\t%d/s" % (var_name, var, bc.avg_time, int(cur_speed)))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: hanxiao/bert-as-service
Commit Name: 690b2636a2e30ac28e4fb9488cf9678e84fe367f
Time: 2018-11-12
Author: hanhxiao@tencent.com
File Name: benchmark.py
Class Name:
Method Name:


Project Name: chainer/chainercv
Commit Name: 46b125f352d93601276d6282679370ca52bb14fc
Time: 2017-06-10
Author: Hakuyume@users.noreply.github.com
File Name: examples/ssd/train.py
Class Name:
Method Name: main


Project Name: Unity-Technologies/ml-agents
Commit Name: 2a26887b42ac2d514fc7cd54187402581a054275
Time: 2021-03-04
Author: ervin@unity3d.com
File Name: ml-agents/mlagents/trainers/tests/test_agent_processor.py
Class Name:
Method Name: test_agentprocessor