diff --git a/PerformanceTests/YamlDotNet.PerformanceTests.Runner/Program.cs b/PerformanceTests/YamlDotNet.PerformanceTests.Runner/Program.cs index 77af125ac..3f8c88f33 100644 --- a/PerformanceTests/YamlDotNet.PerformanceTests.Runner/Program.cs +++ b/PerformanceTests/YamlDotNet.PerformanceTests.Runner/Program.cs @@ -24,6 +24,7 @@ using System.IO; using System.Linq; using System.Collections.Generic; +using System.Text.RegularExpressions; namespace YamlDotNet.PerformanceTests.Runner { @@ -43,7 +44,8 @@ public static void Main(string[] args) var testPrograms = Directory.GetDirectories(baseDir) .Select(d => Path.Combine(d, Path.Combine("bin", configuration))) .Where(d => d != currentDir) - .SelectMany(d => Directory.GetFiles(d, "*.exe")); + .SelectMany(d => Directory.GetFiles(d, "*.exe")) + .Where(f => Regex.IsMatch(f, @"Release\\YamlDotNet.PerformanceTests.(vlatest|v\d+\.\d+\.\d+)\.exe$")); var testResults = new List(); foreach(var testProgram in testPrograms) diff --git a/PerformanceTests/YamlDotNet.PerformanceTests.Runner/YamlDotNet.PerformanceTests.Runner.csproj b/PerformanceTests/YamlDotNet.PerformanceTests.Runner/YamlDotNet.PerformanceTests.Runner.csproj index 23cfbb1ce..14e8a7100 100644 --- a/PerformanceTests/YamlDotNet.PerformanceTests.Runner/YamlDotNet.PerformanceTests.Runner.csproj +++ b/PerformanceTests/YamlDotNet.PerformanceTests.Runner/YamlDotNet.PerformanceTests.Runner.csproj @@ -1,39 +1,41 @@ - - - - Debug - AnyCPU - 12.0.0 - 2.0 - {A5C7D77C-0F08-4647-8376-3719BD6DEBD9} - Exe - YamlDotNet.PerformanceTests.Runner - YamlDotNet.PerformanceTests.Runner - - - true - full - false - bin\Debug - DEBUG; - prompt - 4 - false - - - full - true - bin\Release - prompt - 4 - true - - - - - - - - - + + + + Debug + AnyCPU + 12.0.0 + 2.0 + {A5C7D77C-0F08-4647-8376-3719BD6DEBD9} + Exe + YamlDotNet.PerformanceTests.Runner + YamlDotNet.PerformanceTests.Runner + v3.5 + + + + true + full + false + bin\Debug + DEBUG; + prompt + 4 + false + + + full + true + bin\Release + prompt + 4 + true + + + + + + + + + \ No newline at end of file diff --git a/PerformanceTests/YamlDotNet.PerformanceTests.v1.2.1/YamlDotNet.PerformanceTests.v1.2.1.csproj b/PerformanceTests/YamlDotNet.PerformanceTests.v1.2.1/YamlDotNet.PerformanceTests.v1.2.1.csproj index bad588d72..44f0ba418 100644 --- a/PerformanceTests/YamlDotNet.PerformanceTests.v1.2.1/YamlDotNet.PerformanceTests.v1.2.1.csproj +++ b/PerformanceTests/YamlDotNet.PerformanceTests.v1.2.1/YamlDotNet.PerformanceTests.v1.2.1.csproj @@ -11,6 +11,8 @@ YamlDotNet.PerformanceTests.v1.2.1 ..\..\ true + v3.5 + true @@ -29,6 +31,7 @@ prompt 4 true + false diff --git a/PerformanceTests/YamlDotNet.PerformanceTests.v2.2.0/YamlDotNet.PerformanceTests.v2.2.0.csproj b/PerformanceTests/YamlDotNet.PerformanceTests.v2.2.0/YamlDotNet.PerformanceTests.v2.2.0.csproj index 4e413a7e4..3d67a3eee 100644 --- a/PerformanceTests/YamlDotNet.PerformanceTests.v2.2.0/YamlDotNet.PerformanceTests.v2.2.0.csproj +++ b/PerformanceTests/YamlDotNet.PerformanceTests.v2.2.0/YamlDotNet.PerformanceTests.v2.2.0.csproj @@ -30,6 +30,7 @@ prompt 4 false + false diff --git a/PerformanceTests/YamlDotNet.PerformanceTests.v2.3.0/YamlDotNet.PerformanceTests.v2.3.0.csproj b/PerformanceTests/YamlDotNet.PerformanceTests.v2.3.0/YamlDotNet.PerformanceTests.v2.3.0.csproj index 45ffb52ce..e9ea504c3 100644 --- a/PerformanceTests/YamlDotNet.PerformanceTests.v2.3.0/YamlDotNet.PerformanceTests.v2.3.0.csproj +++ b/PerformanceTests/YamlDotNet.PerformanceTests.v2.3.0/YamlDotNet.PerformanceTests.v2.3.0.csproj @@ -30,6 +30,7 @@ prompt 4 false + false diff --git a/PerformanceTests/YamlDotNet.PerformanceTests.v3.8.0/Program.cs b/PerformanceTests/YamlDotNet.PerformanceTests.v3.8.0/Program.cs new file mode 100644 index 000000000..128b4c1c8 --- /dev/null +++ b/PerformanceTests/YamlDotNet.PerformanceTests.v3.8.0/Program.cs @@ -0,0 +1,44 @@ +// This file is part of YamlDotNet - A .NET library for YAML. +// Copyright (c) Antoine Aubry and contributors + +// Permission is hereby granted, free of charge, to any person obtaining a copy of +// this software and associated documentation files (the "Software"), to deal in +// the Software without restriction, including without limitation the rights to +// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +// of the Software, and to permit persons to whom the Software is furnished to do +// so, subject to the following conditions: + +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. + +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. + +using System; +using System.IO; +using YamlDotNet.Serialization; +using YamlDotNet.PerformanceTests.Lib; + +namespace YamlDotNet.PerformanceTests.v3_8_0 +{ + public class Program : ISerializerAdapter + { + public static void Main(string[] args) + { + var runner = new PerformanceTestRunner(); + runner.Run(new Program(), args); + } + + private readonly Serializer _serializer = new Serializer(); + + public void Serialize (TextWriter writer, object graph) + { + _serializer.Serialize (writer, graph); + } + } +} \ No newline at end of file diff --git a/PerformanceTests/YamlDotNet.PerformanceTests.v3.8.0/Properties/AssemblyInfo.cs b/PerformanceTests/YamlDotNet.PerformanceTests.v3.8.0/Properties/AssemblyInfo.cs new file mode 100644 index 000000000..a57550db6 --- /dev/null +++ b/PerformanceTests/YamlDotNet.PerformanceTests.v3.8.0/Properties/AssemblyInfo.cs @@ -0,0 +1,42 @@ +// This file is part of YamlDotNet - A .NET library for YAML. +// Copyright (c) Antoine Aubry and contributors + +// Permission is hereby granted, free of charge, to any person obtaining a copy of +// this software and associated documentation files (the "Software"), to deal in +// the Software without restriction, including without limitation the rights to +// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +// of the Software, and to permit persons to whom the Software is furnished to do +// so, subject to the following conditions: + +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. + +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. + +using System.Reflection; +using System.Runtime.CompilerServices; + +// Information about this assembly is defined by the following attributes. +// Change them to the values specific to your project. +[assembly: AssemblyTitle ("YamlDotNet.PerformanceTests.v3.8.0")] +[assembly: AssemblyDescription ("")] +[assembly: AssemblyConfiguration ("")] +[assembly: AssemblyCompany ("")] +[assembly: AssemblyProduct ("")] +[assembly: AssemblyCopyright ("aaubry")] +[assembly: AssemblyTrademark ("")] +[assembly: AssemblyCulture ("")] +// The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}". +// The form "{Major}.{Minor}.*" will automatically update the build and revision, +// and "{Major}.{Minor}.{Build}.*" will update just the revision. +[assembly: AssemblyVersion ("1.0.*")] +// The following attributes are used to specify the signing key for the assembly, +// if desired. See the Mono documentation for more information about signing. +//[assembly: AssemblyDelaySign(false)] +//[assembly: AssemblyKeyFile("")] diff --git a/PerformanceTests/YamlDotNet.PerformanceTests.v3.8.0/YamlDotNet.PerformanceTests.v3.8.0.csproj b/PerformanceTests/YamlDotNet.PerformanceTests.v3.8.0/YamlDotNet.PerformanceTests.v3.8.0.csproj new file mode 100644 index 000000000..27b49adcc --- /dev/null +++ b/PerformanceTests/YamlDotNet.PerformanceTests.v3.8.0/YamlDotNet.PerformanceTests.v3.8.0.csproj @@ -0,0 +1,56 @@ + + + + Debug + AnyCPU + 12.0.0 + 2.0 + {CE856C44-2FE0-4AFA-99CE-F8A076F1BA11} + Exe + YamlDotNet.PerformanceTests.v3_8_0 + YamlDotNet.PerformanceTests.v3.8.0 + v3.5 + ..\..\ + true + + + true + full + false + bin\Debug + DEBUG; + prompt + 4 + false + + + full + true + bin\Release + prompt + 4 + false + false + + + + + ..\..\packages\YamlDotNet.3.8.0\lib\net35\YamlDotNet.dll + True + + + + + + + + + + {773B71D6-FEE5-4E4D-8717-5C5EF58D6F17} + YamlDotNet.PerformanceTests.Lib + + + + + + \ No newline at end of file diff --git a/PerformanceTests/YamlDotNet.PerformanceTests.v3.8.0/packages.config b/PerformanceTests/YamlDotNet.PerformanceTests.v3.8.0/packages.config new file mode 100644 index 000000000..15c5432bf --- /dev/null +++ b/PerformanceTests/YamlDotNet.PerformanceTests.v3.8.0/packages.config @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/PerformanceTests/YamlDotNet.PerformanceTests.vlatest/YamlDotNet.PerformanceTests.vlatest.csproj b/PerformanceTests/YamlDotNet.PerformanceTests.vlatest/YamlDotNet.PerformanceTests.vlatest.csproj index 087675d81..8007e1fa2 100644 --- a/PerformanceTests/YamlDotNet.PerformanceTests.vlatest/YamlDotNet.PerformanceTests.vlatest.csproj +++ b/PerformanceTests/YamlDotNet.PerformanceTests.vlatest/YamlDotNet.PerformanceTests.vlatest.csproj @@ -1,49 +1,52 @@ - - - - Debug - AnyCPU - 12.0.0 - 2.0 - {91A1F4BC-65C0-42E6-B5FD-320A2D59AF71} - Exe - YamlDotNet.PerformanceTests.vlatest - YamlDotNet.PerformanceTests.vlatest - - - true - full - false - bin\Debug - DEBUG; - prompt - 4 - true - - - full - true - bin\Release - prompt - 4 - true - - - - - - - - - - - - {BF32DE1B-6276-4341-B212-F8862ADBBA7A} - YamlDotNet - - - {773B71D6-FEE5-4E4D-8717-5C5EF58D6F17} - YamlDotNet.PerformanceTests.Lib - - + + + + Debug + AnyCPU + 12.0.0 + 2.0 + {91A1F4BC-65C0-42E6-B5FD-320A2D59AF71} + Exe + YamlDotNet.PerformanceTests.vlatest + YamlDotNet.PerformanceTests.vlatest + v3.5 + + + + true + full + false + bin\Debug + DEBUG; + prompt + 4 + true + + + full + true + bin\Release + prompt + 4 + true + false + + + + + + + + + + + + {BF32DE1B-6276-4341-B212-F8862ADBBA7A} + YamlDotNet + + + {773B71D6-FEE5-4E4D-8717-5C5EF58D6F17} + YamlDotNet.PerformanceTests.Lib + + \ No newline at end of file diff --git a/YamlDotNet.sln b/YamlDotNet.sln index 7ed01c2ad..2008fe2ca 100644 --- a/YamlDotNet.sln +++ b/YamlDotNet.sln @@ -1,8 +1,6 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 2013 -VisualStudioVersion = 12.0.31101.0 -MinimumVisualStudioVersion = 10.0.40219.1 +# Visual Studio 2012 Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{69EE9636-55BA-49C2-827E-D5684221C345}" ProjectSection(SolutionItems) = preProject .gitignore = .gitignore @@ -32,6 +30,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "YamlDotNet.PerformanceTests EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "YamlDotNet.PerformanceTests.vlatest", "PerformanceTests\YamlDotNet.PerformanceTests.vlatest\YamlDotNet.PerformanceTests.vlatest.csproj", "{91A1F4BC-65C0-42E6-B5FD-320A2D59AF71}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "YamlDotNet.PerformanceTests.v3.8.0", "PerformanceTests\YamlDotNet.PerformanceTests.v3.8.0\YamlDotNet.PerformanceTests.v3.8.0.csproj", "{CE856C44-2FE0-4AFA-99CE-F8A076F1BA11}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -48,8 +48,8 @@ Global {BF32DE1B-6276-4341-B212-F8862ADBBA7A}.Debug|Any CPU.Build.0 = Debug|Any CPU {BF32DE1B-6276-4341-B212-F8862ADBBA7A}.Debug-UnitySubset-v35|Any CPU.ActiveCfg = Debug-UnitySubset-v35|Any CPU {BF32DE1B-6276-4341-B212-F8862ADBBA7A}.Debug-UnitySubset-v35|Any CPU.Build.0 = Debug-UnitySubset-v35|Any CPU - {BF32DE1B-6276-4341-B212-F8862ADBBA7A}.PerformanceTests|Any CPU.ActiveCfg = Release-Portable-Unsigned|Any CPU - {BF32DE1B-6276-4341-B212-F8862ADBBA7A}.PerformanceTests|Any CPU.Build.0 = Release-Portable-Unsigned|Any CPU + {BF32DE1B-6276-4341-B212-F8862ADBBA7A}.PerformanceTests|Any CPU.ActiveCfg = Release-Unsigned|Any CPU + {BF32DE1B-6276-4341-B212-F8862ADBBA7A}.PerformanceTests|Any CPU.Build.0 = Release-Unsigned|Any CPU {BF32DE1B-6276-4341-B212-F8862ADBBA7A}.Release-Portable-Signed|Any CPU.ActiveCfg = Release-Portable-Signed|Any CPU {BF32DE1B-6276-4341-B212-F8862ADBBA7A}.Release-Portable-Signed|Any CPU.Build.0 = Release-Portable-Signed|Any CPU {BF32DE1B-6276-4341-B212-F8862ADBBA7A}.Release-Portable-Unsigned|Any CPU.ActiveCfg = Release-Portable-Unsigned|Any CPU @@ -125,6 +125,15 @@ Global {91A1F4BC-65C0-42E6-B5FD-320A2D59AF71}.Release-Signed|Any CPU.ActiveCfg = Release|Any CPU {91A1F4BC-65C0-42E6-B5FD-320A2D59AF71}.Release-UnitySubset-v35|Any CPU.ActiveCfg = Release|Any CPU {91A1F4BC-65C0-42E6-B5FD-320A2D59AF71}.Release-Unsigned|Any CPU.ActiveCfg = Release|Any CPU + {CE856C44-2FE0-4AFA-99CE-F8A076F1BA11}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {CE856C44-2FE0-4AFA-99CE-F8A076F1BA11}.Debug-UnitySubset-v35|Any CPU.ActiveCfg = Debug|Any CPU + {CE856C44-2FE0-4AFA-99CE-F8A076F1BA11}.PerformanceTests|Any CPU.ActiveCfg = Release|Any CPU + {CE856C44-2FE0-4AFA-99CE-F8A076F1BA11}.PerformanceTests|Any CPU.Build.0 = Release|Any CPU + {CE856C44-2FE0-4AFA-99CE-F8A076F1BA11}.Release-Portable-Signed|Any CPU.ActiveCfg = Release|Any CPU + {CE856C44-2FE0-4AFA-99CE-F8A076F1BA11}.Release-Portable-Unsigned|Any CPU.ActiveCfg = Release|Any CPU + {CE856C44-2FE0-4AFA-99CE-F8A076F1BA11}.Release-Signed|Any CPU.ActiveCfg = Release|Any CPU + {CE856C44-2FE0-4AFA-99CE-F8A076F1BA11}.Release-UnitySubset-v35|Any CPU.ActiveCfg = Release|Any CPU + {CE856C44-2FE0-4AFA-99CE-F8A076F1BA11}.Release-Unsigned|Any CPU.ActiveCfg = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -136,6 +145,7 @@ Global {C6E0B465-8422-4D6B-85CE-C59724A28E1F} = {FFEB1B4B-D432-4268-B690-CD16598807CA} {BE49A287-5F47-4E3B-90EB-97B51451934C} = {FFEB1B4B-D432-4268-B690-CD16598807CA} {91A1F4BC-65C0-42E6-B5FD-320A2D59AF71} = {FFEB1B4B-D432-4268-B690-CD16598807CA} + {CE856C44-2FE0-4AFA-99CE-F8A076F1BA11} = {FFEB1B4B-D432-4268-B690-CD16598807CA} EndGlobalSection GlobalSection(MonoDevelopProperties) = preSolution StartupItem = PerformanceTests\YamlDotNet.PerformanceTests.Runner\YamlDotNet.PerformanceTests.Runner.csproj diff --git a/packages/repositories.config b/packages/repositories.config index d66fa4378..5e49d8dbb 100644 --- a/packages/repositories.config +++ b/packages/repositories.config @@ -3,5 +3,6 @@ + \ No newline at end of file