diff --git a/Directory.Packages.props b/Directory.Packages.props index 8a06693546..8f0f8472de 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -10,6 +10,9 @@ + + + diff --git a/Jint.Benchmark/EngineComparisonBenchmark.cs b/Jint.Benchmark/EngineComparisonBenchmark.cs index eab0dfebe4..d3b6013b2a 100644 --- a/Jint.Benchmark/EngineComparisonBenchmark.cs +++ b/Jint.Benchmark/EngineComparisonBenchmark.cs @@ -98,4 +98,11 @@ public void YantraJS() // if script is expecting global context as `this` engine.Eval(_files[FileName], null, engine); } + + [Benchmark] + public void ClearScript() + { + var engine = new Microsoft.ClearScript.V8.V8ScriptEngine(); + engine.Evaluate(_files[FileName]); + } } diff --git a/Jint.Benchmark/Jint.Benchmark.csproj b/Jint.Benchmark/Jint.Benchmark.csproj index 86d17a424f..648bffadd8 100644 --- a/Jint.Benchmark/Jint.Benchmark.csproj +++ b/Jint.Benchmark/Jint.Benchmark.csproj @@ -26,6 +26,9 @@ + + +