You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* move Harness-related code to Harness folder
* make sure that we always use recommended config
* mention the external dependencies in the README
* add nuget.config file so BDN can restore all packages
* add comments to the config so I am not the only person who understands it
* don't enable MemoryDiagnoser by default, it requires one extra iteration which is expensive for long running benchmarks
* don't add nuget.config file, generate it on the fly when needed by BDN
* generate a .csproj file that will handle both native dependencies and nuget.config file issue
* describe authoring new benchmarks in the docs
* add some integration tests that make sure that the benchmarks are not broken
* register the right assemblies after recent change of assembly loading, makes all benchmark work again ;)
* make Ranking benchmarks work
* code review: split Helpers.cs into multiple files, cleanup the code, don't hardcode the dependencies
/// the problem with ML.NET is that it has native dependencies, which are NOT copied by MSBuild to the output folder
19
22
/// in case where A has native dependency and B references A
20
23
///
21
-
/// this is why this class exists: to copy the native dependencies to folder with .exe
24
+
/// this is why this class exists:
25
+
/// 1. to tell MSBuild to copy the native dependencies to folder with .exe (NativeAssemblyReference)
26
+
/// 2. to generate a .csproj file that does not exclude Directory.Build.props (default BDN behaviour) which contains custom NuGet feeds that are required for restore step
Copy file name to clipboardExpand all lines: test/Microsoft.ML.Benchmarks/Helpers/EmptyWriter.cs
+1-5
Original file line number
Diff line number
Diff line change
@@ -7,16 +7,12 @@
7
7
8
8
namespaceMicrosoft.ML.Benchmarks
9
9
{
10
-
internalclassHelpers
11
-
{
12
-
publicstaticstringDatasetNotFound="Could not find {0} Please ensure you have run 'build.cmd -- /t:DownloadExternalTestFiles /p:IncludeBenchmarkData=true' from the root";
13
-
}
14
-
15
10
// Adding this class to not print anything to the console.
16
11
// This is required for the current version of BenchmarkDotNet
// Licensed to the .NET Foundation under one or more agreements.
2
+
// The .NET Foundation licenses this file to you under the MIT license.
3
+
// See the LICENSE file in the project root for more information.
4
+
5
+
namespaceMicrosoft.ML.Benchmarks
6
+
{
7
+
internalclassErrors
8
+
{
9
+
publicstaticstringDatasetNotFound="Could not find {0} Please ensure you have run 'build.cmd -- /t:DownloadExternalTestFiles /p:IncludeBenchmarkData=true' from the root";
0 commit comments