770fb33874128ce3ac6467819a0e000da9582e13,perfkitbenchmarker/linux_benchmarks/redis_benchmark.py,,Prepare,#Any#,73
Before Change
"nohup sudo %s/src/redis-server %s/redis-%d.conf &> /dev/null &" %
(redis_server.GetRedisDir(), redis_server.GetRedisDir(), port))
args = [((vm,), {}) for vm in vms[1:]]
vm_util.RunThreaded(PrepareLoadgen, args)
After Change
"nohup sudo %s/src/redis-server %s/redis-%d.conf &> /dev/null &" %
(redis_server.GetRedisDir(), redis_server.GetRedisDir(), port))
// Pre-populate the redis server(s) with data
redis_vm.RemoteCommand(
"memtier_benchmark -s localhost -p %d -d %s -t %d -c %d "
"--ratio 1:0 --key-pattern %s --pipeline %d "
"--key-minimum %d --key-maximum %d -n allkeys " %
(port, FLAGS.memtier_data_size, LOAD_THREAD, LOAD_CLIENT,
FLAGS.memtier_key_pattern, LOAD_PIPELINE, START_KEY,
FLAGS.memtier_requests))
RedisResult = collections.namedtuple("RedisResult",
["throughput", "average_latency"])
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 770fb33874128ce3ac6467819a0e000da9582e13
Time: 2019-07-29
Author: ruwa@google.com
File Name: perfkitbenchmarker/linux_benchmarks/redis_benchmark.py
Class Name:
Method Name: Prepare
Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: a7ce2350a7a1a4427239bf2de28f9a696be48f85
Time: 2019-07-02
Author: spencerkim@google.com
File Name: perfkitbenchmarker/linux_benchmarks/fio_benchmark.py
Class Name:
Method Name: PrepareWithExec
Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 296bd9972acfe56560bca5e7acd87510558565ba
Time: 2015-09-30
Author: nlavine@google.com
File Name: perfkitbenchmarker/benchmarks/fio_benchmark.py
Class Name:
Method Name: Prepare