File tree Expand file tree Collapse file tree
benchmarks/GraphBLAS-sharp.Benchmarks Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,8 +26,9 @@ type BFSConfig() =
2626 StatisticColumn.Max
2727 ) |> ignore
2828
29- [<IterationCount( 5 ) >]
29+ [<IterationCount( 10 ) >]
3030[<WarmupCount( 3 ) >]
31+ [<InvocationCount( 3 ) >]
3132[<Config( typeof< BFSConfig>) >]
3233type BFSBenchmarks () =
3334 let random = Random()
@@ -96,11 +97,11 @@ type BFSBenchmarks() =
9697 static member AvaliableContextsProvider = Utils.avaliableContexts
9798
9899 static member InputMatricesProvider =
99- " BFSBenchmarks .txt"
100+ " Common .txt"
100101 |> Utils.getMatricesFilenames
101102 |> Seq.map
102103 ( fun matrixFilename ->
103104 match Path.GetExtension matrixFilename with
104- | " .mtx" -> MtxReader( Utils.getFullPathToMatrix " BFSDatasets " matrixFilename)
105+ | " .mtx" -> MtxReader( Utils.getFullPathToMatrix " Common " matrixFilename)
105106 | _ -> failwith " Unsupported matrix format"
106107 )
Original file line number Diff line number Diff line change @@ -20,8 +20,9 @@ type MxvConfig() =
2020 StatisticColumn.Max
2121 ) |> ignore
2222
23- [<IterationCount( 5 ) >]
23+ [<IterationCount( 10 ) >]
2424[<WarmupCount( 3 ) >]
25+ [<InvocationCount( 3 ) >]
2526[<Config( typeof< MxvConfig>) >]
2627type MxvBenchmarks () =
2728 let rand = System.Random()
@@ -81,11 +82,11 @@ type MxvBenchmarks() =
8182 static member AvaliableContextsProvider = Utils.avaliableContexts
8283
8384 static member InputMatricesProvider =
84- " MxvBenchmarks .txt"
85+ " Common .txt"
8586 |> Utils.getMatricesFilenames
8687 |> Seq.map
8788 ( fun matrixFilename ->
8889 match Path.GetExtension matrixFilename with
89- | " .mtx" -> MtxReader( Utils.getFullPathToMatrix " MxvDatasets " matrixFilename)
90+ | " .mtx" -> MtxReader( Utils.getFullPathToMatrix " Common " matrixFilename)
9091 | _ -> failwith " Unsupported matrix format"
9192 )
Original file line number Diff line number Diff line change @@ -25,8 +25,9 @@ type TransposeConfig() =
2525 StatisticColumn.Max
2626 ) |> ignore
2727
28- [<IterationCount( 5 ) >]
28+ [<IterationCount( 10 ) >]
2929[<WarmupCount( 3 ) >]
30+ [<InvocationCount( 3 ) >]
3031[<Config( typeof< MxvConfig>) >]
3132type TransposeBenchmarks () =
3233 let mutable matrix = Unchecked.defaultof< Matrix< float>>
@@ -70,11 +71,11 @@ type TransposeBenchmarks() =
7071 static member AvaliableContextsProvider = Utils.avaliableContexts
7172
7273 static member InputMatricesProvider =
73- " MxvBenchmarks .txt"
74+ " Common .txt"
7475 |> Utils.getMatricesFilenames
7576 |> Seq.map
7677 ( fun matrixFilename ->
7778 match Path.GetExtension matrixFilename with
78- | " .mtx" -> MtxReader( Utils.getFullPathToMatrix " MxvDatasets " matrixFilename)
79+ | " .mtx" -> MtxReader( Utils.getFullPathToMatrix " Common " matrixFilename)
7980 | _ -> failwith " Unsupported matrix format"
8081 )
Original file line number Diff line number Diff line change 1+ arc130.mtx
2+ linux_call_graph.mtx
3+ webbase-1M.mtx
4+ cit-Patents.mtx
5+ !wikipedia-20061104.mtx
6+ !wb-edu.mtx
You can’t perform that action at this time.
0 commit comments