PageRenderTime 263ms CodeModel.GetById 141ms app.highlight 2ms RepoModel.GetById 119ms app.codeStats 0ms

/Rhino.Etl.Tests/LoadTest/Join_250_000_UsersWithMostlyFallingOut.cs

http://github.com/ayende/rhino-etl
C# | 21 lines | 18 code | 3 blank | 0 comment | 0 complexity | 9a9b8b920851267cbe930a4743c9731f MD5 | raw file
 1namespace Rhino.Etl.Tests.LoadTest
 2{
 3    using Core;
 4    using Rhino.Etl.Core.Pipelines;
 5
 6    public class Join_250_000_UsersWithMostlyFallingOut : EtlProcess
 7    {
 8        public  AccumulateResults operation;
 9
10        protected override void Initialize()
11        {
12            PipelineExecuter = new SingleThreadedPipelineExecuter();
13
14            Register(new JoinUsersAndIds()
15                         .Left(new GenerateUsers(25000))
16                         .Right(new GenerateRandomIds(15000)));
17            operation = new AccumulateResults();
18            Register(this.operation);
19        }
20    }
21}