mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-05-07 00:39:00 +08:00
- 新增独立的 GFramework.Cqrs.Benchmarks 项目并引入 request、notification 对比场景 - 补充 request 与 stream invoker provider 的 mixed direct/reflected 顺序回归测试 - 更新 solution、meta-package 排除规则与 CQRS ai-plan 恢复点
24 lines
699 B
C#
24 lines
699 B
C#
// Copyright (c) 2025-2026 GeWuYou
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
using BenchmarkDotNet.Loggers;
|
|
using BenchmarkDotNet.Running;
|
|
|
|
namespace GFramework.Cqrs.Benchmarks;
|
|
|
|
/// <summary>
|
|
/// 提供 GFramework.CQRS benchmark 的统一命令行入口。
|
|
/// </summary>
|
|
internal static class Program
|
|
{
|
|
/// <summary>
|
|
/// 运行当前程序集中的全部 benchmark。
|
|
/// </summary>
|
|
/// <param name="args">透传给 BenchmarkDotNet 的命令行参数。</param>
|
|
private static void Main(string[] args)
|
|
{
|
|
ConsoleLogger.Default.WriteLine("Running GFramework.Cqrs benchmarks");
|
|
BenchmarkSwitcher.FromAssembly(typeof(Program).Assembly).Run(args);
|
|
}
|
|
}
|