Skip to content

Commit

Permalink
add flags and mining mode
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasMLK committed Aug 30, 2023
1 parent f1415ce commit 0432d74
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/test/java/io/xdag/crypto/randomx/RandomXJNAPerfTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,9 @@ public class RandomXJNAPerfTest {
@Setup(Level.Trial)
public void setup() {
RandomXWrapper randomXWrapper = RandomXWrapper.builder()
.flags(List.of(RandomXFlag.JIT))
.flags(List.of(RandomXFlag.JIT, RandomXFlag.HARD_AES, RandomXFlag.ARGON2))
.fastInit(true)
.miningMode(false)
.build();
byte[] buffer = new byte[32];
random.nextBytes(buffer);
Expand Down

0 comments on commit 0432d74

Please sign in to comment.