When Zeus is sitting there doing nothing, waiting for input, the message-loop thread is in some sort of a waiting state. When it receives a message (keyboard input, WM_TIMER, etc), it "wakes up".
I not convinced
But I was curious so I ran a simple test
I create this batch file to start up
15 copies of Zeus with nothing open but one
test.cpp file:
Code: Select all
cd "c:\Program Files\Zeus\"
start zeus.exe -s -n -d c:\temp\test.cpp
start zeus.exe -s -n -d c:\temp\test.cpp
start zeus.exe -s -n -d c:\temp\test.cpp
start zeus.exe -s -n -d c:\temp\test.cpp
start zeus.exe -s -n -d c:\temp\test.cpp
start zeus.exe -s -n -d c:\temp\test.cpp
start zeus.exe -s -n -d c:\temp\test.cpp
start zeus.exe -s -n -d c:\temp\test.cpp
start zeus.exe -s -n -d c:\temp\test.cpp
start zeus.exe -s -n -d c:\temp\test.cpp
start zeus.exe -s -n -d c:\temp\test.cpp
start zeus.exe -s -n -d c:\temp\test.cpp
start zeus.exe -s -n -d c:\temp\test.cpp
start zeus.exe -s -n -d c:\temp\test.cpp
start zeus.exe -s -n -d c:\temp\test.cpp
Next I brough up the task manager and sure enough all
15 copies of Zeus where showing
00% CPU usage.
Next in one of the Zeus instances, I opened the Zeus workspace and ran a full tag rebuild and measured the time it took to complete.
With
15 copies of Zeus running the tag rebuild for three rebuilds took
45, 45, 46 seconds to complete.
I then closed all but one of the Zeus instances and re-ran the tags rebuild and sure enough three runs rebuilds took
45, 46, 45 seconds to complete.
So with
15 copies of Zeus all checking the same file
4 times a second I could not measure any slowdown in the time it took tag rebuild to complete.
But if there is any system degredation, it must be less than a second, which means it is of the order of
1/15 seconds per instance of Zeus, which from a user prespective is effectively zero
Cheers Jussi
PS: I also tried a larger number of instances of Zeus but with about 100 instances,
Windows starts to run out of
Windows handles and Zeus runs into errors when starting, making it a little hard to test
