modifyPage includes this section for version checking:
This means that if chit.checkversion is true, svn_at_head() will be run on every refresh of the charpane (not just once per day as the comment would indicate). This can cause pretty lengthy delays. Is that intended behaviour?Code://Check for updates (once a day) --snip--
$ time svn update ; time jsvn update
Updating '.':
At revision 20.
real 0m1.347s
user 0m0.016s
sys 0m0.010s
Updating '.':
At revision 20.
real 0m4.578s
user 0m3.105s
sys 0m0.128s
That's seconds, not minutes.xKiv, that's interesting. svn is hardly using any CPU, so the minute plus wait is likely all external. jsvn is using a lot of CPU, so clearly it's thinking about something really hard and spending over 3 minutes doing it.
That's a meaningless number. The process could have slept even without any waiting resources.The amount of clocktime spent waiting on external resources is about the same for both: 4.578-3.105-.128 = 1.345 ~= 1.347-.016-.010 = 1.321
You honestly think that's likely? That meaningless comparison is one of the fastest ways to tell if a process is I/O bound or CPU bound. I've literally used it hundreds of times to help other speed up their jobs. The units don't change that although it's good to have them right for the next steps.That's a meaningless number. The process could have slept even without any waiting resources.