xref: /libCEED/benchmarks/postprocess_table.py (revision 9ba83ac0e4b1fca39d6fa6737a318a9f0cbc172d)
1d13e9b48SJed Brown#!/usr/bin/env python3
25cd6c1fbSSebastian Grimberg
3*9ba83ac0SJeremy L Thompson# Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors.
45aed82e4SJeremy L Thompson# All Rights Reserved. See the top-level LICENSE and NOTICE files for details.
5d13e9b48SJed Brown#
65aed82e4SJeremy L Thompson# SPDX-License-Identifier: BSD-2-Clause
7d13e9b48SJed Brown#
85aed82e4SJeremy L Thompson# This file is part of CEED:  http://github.com/ceed
9d13e9b48SJed Brown
10d13e9b48SJed Brownimport pandas as pd
11d13e9b48SJed Brownfrom postprocess_base import read_logs
12d13e9b48SJed Brown
135cd6c1fbSSebastian Grimberg# Load the data
14d13e9b48SJed Brownruns = read_logs()
15d13e9b48SJed Brown
16dec49e00SJed Brown# Data output
17d13e9b48SJed Brownprint('Writing data to \'benchmark_data.csv\'...')
18d13e9b48SJed Brownruns.to_csv('benchmark_data.csv', sep='\t', index=False)
19d13e9b48SJed Brownprint('Writing complete')
20