Skip to content

Commit

Permalink
Merge pull request #1 from noir-lang/gd/memory_report
Browse files Browse the repository at this point in the history
remove gate diffs and add memory report
  • Loading branch information
TomAFrench authored Dec 2, 2024
2 parents d88f752 + 91003b0 commit d61bc78
Show file tree
Hide file tree
Showing 14 changed files with 493 additions and 1,504 deletions.
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

0 comments on commit d61bc78

Please sign in to comment.