mirror of
https://github.com/darksaid98/nightcore-spigot.git
synced 2026-12-01 14:38:47 +00:00
tag fixes
This commit is contained in:
1 parent
c76a241d09
commit
bc8594db61
2 files changed
+12
-12
No files matched your search
@@ -2,12 +2,11 @@ package su.nightexpress.nightcore.util;
|
||||
|
||||
//@BenchmarkMode({Mode.AverageTime})
|
||||
//@OutputTimeUnit(TimeUnit.MILLISECONDS)
|
||||
//@State(Scope.Benchmark)
|
||||
//@Fork(value = 1, jvmArgs = {"-Xms2G", "-Xmx2G"})
|
||||
public class BenchmarkLoop {
|
||||
|
||||
/*private static final int N = 10_000_000;
|
||||
|
||||
public static void main(String[] args) throws RunnerException {
|
||||
/*public static void main(String[] args) throws RunnerException {
|
||||
|
||||
Options opt = new OptionsBuilder()
|
||||
.include(BenchmarkLoop.class.getSimpleName())
|
||||
@@ -17,18 +16,19 @@ public class BenchmarkLoop {
|
||||
new Runner(opt).run();
|
||||
}
|
||||
|
||||
@Benchmark
|
||||
public static void first(Blackhole blackhole) {
|
||||
for (int i = 0; i < N; i++) {
|
||||
@Setup
|
||||
public void setup() {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@Benchmark
|
||||
public static void second(Blackhole blackhole) {
|
||||
for (int i = 0; i < N; i++) {
|
||||
public void first(Blackhole blackhole) {
|
||||
|
||||
}
|
||||
|
||||
@Benchmark
|
||||
public void second(Blackhole blackhole) {
|
||||
|
||||
}
|
||||
}*/
|
||||
|
||||
}
|
||||
@@ -76,9 +76,9 @@ public class TextGroup implements ComponentBuildable {
|
||||
|
||||
this.childrens.forEach(child -> {
|
||||
BaseComponent childComponent = child.toComponent();
|
||||
if (!TextRoot.isEmpty(childComponent)) {
|
||||
//if (!TextRoot.isEmpty(childComponent)) {
|
||||
builder.append(childComponent);
|
||||
}
|
||||
//}
|
||||
});
|
||||
|
||||
return builder.build();
|
||||
|
||||
Reference in new issue
Block a user