aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xfusearchive.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/fusearchive.py b/fusearchive.py
index d5d82af..b63f35d 100755
--- a/fusearchive.py
+++ b/fusearchive.py
@@ -24,13 +24,15 @@ fuse.fuse_python_api = (0, 2)
fuse.feature_assert('stateful_files', 'has_init')
+magic_profiling = False
+enable_stats = False
+debug_level = 0
+
+# These control some of the file output
magic_blocksize = 1024 * 128
magic_depth = 5
-debug_level = 0
gzip_compress_level = 6
-magic_profiling = False
-
# Memory for dirty blocks, per file (1M)
dirty_size = 1024 * 1024 * 1;
# This is the number of actualy blocks in that size
@@ -685,7 +687,7 @@ if __name__ == '__main__':
# psyco.full()
#except ImportError:
# pass
- if True:
+ if enable_stats:
import hotshot
prof = hotshot.Profile( "fusearchive_stats" )
prof.runcall(main)