03a55eabd6658670a6bc54610b76e55da4457583,perfkitbenchmarker/benchmarks/mongodb_ycsb_benchmark.py,,Prepare,#Any#,50

Before Change


  // Install mongodb on the 1st machine.
  mongo_vm.Install("mongodb_server")
  data_dir = _GetDataDir(mongo_vm)
  mongo_vm.RemoteCommand("mkdir {0} && chmod a+rwx {0}".format(data_dir))
  mongo_vm.RemoteCommand(
      "sudo sed -i -e "/bind_ip/ s/^////; s,^dbpath=.*,dbpath=%s," %s" %
      (data_dir,

After Change


  mongo_vm, ycsb_vm = vms[:2]

  vm_util.RunThreaded((lambda f: f()),
                      [functools.partial(_PrepareServer, mongo_vm),
                       functools.partial(_PrepareClient, ycsb_vm)])

Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 03a55eabd6658670a6bc54610b76e55da4457583
Time: 2015-08-01
Author: connormccoy@google.com
File Name: perfkitbenchmarker/benchmarks/mongodb_ycsb_benchmark.py
Class Name:
Method Name: Prepare


Project Name: okfn-brasil/serenata-de-amor
Commit Name: 7e4f1f5aa62d962629adb53bea7c58c9070261c1
Time: 2016-11-25
Author: cuducos@gmail.com
File Name: src/fetch_sex_places.py
Class Name:
Method Name:


Project Name: ilastik/ilastik
Commit Name: efd6b7c39fbefbb1e6f5fdc67ff1d2c64f65d46e
Time: 2012-09-13
Author: christoph.straehle@iwr.uni-heidelberg.de
File Name: lazyflow/operators/obsolete/classifierOperators.py
Class Name: OpTrainRandomForest
Method Name: getOutSlot