Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove gate diffs and add memory report #1

Merged
merged 1 commit into from
Dec 2, 2024
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
42 changes: 11 additions & 31 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Generate gas diff
author: TomAFrench
description: Easily compare circuit size reports generated by Nargo!
name: Generate report
author: guipublic
description: Easily compare json reports
branding:
icon: info
color: purple
Expand All @@ -11,11 +11,11 @@ inputs:
default: ${{ github.token }}
required: false
base:
description: The gates diff reference branch name.
description: The report reference branch name.
default: ${{ github.base_ref || github.ref_name }}
required: false
head:
description: The gates diff target branch name.
description: The report target branch name.
default: ${{ github.head_ref || github.ref_name }}
required: false
report:
Expand All @@ -27,36 +27,16 @@ inputs:
default: |
# Changes to circuit sizes
required: false
summaryQuantile:
description: The quantile threshold to filter avg gas cost diffs to display in the summary top section.
default: 0.8
required: false
brillig_report:
description: States whether we want to generate a report of ACIR opcodes or Brillig opcodes.
default: false
brillig_report_bytes:
description: States whether the Brillig report is done with bytecode sizes rather than opcodes.
default: false
# sortCriteria:
# description: The list of criteria to order diff rows by in the report (name | min | avg | median | max | calls), separated by a comma. Must have the same length as sortOrders.
# required: false
# default: name
# sortOrders:
# description: The list of directions to order diff rows in the report, according to order criteria (asc | desc), separated by a comma. Must have the same length as sortCriteria.
# required: false
# default: asc
# ignore:
# description: The list of contract paths from which to ignore gates reports, separated by a comma.
# required: false
# match:
# description: The list of contract paths of which only to keep gates reports, separated by a comma.
# required: false
memory_report:
description: States whether we want to generate a report of memory usage.
default: false
required: false

outputs:
shell:
description: The gates diff between the base gates report and the freshly generated gates report, specifically formatted for shell display
description: The diff between the base report and the freshly generated report, specifically formatted for shell display
markdown:
description: The gates diff between the base gates report and the freshly generated gates report, specifically formatted for markdown display
description: The diff between the base report and the freshly generated report, specifically formatted for markdown display

runs:
using: node16
Expand Down
307 changes: 0 additions & 307 deletions src/format/contract.ts

This file was deleted.

Loading