-
Notifications
You must be signed in to change notification settings - Fork 283
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into spy/next-canary-deployment + PR Fixes
- Loading branch information
Showing
305 changed files
with
15,401 additions
and
2,334 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
".": "0.8.8", | ||
"barretenberg": "0.8.8", | ||
"barretenberg/ts": "0.8.8" | ||
".": "0.8.9", | ||
"barretenberg": "0.8.9", | ||
"barretenberg/ts": "0.8.9" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
v0.8.8 x-release-please-version | ||
v0.8.9 x-release-please-version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
v0.8.8 x-release-please-version | ||
v0.8.9 x-release-please-version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
#!/bin/bash | ||
set -eu | ||
|
||
PRESET=${1:-xray-1thread} # can also be 'xray' | ||
ONLY_PROCESS=${2:-} | ||
|
||
# Move above script dir. | ||
cd $(dirname $0)/.. | ||
|
||
# Configure and build with xray preset. | ||
cmake --preset $PRESET | ||
cmake --build --preset $PRESET | ||
|
||
cd build-$PRESET | ||
|
||
if [ -z "$ONLY_PROCESS" ]; then | ||
# Clear old profile data. | ||
rm -f xray-log.honk_bench_main_simple.* | ||
|
||
# Run benchmark with profiling. | ||
XRAY_OPTIONS="patch_premain=true xray_mode=xray-basic verbosity=1" ./bin/honk_bench_main_simple | ||
fi | ||
|
||
function shorten_cpp_names() { | ||
NO_TEMP='s/<[^<>;]+>//g;' | ||
sed -E '# Multiple rounds of template removal (crude but simple). | ||
'"$NO_TEMP $NO_TEMP $NO_TEMP $NO_TEMP $NO_TEMP $NO_TEMP"' | ||
# Remove problematic trailing const. | ||
s/ const;/;/g; | ||
# Parameter removal. | ||
s/\([^();]*\)/()/g; | ||
# Return value removal. | ||
s/;[^; ]+ /;/g; | ||
# Remove namespaces. | ||
s/[a-zA-Z_][a-zA-Z0-9_]*:://g; | ||
' | ||
} | ||
|
||
# Process benchmark file. | ||
llvm-xray-16 stack xray-log.honk_bench_main_simple.* \ | ||
--instr_map=./bin/honk_bench_main_simple --stack-format=flame --aggregate-threads --aggregation-type=time --all-stacks \ | ||
| node ../scripts/llvm_xray_stack_flame_corrector.js \ | ||
| shorten_cpp_names \ | ||
| ../scripts/flamegraph.pl > xray.svg | ||
echo "Profiling complete, now you can do e.g. 'scp mainframe:`readlink -f xray.svg` .' on a local terminal and open the SVG in a browser." |
Oops, something went wrong.