xref: /libCEED/benchmarks/postprocess_table.py (revision 5aed82e4fa97acf4ba24a7f10a35f5303a6798e0)
1d13e9b48SJed Brown#!/usr/bin/env python3
25cd6c1fbSSebastian Grimberg
3*5aed82e4SJeremy L Thompson# Copyright (c) 2017-2024, Lawrence Livermore National Security, LLC and other CEED contributors.
4*5aed82e4SJeremy L Thompson# All Rights Reserved. See the top-level LICENSE and NOTICE files for details.
5d13e9b48SJed Brown#
6*5aed82e4SJeremy L Thompson# SPDX-License-Identifier: BSD-2-Clause
7d13e9b48SJed Brown#
8*5aed82e4SJeremy 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