mirror of
https://github.com/PaperMC/Paper.git
synced 2025-02-06 07:32:07 +01:00
Make Timings use less passes in its benchmark
This commit is contained in:
parent
1bdbffaf84
commit
5fbb42de01
@ -1717,7 +1717,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
+
|
+
|
||||||
+ static long getCost() {
|
+ static long getCost() {
|
||||||
+ // Benchmark the users System.nanotime() for cost basis
|
+ // Benchmark the users System.nanotime() for cost basis
|
||||||
+ int passes = 500000;
|
+ int passes = 100;
|
||||||
+ TimingHandler SAMPLER1 = Timings.ofSafe("Timings Sampler 1");
|
+ TimingHandler SAMPLER1 = Timings.ofSafe("Timings Sampler 1");
|
||||||
+ TimingHandler SAMPLER2 = Timings.ofSafe("Timings Sampler 2");
|
+ TimingHandler SAMPLER2 = Timings.ofSafe("Timings Sampler 2");
|
||||||
+ TimingHandler SAMPLER3 = Timings.ofSafe("Timings Sampler 3");
|
+ TimingHandler SAMPLER3 = Timings.ofSafe("Timings Sampler 3");
|
||||||
|
Loading…
Reference in New Issue
Block a user