Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ BENCH_BLAZE = build/bin/bench-blaze
BENCH_EIGEN = build/bin/bench-eigen
BENCH_BLAST = build/bin/bench-blast
BENCH_LIBXSMM = build/bin/bench-libxsmm
BENCHMARK_OPTIONS = --benchmark_repetitions=5 --benchmark_counters_tabular=true --benchmark_out_format=json --benchmark_report_aggregates_only=true
BENCHMARK_OPTIONS = --benchmark_repetitions=10 --benchmark_counters_tabular=true --benchmark_out_format=json
RUN_MATLAB = matlab -nodisplay -nosplash -nodesktop -r
BENCH_DATA = bench_result/data
BENCH_IMAGE = bench_result/image
Expand Down
9 changes: 8 additions & 1 deletion bench/analysis/dgemm_performance.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,14 @@


def filter_aggregate(benchmarks, name):
return [b for b in benchmarks if b['aggregate_name'] == name]
result = []
for b in benchmarks:
try:
if b['aggregate_name'] == name:
result.append(b)
except KeyError:
continue
return result


factor = 1e+9 # Giga
Expand Down
10 changes: 8 additions & 2 deletions bench/analysis/dgemm_performance_ratio.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,14 @@


def filter_aggregate(benchmarks, name):
return [b for b in benchmarks if b['aggregate_name'] == name]

result = []
for b in benchmarks:
try:
if b['aggregate_name'] == name:
result.append(b)
except KeyError:
continue
return result

def load_benchmark(file_name):
with open(file_name) as f:
Expand Down