storage_type='sftp',
sshclient=ssh,
ignore_existing=True) as f:
- print("Total Setup Time: %2.f s"
- % (time.time()-setup_start))
+ #print("Total Setup Time: %2.f s"
+ # % (time.time()-setup_start))
+ print("Test Setup Time: " + str(time.time() - setup_start))
print("Total Data Transmission: %s"
% (MemorySize(f.bytes_sent + f.bytes_received)))
print("")
timer.resetTimer()
test_count = block_count
start_time = time.time()
-
+ ind = block_count
+
for t in tqdm.tqdm(list(range(test_count)), desc="Running I/O Performance Test"):
ind = keys[t]
- # ind = t
- s = "a" + str(ind)
f.write_block(ind, block)
print("Total Data Transmission: %s" % (MemorySize(f.bytes_sent + f.bytes_received)))