Skip to content

Commit 69bbf5b

Browse files
committed
Benchmark css4j 6.1, EchoSVG 2.2, Apache Batik 1.19
1 parent 3d9fd19 commit 69bbf5b

3 files changed

Lines changed: 14 additions & 13 deletions

File tree

build.gradle

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,17 @@ dependencies {
3333
annotationProcessor 'org.openjdk.jmh:jmh-generator-annprocess:1.37'
3434
implementation 'org.openjdk.jmh:jmh-core:1.37'
3535
implementation 'io.sf.carte:xml-dtd:4.3'
36-
implementation 'io.sf.carte:css4j:5.3.1'
37-
implementation(group: 'io.sf.carte', name: 'css4j', version: '5.3.1', classifier: 'tests')
38-
implementation 'io.sf.carte:css4j-dom4j:5.3'
39-
implementation 'io.sf.carte:echosvg-transcoder:2.0'
40-
implementation ('org.apache.xmlgraphics:batik-transcoder:1.18') {
36+
implementation 'io.sf.carte:css4j:6.1'
37+
implementation(group: 'io.sf.carte', name: 'css4j', version: '6.1', classifier: 'tests')
38+
implementation 'io.sf.carte:css4j-dom4j:6.1'
39+
implementation 'io.sf.carte:echosvg-transcoder:2.2'
40+
implementation ('org.apache.xmlgraphics:batik-transcoder:1.19') {
4141
// Already available from java.xml
4242
exclude group: 'xml-apis', module: 'xml-apis'
4343
// Use packages from web-apis instead
4444
exclude group: 'xml-apis', module: 'xml-apis-ext'
4545
}
46-
implementation ('org.apache.xmlgraphics:batik-codec:1.18') {
46+
implementation ('org.apache.xmlgraphics:batik-codec:1.19') {
4747
// Already available from java.xml
4848
exclude group: 'xml-apis', module: 'xml-apis'
4949
// Use packages from web-apis instead

pom.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<dependency>
3131
<groupId>io.sf.carte</groupId>
3232
<artifactId>css4j-dom4j</artifactId>
33-
<version>5.3</version>
33+
<version>6.1</version>
3434
<type>jar</type>
3535
<scope>compile</scope>
3636
</dependency>
@@ -50,13 +50,13 @@
5050
<dependency>
5151
<groupId>io.sf.carte</groupId>
5252
<artifactId>echosvg-transcoder</artifactId>
53-
<version>2.0</version>
53+
<version>2.2</version>
5454
<scope>compile</scope>
5555
</dependency>
5656
<dependency>
5757
<groupId>org.apache.xmlgraphics</groupId>
5858
<artifactId>batik-transcoder</artifactId>
59-
<version>1.18</version>
59+
<version>1.19</version>
6060
<scope>compile</scope>
6161
<exclusions>
6262
<exclusion>
@@ -68,7 +68,7 @@
6868
<dependency>
6969
<groupId>org.apache.xmlgraphics</groupId>
7070
<artifactId>batik-codec</artifactId>
71-
<version>1.18</version>
71+
<version>1.19</version>
7272
<scope>compile</scope>
7373
<exclusions>
7474
<exclusion>
@@ -109,7 +109,7 @@
109109
<!--
110110
CSS4J version to use with this project.
111111
-->
112-
<css4j.version>5.3.1</css4j.version>
112+
<css4j.version>6.1</css4j.version>
113113

114114
<!--
115115
JMH version to use with this project.
@@ -136,7 +136,7 @@
136136
<plugin>
137137
<groupId>org.apache.maven.plugins</groupId>
138138
<artifactId>maven-compiler-plugin</artifactId>
139-
<version>3.13.0</version>
139+
<version>3.14.0</version>
140140
<configuration>
141141
<release>${javac.version}</release>
142142
</configuration>

src/io/sf/carte/mark/css/NSACBenchmark.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,8 @@ public void namespaceDeclaration(String prefix, String uri) {
7171
}
7272

7373
@Override
74-
public void importStyle(String uri, MediaQueryList media, String defaultNamespaceURI) {
74+
public void importStyle(String uri, String layerName, BooleanCondition supportsCondition,
75+
MediaQueryList media, String defaultNamespaceURI) {
7576
counter++;
7677
}
7778

0 commit comments

Comments
 (0)