Index: third_party/sqlite/src/tool/vdbe_profile.tcl |
diff --git a/third_party/sqlite/src/tool/vdbe_profile.tcl b/third_party/sqlite/src/tool/vdbe_profile.tcl |
index fb1f955391ae2782147796fe9848a3c156bb184d..a0dc99ec33a95de9074e42c51b4297074322db89 100644 |
--- a/third_party/sqlite/src/tool/vdbe_profile.tcl |
+++ b/third_party/sqlite/src/tool/vdbe_profile.tcl |
@@ -1,8 +1,16 @@ |
#!/bin/tclsh |
# |
+# SUMMARY: |
# Run this script in the same directory as the "vdbe_profile.out" file. |
# This script summarizes the results contained in that file. |
# |
+# DETAILS: |
+# Compile SQLite using the -DVDBE_PROFILE option on Linux. This causes |
+# performance information about individual VDBE operations to be appended |
+# to the "vdbe_profile.out" file. After content has been accumulated in |
+# vdbe_profile.out, run this script to analyze the output and generate a |
+# report. |
+# |
if {![file readable vdbe_profile.out]} { |
error "run this script in the same directory as the vdbe_profile.out file" |
} |