Skip to content

Commit 9bf2cd7

Browse files
authored
Merge pull request #224 from dusrdev/patch-1
Updated benchmarks image and enhance colorization details
2 parents 438f283 + 776b580 commit 9bf2cd7

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

ReadMe.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66

77
ConsoleAppFramework v5 is Zero Dependency, Zero Overhead, Zero Reflection, Zero Allocation, AOT Safe CLI Framework powered by C# Source Generator; achieves exceptionally high performance, fastest start-up time(with NativeAOT) and minimal binary size. Leveraging the latest features of .NET 8 and C# 13 ([IncrementalGenerator](https://github.com/dotnet/roslyn/blob/main/docs/features/incremental-generators.md), [managed function pointer](https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/proposals/csharp-9.0/function-pointers#function-pointers-1), [params arrays and default values lambda expression](https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/operators/lambda-expressions#input-parameters-of-a-lambda-expression), [`ISpanParsable<T>`](https://learn.microsoft.com/en-us/dotnet/api/system.ispanparsable-1), [`PosixSignalRegistration`](https://learn.microsoft.com/en-us/dotnet/api/system.runtime.interopservices.posixsignalregistration), etc.), this library ensures maximum performance while maintaining flexibility and extensibility.
88

9-
![image](https://github.com/user-attachments/assets/4a10fd2b-fa56-467f-8d7f-e47bee634753)
9+
![image](https://github.com/user-attachments/assets/c9178260-be29-497c-a7ea-8f6da51f1682)
10+
1011
> .NET 10.0 and Set `RunStrategy=ColdStart WarmupCount=0` to calculate the cold start benchmark, which is suitable for CLI application.
1112
1213
The magical performance is achieved by statically generating everything and parsing inline. Let's take a look at a minimal example:
@@ -1476,9 +1477,11 @@ When `Microsoft.Extensions.Hosting` is referenced, `bool startHost, bool stopHos
14761477

14771478
Colorize
14781479
---
1479-
The framework doesn't support colorization directly; however, utilities like [Cysharp/Kokuban](https://github.com/Cysharp/Kokuban) make console colorization easy. Additionally, if you need spinners or updates single-line displays, you can also use it in combination with [mayuki/Kurukuru](https://github.com/mayuki/Kurukuru).
1480+
The framework doesn't support colorization directly; however, utilities like [Cysharp/Kokuban](https://github.com/Cysharp/Kokuban) make console colorization easy. Additionally, if you need spinners or single-line updates, you can also use it in combination with [mayuki/Kurukuru](https://github.com/mayuki/Kurukuru).
1481+
1482+
For applications that require ultra-low-latency, high-throughput console output, consider using [PrettyConsole](https://github.com/dusrdev/PrettyConsole).
14801483

1481-
For more powerful Console UI support, you can also use it in combination with [Spectre.Console](https://spectreconsole.net/).
1484+
For another console UI framework option, you can also use [Spectre.Console](https://spectreconsole.net/).
14821485

14831486
Cli Schema
14841487
---

0 commit comments

Comments
 (0)