From 5fbb42de01611da7b015cd00303e7c36cd54e2a4 Mon Sep 17 00:00:00 2001 From: Aikar Date: Tue, 23 Feb 2016 21:31:01 -0600 Subject: [PATCH] Make Timings use less passes in its benchmark --- Spigot-API-Patches/Timings-v2.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Spigot-API-Patches/Timings-v2.patch b/Spigot-API-Patches/Timings-v2.patch index 73e148274..b036c1f55 100644 --- a/Spigot-API-Patches/Timings-v2.patch +++ b/Spigot-API-Patches/Timings-v2.patch @@ -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");