/Rhino.Etl.Tests/LoadTest/LoadTestJoinsFixture.cs
http://github.com/ayende/rhino-etl · C# · 23 lines · 20 code · 3 blank · 0 comment · 0 complexity · 6ad1cd3cf38a9d13efc8bf9889ff2e06 MD5 · raw file
- namespace Rhino.Etl.Tests.LoadTest
- {
- using System.Diagnostics;
- using Xunit;
-
- public class LoadTestJoinsFixture
- {
- [Fact(Skip = "It depends too much of what the machine is doing and how powerful it is")]
- public void CanDoLargeJoinsefficently()
- {
- Stopwatch stopwatch = Stopwatch.StartNew();
- using(Join_250_000_UsersWithMostlyFallingOut proc = new Join_250_000_UsersWithMostlyFallingOut())
- {
- proc.Execute();
- Assert.Equal(15000, proc.operation.count);
- }
- stopwatch.Stop();
- Assert.True(stopwatch.ElapsedMilliseconds < 1000);
- }
- }
- }