浏览代码

Removing unused performance test

Sebastien Ros 11 年之前
父节点
当前提交
bbd5bc397e
共有 1 个文件被更改,包括 0 次插入25 次删除
  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()
         {