-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProgram.cs
More file actions
59 lines (43 loc) · 1.89 KB
/
Program.cs
File metadata and controls
59 lines (43 loc) · 1.89 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
namespace LesserKnown.NET;
public class Program
{
static async Task Main(string[] args)
{
Util.PrintDemoStart("MainDemo");
//var pollyTestDemo = new PollyDemo();
//pollyTestDemo.Run();
//var pInvokeTestDemo = new PInvokeDemo();
//pInvokeTestDemo.Run();
//var exprTestDemo = new ExprsDemo();
//exprTestDemo.Run();
//var spanTestDemo = new SpanTDemo();
//spanTestDemo.Run();
//var memTestDemo = new MemoryTDemo();
//memTestDemo.Run();
//Fody Demo
//FodyDemo fodyDemo = new FodyDemo();
//fodyDemo.Run();
// Message Pack Demo
//MessagePackDemo mpDemo = new MessagePackDemo();
//mpDemo.Run();
// Dynamic code gen Demo
//DynamicCodeGenDemo dynamicCodeGenDemo = new DynamicCodeGenDemo();
//dynamicCodeGenDemo.Run();
//HumanizerDemo humanizerDemo = new HumanizerDemo();
//humanizerDemo.Run();
//CancTokensDemo cancTokensDemo = new CancTokensDemo();
// await cancTokensDemo.Run();
// If you run in Debug mode: you will see below message
// * Assembly LesserKnown.NET which defines benchmarks is non-optimized
// Benchmark was built without optimization enabled(most probably a DEBUG configuration). Please, build it in RELEASE.
// If you want to debug the benchmarks, please see https://benchmarkdotnet.org/articles/guides/troubleshooting.html#debugging-benchmarks.
// Switch to Release mode before calling
//BenchMarkRunnerDemo benchMarkRunnerDemo = new BenchMarkRunnerDemo();
//benchMarkRunnerDemo.Run();
OllamaSharpDemo ollamaSharpDemo = new OllamaSharpDemo();
ollamaSharpDemo.Run();
//MSAIExtensionsDemo msAIExtensionsDemo = new MSAIExtensionsDemo();
//msAIExtensionsDemo.Run();
Util.PrintDemoEnd("MainDemo");
}
}