aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xfusearchive.py17
1 files changed, 15 insertions, 2 deletions
diff --git a/fusearchive.py b/fusearchive.py
index 2d1f390..891872a 100755
--- a/fusearchive.py
+++ b/fusearchive.py
@@ -26,7 +26,7 @@ fuse.feature_assert('stateful_files', 'has_init')
magic_blocksize = 1024 * 32
magic_depth = 5
-debug_level = 1
+debug_level = 0
def dmsg(level,message):
if level <= debug_level:
@@ -607,4 +607,17 @@ Userspace nullfs-alike: mirror the filesystem tree from some point on.
if __name__ == '__main__':
- main()
+ # Import Psyco if available
+ # doesn't seem to make a difference, must not be on this end
+ #try:
+ # import psyco
+ # psyco.full()
+ #except ImportError:
+ # pass
+ if False:
+ import hotshot
+ prof = hotshot.Profile( "fusearchive_stats" )
+ prof.runcall(main)
+ prof.close()
+ else:
+ main()