aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorGiacomo Pozzoni <giacomopoz@gmail.com>2020-07-23 22:30:16 +0000
committerShauren <shauren.trinity@gmail.com>2022-01-23 22:45:25 +0100
commite8583d04f6a7744bd3576c3241873a8ad33f4f7a (patch)
treed3071ccdc0705d5fc7a9758e2e50acb117743293 /sql
parent1dfcb7086e17902f0904ee6c09bc55a229b65cc1 (diff)
Core/Metric: Add more metrics about World::Update() loop (#25098)
* Core/Metric: Add more metrics about World::Update() loop * Add new Performance profiling grafana dashboard * Add new cmake setting WITHOUT_METRICS that disables all metrics As new metrics are added, someone might want to disable them if unused. * Add more metrics about World::Update() loop * Remove old performance profiling features Remove "server set difftime" command, "-RecordUpdateTimeDiffInterval" and "MinRecordUpdateTimeDiff" worldserver config settings and their related code. The whole UpdateTime class could be removed too. * Update and rename 2020_07_99_99_world.sql to 2020_07_24_00_world.sql (cherry picked from commit 3c0ac7302f902d1811d2c215217a3d701f8b5b19)
Diffstat (limited to 'sql')
-rw-r--r--sql/updates/world/master/2022_01_23_03_world_2020_07_24_00_world.sql2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/updates/world/master/2022_01_23_03_world_2020_07_24_00_world.sql b/sql/updates/world/master/2022_01_23_03_world_2020_07_24_00_world.sql
new file mode 100644
index 00000000000..7a6b7b4a7ab
--- /dev/null
+++ b/sql/updates/world/master/2022_01_23_03_world_2020_07_24_00_world.sql
@@ -0,0 +1,2 @@
+--
+DELETE FROM command WHERE NAME = 'server set difftime';