Build time depends of log size

If I run build with special flag to get detailed log, it takes ~25 minutes to build my project.
But if I run build without flag - it takes 2 minutes.
Why displaying log in website takes so extremely long time?
I use TeamCity Enterprise 10.0.4 (build 42538)
p.s. If I run build with special flag and redirect output to file - it also takes 2 minutes to build my project.

Thanks in advance for explanation.

0
3 comments

Hi Pavlov,

what flag for detailed log you mean? What kind of runner are you using?

If the log is *too* detailed, consider that the logs are communicated to the server relatively frequently, so the server can show updates about the process as soon as possible. It's weird that it's so time consuming, though.

Would it be possible to send us 2 build logs, one from a fast build, the other from a slow one, preferably with the same revision number? If you can do that, please use the "Submit a request" button on top so we can review them.

0
Avatar
Permanently deleted user

Hi Denis!

I use "VERBOSE=1" flag for building binaries with make.

Both of logs (from fast and slow build) are identical. I understand that root cause of problem is slowly interaction between agent and server, but don't understand why showing simply text line takes so long time.

0

Hi Pavlov,

how long does it take to run the build outside the agent with the verbose flag? Preferably when run in the same device where the build agent is. Forwarding verbose output to a file can consume way less resources than stdout.

0

Please sign in to leave a comment.