GitHub user benbenw opened a pull request:
https://github.com/apache/jmeter/pull/219
Bug 59885 Optimize css parsing for embedded resources download
the css parser is essential to test real world applications with
embedded resources download.
But it's heavy on cpu and memory allocations.
this commit add a lru cache which saves the url extracted from the css
file.
the key of the cache is the md5 of the css file.
the cache is not enabled by default (but should probably be)
To activate it, a value > 0 must be set for the key
'css.parser.cache.size' in the jmeter config file
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/benbenw/jmeter css_parser_cache
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/jmeter/pull/219.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #219
----
commit 13578dd0a502244ac6329751d3f1dd83447569d0
Author: benoit <[email protected]>
Date: 2016-07-19T09:58:49Z
Bug 59885 Optimize css parsing for embedded resources download
the css parser is essential to test real world applications with
embedded resources download.
But it's heavy on cpu and memory allocations.
this commit add a lru cache which saves the url extracted from the css
file.
the key of the cache is the md5 of the css file.
the cache is not enabled by default (but should probably be)
To activate it, a value > 0 must be set for the key
'css.parser.cache.size' in the jmeter config file
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---