File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ module ManyStudies
2+
3+ open ARCtrl.ISA .Spreadsheet
4+ open ARCtrl.ISA
5+
6+
7+ let write () =
8+
9+ let inv = ArcInvestigation.init( " MyInvestigation" )
10+ for i = 0 to 1500 do
11+ let s = ArcStudy.init( $" Study{i}" )
12+ inv.AddRegisteredStudy( s)
13+ ArcInvestigation.toFsWorkbook inv
Original file line number Diff line number Diff line change 44[<EntryPoint>]
55let main argv =
66
7- LargeStudy.createStudy 10000
8- |> LargeStudy.toWorkbook
9- |> LargeStudy.fromWorkbook
10- |> ignore
11- 1
7+ if Array.contains " --manyStudies" argv then
8+ ManyStudies.write() |> ignore
9+ 1
10+ elif Array.contains " --largeStudy" argv then
11+
12+ LargeStudy.createStudy 10000
13+ |> LargeStudy.toWorkbook
14+ |> LargeStudy.fromWorkbook
15+ |> ignore
16+ 1
17+ else
18+ 0
Original file line number Diff line number Diff line change 66 </PropertyGroup >
77
88 <ItemGroup >
9+ <Compile Include =" ManyStudies.fs" />
910 <Compile Include =" LargeStudy.fs" />
1011 <Compile Include =" Program.fs" />
1112 </ItemGroup >
You can’t perform that action at this time.
0 commit comments