0b686a33355044ffd8957f28a856674c9f00116e,perfkitbenchmarker/data/large_scale_boot/listener_server.py,,,#,134

Before Change


                           args=(results_file_path, timing_queue,))

  // The start the server to listen and put results on queue.
  handler = functools.partial(
      RequestHandler, process_pool, hostname, timing_queue, clients_port)
  listener = server.HTTPServer(server_address, handler)
  logging.info("Starting httpserver...\n")
  try:
    listener.serve_forever()

After Change


  results_file_path = sys.argv[2]
  clients_port = sys.argv[3]
  use_listening_server = sys.argv[4] == "True"
  vms_name_constructor = functools.partial(sys.argv[5].replace, "VM_ID")
  num_vms = int(sys.argv[6])
  hostname = socket.gethostname()
  process_pool = multiprocessing.Pool()
  multiprocessing_manager = multiprocessing.Manager()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 0b686a33355044ffd8957f28a856674c9f00116e
Time: 2020-04-07
Author: ruwa@google.com
File Name: perfkitbenchmarker/data/large_scale_boot/listener_server.py
Class Name:
Method Name:


Project Name: silvandeleemput/memcnn
Commit Name: 1b8b1ee7ac530f74a31a72cd28add5ad5ec37c45
Time: 2019-12-13
Author: silvandeleemput@gmail.com
File Name: memcnn/models/revop.py
Class Name: ReversibleModule
Method Name: inverse


Project Name: silvandeleemput/memcnn
Commit Name: 1b8b1ee7ac530f74a31a72cd28add5ad5ec37c45
Time: 2019-12-13
Author: silvandeleemput@gmail.com
File Name: memcnn/models/revop.py
Class Name: ReversibleModule
Method Name: forward