aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--Spigot-API-Patches/0014-Timings-v2.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/Spigot-API-Patches/0014-Timings-v2.patch b/Spigot-API-Patches/0014-Timings-v2.patch
index a7f1e5635c..d790637e12 100644
--- a/Spigot-API-Patches/0014-Timings-v2.patch
+++ b/Spigot-API-Patches/0014-Timings-v2.patch
@@ -1,11 +1,11 @@
-From 445de7fb20febc456d819d052524c63393920b10 Mon Sep 17 00:00:00 2001
+From b5e8582ab199f61b7dcdf2520e9a921907f4e35f Mon Sep 17 00:00:00 2001
From: Aikar <[email protected]>
Date: Fri, 8 Jan 2016 23:12:28 -0600
Subject: [PATCH] Timings v2
diff --git a/pom.xml b/pom.xml
-index a2dd938..2f8fcf9 100644
+index d63151f..fe9d6d2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -48,6 +48,13 @@
@@ -1501,7 +1501,7 @@ index 0000000..3dba3aa
+}
diff --git a/src/main/java/co/aikar/timings/TimingsExport.java b/src/main/java/co/aikar/timings/TimingsExport.java
new file mode 100644
-index 0000000..dd78647
+index 0000000..fe19ea0
--- /dev/null
+++ b/src/main/java/co/aikar/timings/TimingsExport.java
@@ -0,0 +1,373 @@
@@ -1717,7 +1717,7 @@ index 0000000..dd78647
+
+ 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");
@@ -3426,5 +3426,5 @@ index 8d98297..7e89b97 100644
- }
}
--
-2.7.0
+2.7.1