Exemple #1
0
        internal static IServerTiming CreateServerTiming(int customTimingCount = 10)
        {
            var serverTiming = new ServerTiming();

            for (var i = 0; i < customTimingCount; i++)
            {
                serverTiming.Precalculated($"metric{i:D2}", 123.123, $"This is a description {i:D2}");
            }

            return(serverTiming);
        }
Exemple #2
0
        public void Precalculated()
        {
            var serverTiming = new ServerTiming();

            serverTiming.Precalculated(MetricName, 1.2);
        }