Bug 63178 - CSS Selector Extractor : Improve performance of JODD (JoddExtractor) based implementation
Summary: CSS Selector Extractor : Improve performance of JODD (JoddExtractor) based im...
Status: RESOLVED FIXED
Alias: None
Product: JMeter
Classification: Unclassified
Component: Main (show other bugs)
Version: 5.0
Hardware: All All
: P2 enhancement (vote)
Target Milestone: JMETER_5.1.1
Assignee: JMeter issues mailing list
URL:
Keywords: FixedInTrunk
Depends on:
Blocks:
 
Reported: 2019-02-14 21:59 UTC by Philippe Mouawad
Modified: 2019-03-02 20:03 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Mouawad 2019-02-14 21:59:22 UTC
We should use CssSelly which parses CSS Selector expression:
https://github.com/oblac/jodd/blob/master/jodd-lagarto/src/test/java/jodd/csselly/CSSellyTest.java

We would then use :

https://github.com/oblac/jodd/blob/master/jodd-lagarto/src/main/java/jodd/lagarto/dom/NodeSelector.java#L63

And a caffeine CacheLoader to cache the parsed CSS
Comment 1 Philippe Mouawad 2019-03-02 20:03:08 UTC
Author: pmouawad
Date: Sat Mar  2 20:02:41 2019
New Revision: 1854669

URL: http://svn.apache.org/viewvc?rev=1854669&view=rev
Log:
Bug 63178 - CSS Selector Extractor : Improve performance of JODD (JoddExtractor) based implementation
Bugzilla Id: 63178

Modified:
    jmeter/trunk/bin/jmeter.properties
    jmeter/trunk/src/components/org/apache/jmeter/extractor/JoddExtractor.java
    jmeter/trunk/xdocs/changes.xml
    jmeter/trunk/xdocs/usermanual/properties_reference.xml