From 26c96da2e7c42366b2b44de408a636f9167f170c Mon Sep 17 00:00:00 2001 From: david Date: Mon, 17 Jan 2011 21:31:21 +0000 Subject: [PATCH] Add todo/zenmap.txt with a note to fix Zenmap's inefficient live output viewer. --- todo/zenmap.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 todo/zenmap.txt diff --git a/todo/zenmap.txt b/todo/zenmap.txt new file mode 100644 index 000000000..eef36f26c --- /dev/null +++ b/todo/zenmap.txt @@ -0,0 +1,12 @@ +o Use a more efficient algorithm to update the display of Nmap normal + output in live scans. + zenmapGUI.NmapOutputViewer.NmapOutputViewer.refresh_output calls + zenmapCore.NmapCommand.NmapCommand.get_output, which re-reads the + entire output file (into memory) and then puts it in the text buffer + if it has changed. So already we're storing the whole output twice in + memory. When the text field changes, update_output_colors + re-highlights the whole file. + + It should instead only read new text at the end of the output file and + append it to what's already in the text buffer. + http://seclists.org/nmap-dev/2011/q1/162