mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 23:38:25 +01:00
Make Timings use less passes in its benchmark
This commit is contained in:
parent
1bdbffaf84
commit
5fbb42de01
1 changed files with 1 additions and 1 deletions
|
@ -1717,7 +1717,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||
+
|
||||
+ static long getCost() {
|
||||
+ // Benchmark the users System.nanotime() for cost basis
|
||||
+ int passes = 500000;
|
||||
+ int passes = 100;
|
||||
+ TimingHandler SAMPLER1 = Timings.ofSafe("Timings Sampler 1");
|
||||
+ TimingHandler SAMPLER2 = Timings.ofSafe("Timings Sampler 2");
|
||||
+ TimingHandler SAMPLER3 = Timings.ofSafe("Timings Sampler 3");
|
||||
|
|
Loading…
Reference in a new issue