Bug 54268 - Improve CPU and memory usage
Summary: Improve CPU and memory usage
Status: RESOLVED FIXED
Alias: None
Product: JMeter - Now in Github
Classification: Unclassified
Component: Main (show other bugs)
Version: 2.8
Hardware: All All
: P2 enhancement (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-08 13:02 UTC by Philippe Mouawad
Modified: 2014-02-17 13:50 UTC (History)
1 user (show)



Attachments
Test Plan (9.01 KB, application/xml)
2013-01-21 08:14 UTC, Philippe Mouawad
Details
Test Page to put in Tomcat/webapps/examples/jsp folder (133.20 KB, text/plain)
2013-01-21 08:15 UTC, Philippe Mouawad
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Mouawad 2012-12-08 13:02:28 UTC
This issue is to monitor all improvements that will be done in this area.
Comment 1 Philippe Mouawad 2012-12-08 13:13:07 UTC
Date: Sat Dec  8 13:03:30 2012
New Revision: 1418666

URL: http://svn.apache.org/viewvc?rev=1418666&view=rev
Log:
Bug 54268 - Improve memory usage

Bugzilla Id: 54268

Modified:
    jmeter/trunk/src/components/org/apache/jmeter/extractor/RegexExtractor.java
Comment 2 Philippe Mouawad 2012-12-08 23:23:19 UTC
Date: Sat Dec  8 22:06:12 2012
New Revision: 1418764

URL: http://svn.apache.org/viewvc?rev=1418764&view=rev
Log:
Bug 54268 - Improve memory usage

JSP that generates random content
Bugzilla Id: 54268

Added:
    jmeter/trunk/bin/examples/jsp/
    jmeter/trunk/bin/examples/jsp/memory.jsp   (with props)
Comment 3 Philippe Mouawad 2012-12-08 23:23:41 UTC
Date: Sat Dec  8 23:23:03 2012
New Revision: 1418783

URL: http://svn.apache.org/viewvc?rev=1418783&view=rev
Log:
Bug 54268 - Improve memory and CPU usage
Improve CPU by caching response as String instead of computing it for each post processor
Improve memory by eagerly cleaning the cached field
Bugzilla Id: 54268

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/samplers/SampleResult.java
    jmeter/trunk/src/core/org/apache/jmeter/threads/JMeterContext.java
    jmeter/trunk/src/core/org/apache/jmeter/threads/JMeterThread.java
Comment 4 Philippe Mouawad 2012-12-10 19:37:16 UTC
Author: pmouawad
Date: Mon Dec 10 19:35:46 2012
New Revision: 1419696

URL: http://svn.apache.org/viewvc?rev=1419696&view=rev
Log:
Bug 54268 - Improve memory and CPU usage
make field volatile and transient as per sebb remark on mailing list
Bugzilla Id: 54268

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/samplers/SampleResult.java
Comment 6 Philippe Mouawad 2013-01-21 08:14:54 UTC
Created attachment 29871 [details]
Test Plan

Tomcat server.xml modified to force compression and set maxThreads:

    <Connector port="8080" protocol="HTTP/1.1" 
               connectionTimeout="20000" 
               redirectPort="8443" 
               scheme="http"
               minSpareThreads="200"
               maxThreads="500"
            	enableLookups="false"
                URIEncoding="UTF-8"
               compressableMimeType="text/html,text/xml,text/plain,text/javascript,application/json"
               compression="force"               
               
               />
Comment 7 Philippe Mouawad 2013-01-21 08:15:54 UTC
Created attachment 29872 [details]
Test Page to put in Tomcat/webapps/examples/jsp folder
Comment 8 The ASF infrastructure team 2022-09-24 20:37:52 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/3011