(BLOCK (PARA (TEXT "If you want to measure potential bottlenecks within the software Zettelstore,") (SOFT) (TEXT "there are two ") (LINK-ZETTEL () "00001004050000" (TEXT "command line")) (TEXT " flags for enabling the measurement (also called ") (FORMAT-EMPH () (TEXT "profiling")) (TEXT "):")) (DESCRIPTION ((LITERAL-INPUT () "-cpuprofile FILE")) (BLOCK (BLOCK (PARA (TEXT "Enables CPU profiling.") (SOFT) (LITERAL-INPUT () "FILE") (TEXT " must be the name of the file where the data is stored.")))) ((LITERAL-INPUT () "-memprofile FILE")) (BLOCK (BLOCK (PARA (TEXT "Enables memory profiling.") (SOFT) (LITERAL-INPUT () "FILE") (TEXT " must be the name of the file where the data is stored."))))) (PARA (TEXT "Normally, profiling will stop when you stop the software Zettelstore.") (SOFT) (TEXT "The given ") (LITERAL-INPUT () "FILE") (TEXT " can be used to analyze the data via the tool ") (LITERAL-CODE () "go tool pprof FILE") (TEXT ".")) (PARA (TEXT "Please notice that ") (LITERAL-INPUT () "-cpuprofile") (TEXT " takes precedence over ") (LITERAL-INPUT () "-memprofile") (TEXT ".") (SOFT) (TEXT "You cannot measure both.")) (PARA (TEXT "You also can use the ") (LINK-ZETTEL () "00001004100000" (TEXT "administrator console")) (TEXT " to begin and end profiling manually for a already running Zettelstore.")))