Skip to content

latex table #795

Open
oflatt wants to merge 3 commits into
mainfrom
oflatt-latex-table
Open

latex table #795
oflatt wants to merge 3 commits into
mainfrom
oflatt-latex-table

Conversation

@oflatt
Copy link
Copy Markdown
Member

@oflatt oflatt commented Jun 1, 2026

No description provided.

Copilot AI review requested due to automatic review settings June 1, 2026 23:09
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 3 out of 3 changed files in this pull request and generated 8 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread infra/nightly.py
# Generate the plots
print("Generating graphs...")
make_graphs(str(output_dir), str(paper_dir), str(profile_json), "benchmarks/passing", config)
#make_graphs(str(output_dir), str(paper_dir), str(profile_json), "benchmarks/passing", config)
Comment thread infra/simple_table.py
Comment on lines +158 to +165
def raytrace_total_region_extract_time(data):
res = 0.0
row = get_row(data, "raytrace", "eggcc-tiger-ILP-COMPARISON")
timings = row["extractRegionTimings"]
for timing in timings:
res += duration_to_seconds(timing["extract_time_liveon_satelliteon"])
print("here it is")
print(res) No newline at end of file
Comment thread infra/simple_table.py
Comment on lines +1 to +5
import profile
import os
import math
from graph_helpers import *
from generate_line_counts import stddev_cycles
Comment thread infra/simple_table.py
Comment on lines +130 to +132
def make_compact_data_for_suite(data, suite):
benchmarks = dedup([b['benchmark'] for b in data if b.get('suite') == suite])
return _make_compact_data_for_benchmarks(data, benchmarks)
Comment thread infra/graph_helpers.py
Comment on lines +266 to +275
def cycles_to_ms(cycles):
hz = 4000000000
ms = cycles * 1000 / hz
return round(ms * 100.0) / 100.0


def cycles_to_us(cycles):
hz = 4000000000
us = cycles * 1000000 / hz
return round(us * 100.0) / 100.0
Comment thread infra/simple_table.py
Comment on lines +47 to +53
def render_cell(c):
s = str(c)
# Render "X +- Y" as math with \pm so it typesets nicely.
if " +- " in s:
left, right = s.split(" +- ", 1)
return f"{render_unit_suffix(left)} $\\pm$ {latex_escape(right)}"
return latex_escape(s)
Comment thread infra/simple_table.py
Comment on lines +64 to +68
if caption is not None:
cap = r"\caption{" + latex_escape(caption) + "}"
if label is not None:
cap += r"\label{" + label + "}"
lines.append(cap + r" \\")
Comment thread infra/simple_table.py
benchmarks = dedup([b['benchmark'] for b in data if b.get('suite') == suite])
return _make_compact_data_for_benchmarks(data, benchmarks)


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants