Skip to content

Conversation

@benbenw
Copy link

@benbenw benbenw commented Jul 19, 2016

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

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
@asfgit asfgit closed this in d0abd88 Jul 31, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant