Use os.path.join() for environment modification.
put profiling in preprocessor conditional block, disable rocksdb caching