tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 52328] Massive garbage production observed when using the response writer
Date Wed, 11 Jan 2012 13:10:07 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=52328

--- Comment #12 from Mark Thomas <markt@apache.org> 2012-01-11 13:10:07 UTC ---
Excellent. I'll put a dev build up on my people.apache.org space and provide a
link when it is available.

For reference, both the flushing changes and adding an internal buffer a[ppear
to help performance in all cases. Here are some figures from the latest version
of the test case which I'll commit shortly:

Trunk without internal buffer but with flushing patch
Write length:      1, Buffered: n, Time: 86143369ns
Write length:      1, Buffered: y, Time: 18922557ns
Write length:     10, Buffered: n, Time:  4281841ns
Write length:     10, Buffered: y, Time:  1817266ns
Write length:    100, Buffered: n, Time:  1687881ns
Write length:    100, Buffered: y, Time:  1185908ns
Write length:   1000, Buffered: n, Time:  1243862ns
Write length:   1000, Buffered: y, Time:  1160367ns
Write length:  10000, Buffered: n, Time:  1147934ns
Write length:  10000, Buffered: y, Time:  1281448ns
Write length: 100000, Buffered: n, Time:  1204381ns
Write length: 100000, Buffered: y, Time:  1218129ns


Trunk with internal buffer and flushing patch
Write length:      1, Buffered: n, Time: 27663008ns
Write length:      1, Buffered: y, Time: 15468331ns
Write length:     10, Buffered: n, Time:  1718582ns
Write length:     10, Buffered: y, Time:  1938994ns
Write length:    100, Buffered: n, Time:  1110883ns
Write length:    100, Buffered: y, Time:  1233152ns
Write length:   1000, Buffered: n, Time:   933836ns
Write length:   1000, Buffered: y, Time:  1259017ns
Write length:  10000, Buffered: n, Time:  1024246ns
Write length:  10000, Buffered: y, Time:  1168732ns
Write length: 100000, Buffered: n, Time:  1015159ns
Write length: 100000, Buffered: y, Time:  1074527ns

7.0,x with no patches
Write length:      1, Buffered: n, Time: 137147272ns
Write length:      1, Buffered: y, Time:  18676195ns
Write length:     10, Buffered: n, Time:  10390213ns
Write length:     10, Buffered: y, Time:   2038188ns
Write length:    100, Buffered: n, Time:   2008351ns
Write length:    100, Buffered: y, Time:   1200196ns
Write length:   1000, Buffered: n, Time:   1261317ns
Write length:   1000, Buffered: y, Time:   1217747ns
Write length:  10000, Buffered: n, Time:   1117065ns
Write length:  10000, Buffered: y, Time:   1081037ns
Write length: 100000, Buffered: n, Time:   1471004ns
Write length: 100000, Buffered: y, Time:   1134857ns

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message