Browse Source

Switch to local ABP and disable transactions

pull/6809/head
Halil İbrahim Kalkan 6 years ago
parent
commit
482f51bb19
  1. 6
      test/AbpPerfTest/AbpPerfTest.WithAbp/AbpPerfTest.WithAbp.csproj
  2. 2
      test/AbpPerfTest/AbpPerfTest.WithAbp/AppModule.cs
  3. 2
      test/AbpPerfTest/_jmeter/SimpleTestPlan.jmx

6
test/AbpPerfTest/AbpPerfTest.WithAbp/AbpPerfTest.WithAbp.csproj

@ -5,9 +5,9 @@
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="Volo.Abp.AspNetCore.Mvc" Version="4.0.2" /> <ProjectReference Include="..\..\..\framework\src\Volo.Abp.AspNetCore.Mvc\Volo.Abp.AspNetCore.Mvc.csproj" />
<PackageReference Include="Volo.Abp.Autofac" Version="4.0.2" /> <ProjectReference Include="..\..\..\framework\src\Volo.Abp.Autofac\Volo.Abp.Autofac.csproj" />
<PackageReference Include="Volo.Abp.EntityFrameworkCore.SqlServer" Version="4.0.2" /> <ProjectReference Include="..\..\..\framework\src\Volo.Abp.EntityFrameworkCore.SqlServer\Volo.Abp.EntityFrameworkCore.SqlServer.csproj" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="5.0.1"> <PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="5.0.1">
<PrivateAssets>all</PrivateAssets> <PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>

2
test/AbpPerfTest/AbpPerfTest.WithAbp/AppModule.cs

@ -33,7 +33,7 @@ namespace AbpPerfTest.WithAbp
Configure<AbpUnitOfWorkDefaultOptions>(options => Configure<AbpUnitOfWorkDefaultOptions>(options =>
{ {
options.TransactionBehavior = UnitOfWorkTransactionBehavior.Auto; options.TransactionBehavior = UnitOfWorkTransactionBehavior.Disabled;
}); });
} }

2
test/AbpPerfTest/_jmeter/SimpleTestPlan.jmx

@ -18,7 +18,7 @@
<boolProp name="LoopController.continue_forever">false</boolProp> <boolProp name="LoopController.continue_forever">false</boolProp>
<stringProp name="LoopController.loops">100</stringProp> <stringProp name="LoopController.loops">100</stringProp>
</elementProp> </elementProp>
<stringProp name="ThreadGroup.num_threads">100</stringProp> <stringProp name="ThreadGroup.num_threads">1000</stringProp>
<stringProp name="ThreadGroup.ramp_time">10</stringProp> <stringProp name="ThreadGroup.ramp_time">10</stringProp>
<boolProp name="ThreadGroup.scheduler">false</boolProp> <boolProp name="ThreadGroup.scheduler">false</boolProp>
<stringProp name="ThreadGroup.duration"></stringProp> <stringProp name="ThreadGroup.duration"></stringProp>

Loading…
Cancel
Save