Przeglądaj źródła

Removing unused performance test

Sebastien Ros 11 lat temu
rodzic
commit
bbd5bc397e
1 zmienionych plików z 0 dodań i 25 usunięć
  1. 0 25
      Jint.Tests/Runtime/EngineTests.cs

+ 0 - 25
Jint.Tests/Runtime/EngineTests.cs

@@ -659,31 +659,6 @@ namespace Jint.Tests.Runtime
             Assert.Equal("14141414141414141414141414141414141414141414141414", NumberPrototype.ToFractionBase(0.375, 5));
         }
 
-        [Fact]
-        public void ShouldComputeFastDtoaFaster()
-        {
-            const int iterations = 100000;
-
-            var sw = new Stopwatch();
-            string result = "";
-            double d = 0.2388906159889881;
-            long standard, fastDtoa;
-
-            sw.Restart();
-            for (int i = 0; i < iterations; i++)
-            {
-                result = FastDtoa.NumberToString(d);
-            }
-            Console.WriteLine("{0}: {1}", result, fastDtoa = sw.ElapsedMilliseconds);
-
-            sw.Restart();
-            for (int i = 0; i < iterations; i++)
-            {
-                result = d.ToString("r");
-            }
-            Console.WriteLine("{0}: {1}", result, standard = sw.ElapsedMilliseconds);
-        }
-
         [Fact]
         public void ShouldInvokeAFunctionValue()
         {