Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

putting profiles in timed folders

Change-Id: I2e4b7d15025bb17405ca85d434ddf68bef57b1d1
Reviewed-on: http://review.couchbase.org/19875
Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>
Tested-by: Benjamin Young <benjamin@couchbase.com>
  • Loading branch information...
commit 1cdf901b0f16c5ae12b11aee17f570a07750175b 1 parent abae5d7
@BigBlueHat BigBlueHat authored BigBlueHat committed
Showing with 5 additions and 1 deletion.
  1. +5 −1 couchbase/benchmarks/benchmark.py
View
6 couchbase/benchmarks/benchmark.py
@@ -32,7 +32,11 @@
ITEMS = 50000 # Total number of documents to create/read
VALUES_PER_DOC = 1
VALUE_LENGTH = 92 # together with previous parameter it defines document size
-PROFILES = os.path.join(here, 'profiles')
+PROFILES = os.path.join(here, 'profiles', time.strftime('%Y-%m-%d_%H-%M-%S',
+ time.localtime()))
+
+if not os.path.exists(PROFILES):
+ os.makedirs(PROFILES)
def prepare_data():
Please sign in to comment.
Something went wrong with that request. Please try again.