Skip to content
Open
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
2 changes: 1 addition & 1 deletion scripts/perf/extract-bytecode-sizes.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#! /usr/bin/env bash

# This script extracts project names and bytecode sizes from a `forc test` or
# `forc build` output.
Expand Down
2 changes: 1 addition & 1 deletion scripts/perf/extract-gas-usages.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#! /usr/bin/env bash

# This script extracts full test names and test gas usages from a `forc test` output.
# The output is a CSV with two columns, test name, and gas usage.
Expand Down
2 changes: 1 addition & 1 deletion scripts/perf/perf-diff-latest.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#! /usr/bin/env bash

# This script finds the latest two performance CSV files for a given performance category,
# e.g., `e2e-gas-usages`, in `./test/perf_out`, orders them by their timestamp prefix,
Expand Down
2 changes: 1 addition & 1 deletion scripts/perf/perf-diff-stats.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#! /usr/bin/env bash

# This script calculates a simple statistical summary of performance differences
# collected from two CSV files, by using `perf-diff.sh` to compute the diffs first.
Expand Down
2 changes: 1 addition & 1 deletion scripts/perf/perf-diff.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#! /usr/bin/env bash

# This script compares performance data (gas usages and bytecode sizes) from two CSV files.
# CSV files must have two columns, the test name and the performance data, and the test
Expand Down
2 changes: 1 addition & 1 deletion sway-ir/src/pass_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ impl PassManager {
std::env::var("SWAY_FORCE_VERIFY_IR").unwrap_or_else(|_| "false".to_string());
let force_verify: bool = force_verify.parse().unwrap_or(false);

for _ in 0..2 {
for _ in 0..16 {
let mut iter_modified = false;

for pass in passes.flatten_pass_group() {
Expand Down
Loading
Loading