mirror of https://github.com/Minestom/Minestom.git
Oops
This commit is contained in:
parent
4bc1dca602
commit
634d2c87b7
|
@ -4,6 +4,7 @@ import org.jglrxavpok.hephaistos.nbt.NBT;
|
|||
import org.jglrxavpok.hephaistos.nbt.mutable.MutableNBTCompound;
|
||||
import org.openjdk.jmh.annotations.*;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.concurrent.ConcurrentHashMap;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
|
||||
|
@ -32,7 +33,7 @@ public class TagWriteBenchmark {
|
|||
this.concurrentCompound = new MutableNBTCompound(new ConcurrentHashMap<>());
|
||||
concurrentCompound.set("key", NBT.String("value"));
|
||||
// Hash map benchmark
|
||||
this.compound = new MutableNBTCompound(new ConcurrentHashMap<>());
|
||||
this.compound = new MutableNBTCompound(new HashMap<>());
|
||||
compound.set("key", NBT.String("value"));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue