Skip to content

Commit bb947aa

Browse files
authored
Wast v0.0.25
1 parent 2f746d8 commit bb947aa

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ dependencies {
9898
// QuickBuffers
9999
implementation group: 'us.hebi.quickbuf', name: 'quickbuf-runtime', version: '1.4'
100100
// wast
101-
implementation group: 'io.github.wycst', name: 'wast', version: '0.0.23'
101+
implementation group: 'io.github.wycst', name: 'wast', version: '0.0.25'
102102

103103
// Test
104104
testImplementation group: 'junit', name: 'junit', version: '4.13.2'

src/main/java/com/github/fabienrenaud/jjb/JsonBench.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import com.github.fabienrenaud.jjb.data.JsonSource;
44
import com.github.fabienrenaud.jjb.data.JsonSourceFactory;
5+
import io.github.wycst.wast.json.JSONVmOptions;
56

67
/**
78
* @author Fabien Renaud
@@ -11,6 +12,11 @@ public abstract class JsonBench {
1112
protected static final JsonSource CLI_JSON_SOURCE = JsonSourceFactory.create();
1213
public abstract JsonSource JSON_SOURCE();
1314

15+
public JsonBench() {
16+
JSONVmOptions.disableIntrinsicCandidate();
17+
JSONVmOptions.disableIncubatorVector();
18+
}
19+
1420
public Object gson() throws Exception {
1521
return null;
1622
}

0 commit comments

Comments
 (0)