summary refs log tree commit diff stats
path: root/compiler/main.nim
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/main.nim')
-rwxr-xr-xcompiler/main.nim5
1 files changed, 5 insertions, 0 deletions
diff --git a/compiler/main.nim b/compiler/main.nim
index 15fa8b4fb..96ebfc5ef 100755
--- a/compiler/main.nim
+++ b/compiler/main.nim
@@ -501,3 +501,8 @@ proc MainCommand =
                formatFloat(epochTime() - gLastCmdTime, ffDecimal, 3),
                formatSize(getTotalMem())])
 
+  echo "rope cache stats: "
+  echo "  tries : ", gCacheTries
+  echo "  misses: ", gCacheMisses
+  echo "  efficiency: ", formatFloat(1-(gCacheMisses.float/gCacheTries.float), ffDecimal, 3)
+