New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug 59885 Optimize css parsing for embedded resources download #219

Closed
wants to merge 1 commit into
base: trunk
from

Conversation

Projects
None yet
1 participant
@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

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

@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