diff --git a/src/Dispatcher/Masa.Contrib.Dispatcher.Events/README.md b/src/Dispatcher/Masa.Contrib.Dispatcher.Events/README.md index 35967d033..84c43d710 100644 --- a/src/Dispatcher/Masa.Contrib.Dispatcher.Events/README.md +++ b/src/Dispatcher/Masa.Contrib.Dispatcher.Events/README.md @@ -173,7 +173,7 @@ builder.Services.AddEventBus(eventBusBuilder => eventBusBuilder.UseMiddleware(ty > Used in conjunction with Contracts.EF and UnitOfWork, when Event implements ITransaction, the transaction will be automatically opened after the first CUD is executed, and the transaction will be submitted after all Handlers are executed. When an exception occurs in the transaction, the transaction will be automatically rolled back. -### Performance Testing +##### Performance Testing BenchmarkDotNet=v0.13.1, OS=Windows 10.0.19043.1023 (21H1/May2021Update) 11th Gen Intel Core i7-11700 2.50GHz, 1 CPU, 16 logical and 8 physical cores diff --git a/src/Dispatcher/Masa.Contrib.Dispatcher.Events/README.zh-CN.md b/src/Dispatcher/Masa.Contrib.Dispatcher.Events/README.zh-CN.md index 8f5a0c286..29f7738c3 100644 --- a/src/Dispatcher/Masa.Contrib.Dispatcher.Events/README.zh-CN.md +++ b/src/Dispatcher/Masa.Contrib.Dispatcher.Events/README.zh-CN.md @@ -172,7 +172,7 @@ builder.Services.AddEventBus(eventBusBuilder => eventBusBuilder.UseMiddleware(ty > 配合MASA.Contrib.Ddd.Domain.Repository.EF.Repository、UnitOfWork使用,当Event实现了ITransaction,会在执行Add、Update、Delete方法时自动开启事务,且在Handler全部执行后提交事务,当事务出现异常后,会自动回滚事务 -### 性能测试 +##### 性能测试 BenchmarkDotNet=v0.13.1, OS=Windows 10.0.19043.1023 (21H1/May2021Update) 11th Gen Intel Core i7-11700 2.50GHz, 1 CPU, 16 logical and 8 physical cores