HTTPS clone URL
Subversion checkout URL
Please sign in to comment.
Sprinkled some xolox#timer#* calls throughout..
I added the timer calls in an attempt to determine what's slowing the plug-in down, because right now the plug-in takes about a minute to publish 12 files (totaling 1774 lines, ~ 57 KB). The slowest two components in my Vim setup appear to be the 2html script and the HighlightTags command from my easytags.vim plug-in. Fortunately I know how to speed up the HighlightTags command significantly, so I'll just bite the bullet, write the code and see how that goes. BTW. While adding and testing the timer calls I noticed that Vim was losing my message history (I could only see the timer messages for the latest published file, all previous messages were lost). Unless my understanding of :messages, :echomsg and :redraw is incorrect this looks like a bug in Vim but until I can find the time to properly debug this issue I just added a ring buffer (size: 100 by default) to the function xolox#message() which is used by xolox#timer#stop() to print messages.
- Loading branch information...
Showing with 20 additions and 5 deletions.