Good morning :),

I was looking around VBox logging mechanism.
I came across rtlogLogger function in src/VBox/Runtime/common/log/log.cpp.
If I am correct, this function is responsible to format the string and 
print it out. This function works also in release mode... to support 
release logging?

I did some measurements, and it seems that the call to RTLogFormatV is 
responsible to much of the overhead (In release mode, with nothing 
being logged..)
I measured ~5% performance loss, and even ~10% on some workloads - without 
actually logging anything.
(This was done on VBox OSE 9977, relase mode).

Does this make sense? Can you reproduce my results?

Thanks so much
:)
Micha.




_______________________________________________
vbox-dev mailing list
[email protected]
http://vbox.innotek.de/mailman/listinfo/vbox-dev

Reply via email to