-
Improvement
-
Resolution: Fixed
-
Minor
-
None
@qwazctl commented in JENKINS-23012
I just noticed this ticket now, so sorry for the late comment. But taking a quick look at the code, the performance issue is quite obvious: in BuildTimeoutWrapper.decorateLogger you are only overriding write(byte) in the wrapper OutputStream - that is hugely inefficient, as most writes occur through write(byte[]) or write(byte[], int, int), and those translate to calling write(byte) one byte at a time. So, override write(byte[], int, int) too (write(byte[]) can be left as is) and I think you'll find a noticeable improvement.
- is related to
-
JENKINS-23012 Build-timeout plugin causes builds to slow
-
- Resolved
-
[JENKINS-26170] Improve the performance for NoActivityTimeOutStrategy
Link |
New:
This issue is related to |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Workflow | Original: JNJira [ 160161 ] | New: JNJira + In-Review [ 208307 ] |