Remove number of elements from bench descr

Number elements may be incorrect if the stream size is specified on the command
line. Also it becomes inconsistent if changes are made to the defaults in the
benchmarks.
This commit is contained in:
Harendra Kumar 2020-01-24 02:37:42 +05:30
parent cffe711fac
commit 385f0fc152

View File

@ -336,12 +336,12 @@ main = do
Just opts@Options{..} -> Just opts@Options{..} ->
case benchType of case benchType of
Linear -> benchShow opts cfg Linear -> benchShow opts cfg
{ title = Just "100,000 elems" } { title = Just "Linear" }
makeLinearGraphs makeLinearGraphs
"charts/linear/results.csv" "charts/linear/results.csv"
"charts/linear" "charts/linear"
LinearAsync -> benchShow opts cfg LinearAsync -> benchShow opts cfg
{ title = Just "Async 10,000 elems" } { title = Just "Linear Async" }
makeLinearAsyncGraphs makeLinearAsyncGraphs
"charts/linear-async/results.csv" "charts/linear-async/results.csv"
"charts/linear-async" "charts/linear-async"
@ -349,17 +349,17 @@ main = do
"charts/linear-rate/results.csv" "charts/linear-rate/results.csv"
"charts/linear-rate" "charts/linear-rate"
Nested -> benchShow opts cfg Nested -> benchShow opts cfg
{ title = Just "Nested loops 316 x 316 elems" } { title = Just "Nested loops" }
makeNestedGraphs makeNestedGraphs
"charts/nested/results.csv" "charts/nested/results.csv"
"charts/nested" "charts/nested"
NestedConcurrent -> benchShow opts cfg NestedConcurrent -> benchShow opts cfg
{ title = Just "Nested concurrent loops 316 x 316 elems" } { title = Just "Nested concurrent loops" }
makeNestedGraphs makeNestedGraphs
"charts/nested-concurrent/results.csv" "charts/nested-concurrent/results.csv"
"charts/nested-concurrent" "charts/nested-concurrent"
NestedUnfold -> benchShow opts cfg NestedUnfold -> benchShow opts cfg
{ title = Just "Nested unfold loops 316 x 316 elems" } { title = Just "Nested unfold loops" }
makeNestedGraphs makeNestedGraphs
"charts/nested-unfold/results.csv" "charts/nested-unfold/results.csv"
"charts/nested-unfold" "charts/nested-unfold"
@ -379,7 +379,7 @@ main = do
"charts/concurrent/results.csv" "charts/concurrent/results.csv"
"charts/concurrent" "charts/concurrent"
Base -> do Base -> do
let cfg' = cfg { title = Just "100,000 elems" } let cfg' = cfg { title = Just "Base stream" }
if groupDiff if groupDiff
then showStreamDVsK opts cfg' then showStreamDVsK opts cfg'
"charts/base/results.csv" "charts/base/results.csv"