-
Notifications
You must be signed in to change notification settings - Fork 9
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
Implement benchmark report #158
Draft
AndreyMlashkin
wants to merge
10
commits into
master
Choose a base branch
from
implement-benchmark-report
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
ea10034
implement benchmarks derivation
AndreyMlashkin 764012a
rename _test to _benchmark for file outputs
AndreyMlashkin bf2c61a
report benchmark infos to signoz
AndreyMlashkin 9d83727
TODO revert change trigger from cron to PR
AndreyMlashkin 5f2fc73
run only benchmarks and no other tests
AndreyMlashkin aed9f1e
add benchmarks to nightly
AndreyMlashkin bc8ccfc
add explicit dependency
AndreyMlashkin 9604115
add test logs
AndreyMlashkin 0abcc7c
make parallel-crypto3 tests compile and run
AndreyMlashkin f922457
hotfix
AndreyMlashkin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
name: Build and Test benchmark tests on Linux with clang | ||
|
||
on: | ||
workflow_call: | ||
|
||
jobs: | ||
build-and-test: | ||
name: "Build and test benchmark tests on Linux with clang" | ||
runs-on: [self-hosted, Linux, X64, aws_autoscaling] | ||
continue-on-error: true | ||
steps: | ||
# https://github.com/actions/checkout/issues/1552 | ||
- name: Clean up after previous checkout | ||
run: chmod +w -R ${GITHUB_WORKSPACE}; rm -rf ${GITHUB_WORKSPACE}/*; | ||
|
||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Run checks | ||
run: | | ||
nix build -L .?#checks.x86_64-linux.all-clang-benchmarks | ||
mkdir results | ||
ls -l -a | ||
ls -l -a ./result | ||
ls -l -a ./result/test-logs/ | ||
cat ./result/test-logs/test_errors.txt | ||
cp result/test-logs/*_test.xml results/ | ||
cp result/test-logs/*_benchmark.xml results/ | ||
ls -l -a results/ | ||
continue-on-error: true | ||
env: | ||
NIX_CONFIG: | | ||
cores = 8 | ||
|
||
- name: Publish Benchmarks Test Results | ||
uses: EnricoMi/publish-unit-test-result-action/linux@v2 | ||
with: | ||
check_name: "Benchmarks Test Results" | ||
files: "results/*.xml" | ||
comment_mode: ${{ github.event.pull_request.head.repo.fork && 'off' || 'always' }} # Don't create PR comment from fork runs | ||
action_fail_on_inconclusive: true # fail, if no reports | ||
|
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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -60,7 +60,7 @@ set(BENCHMARK_NAMES | |
|
||
"multiprecision/modular_adaptor_fixed" | ||
|
||
"zk/lpc" | ||
#"zk/lpc" | ||
"zk/pedersen" | ||
) | ||
|
||
|
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,51 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<testsuite tests="6" skipped="0" errors="0" failures="0" id="0" name="algebra_benchmark" time="1268.28"> | ||
<testcase assertions="0" classname="curves_benchmark" name="pallas" time="40.1403"> | ||
<system-out><![CDATA[MESSAGE: | ||
- file : boost.test framework | ||
- line : 0 | ||
- message: Test case curves_benchmark/pallas did not check any assertions | ||
|
||
]]></system-out> | ||
</testcase> | ||
<testcase assertions="0" classname="curves_benchmark" name="vesta" time="40.2609"> | ||
<system-out><![CDATA[MESSAGE: | ||
- file : boost.test framework | ||
- line : 0 | ||
- message: Test case curves_benchmark/vesta did not check any assertions | ||
|
||
]]></system-out> | ||
</testcase> | ||
<testcase assertions="0" classname="curves_benchmark" name="bls12_381" time="250.289"> | ||
<system-out><![CDATA[MESSAGE: | ||
- file : boost.test framework | ||
- line : 0 | ||
- message: Test case curves_benchmark/bls12_381 did not check any assertions | ||
|
||
]]></system-out> | ||
</testcase> | ||
<testcase assertions="0" classname="curves_benchmark" name="bls12_377" time="224.689"> | ||
<system-out><![CDATA[MESSAGE: | ||
- file : boost.test framework | ||
- line : 0 | ||
- message: Test case curves_benchmark/bls12_377 did not check any assertions | ||
|
||
]]></system-out> | ||
</testcase> | ||
<testcase assertions="0" classname="curves_benchmark" name="mnt4_298" time="248.203"> | ||
<system-out><![CDATA[MESSAGE: | ||
- file : boost.test framework | ||
- line : 0 | ||
- message: Test case curves_benchmark/mnt4_298 did not check any assertions | ||
|
||
]]></system-out> | ||
</testcase> | ||
<testcase assertions="0" classname="curves_benchmark" name="mnt6_298" time="464.699"> | ||
<system-out><![CDATA[MESSAGE: | ||
- file : boost.test framework | ||
- line : 0 | ||
- message: Test case curves_benchmark/mnt6_298 did not check any assertions | ||
|
||
]]></system-out> | ||
</testcase> | ||
</testsuite> |
Empty file.
Empty file.
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
43 changes: 43 additions & 0 deletions
43
crypto3/benchmarks/modular_fixed_multiprecision_benchmark.xml
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,43 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<testsuite tests="5" skipped="0" errors="0" failures="0" id="0" name="modular_fixed_multiprecision_benchmark" time="16.1268"> | ||
<testcase assertions="0" classname="runtime_tests" name="modular_adaptor_montgomery_mult_perf_test" time="3.2846"> | ||
<system-out><![CDATA[MESSAGE: | ||
- file : boost.test framework | ||
- line : 0 | ||
- message: Test case runtime_tests/modular_adaptor_montgomery_mult_perf_test did not check any assertions | ||
|
||
]]></system-out> | ||
</testcase> | ||
<testcase assertions="0" classname="runtime_tests" name="modular_adaptor_backend_sub_perf_test" time="3.15055"> | ||
<system-out><![CDATA[MESSAGE: | ||
- file : boost.test framework | ||
- line : 0 | ||
- message: Test case runtime_tests/modular_adaptor_backend_sub_perf_test did not check any assertions | ||
|
||
]]></system-out> | ||
</testcase> | ||
<testcase assertions="0" classname="runtime_tests" name="modular_adaptor_backend_add_perf_test" time="3.13206"> | ||
<system-out><![CDATA[MESSAGE: | ||
- file : boost.test framework | ||
- line : 0 | ||
- message: Test case runtime_tests/modular_adaptor_backend_add_perf_test did not check any assertions | ||
|
||
]]></system-out> | ||
</testcase> | ||
<testcase assertions="0" classname="runtime_tests" name="modular_adaptor_backend_mult_perf_test" time="3.26774"> | ||
<system-out><![CDATA[MESSAGE: | ||
- file : boost.test framework | ||
- line : 0 | ||
- message: Test case runtime_tests/modular_adaptor_backend_mult_perf_test did not check any assertions | ||
|
||
]]></system-out> | ||
</testcase> | ||
<testcase assertions="0" classname="runtime_tests" name="modular_adaptor_number_mult_perf_test" time="3.29176"> | ||
<system-out><![CDATA[MESSAGE: | ||
- file : boost.test framework | ||
- line : 0 | ||
- message: Test case runtime_tests/modular_adaptor_number_mult_perf_test did not check any assertions | ||
|
||
]]></system-out> | ||
</testcase> | ||
</testsuite> |
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,11 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<testsuite tests="1" skipped="0" errors="0" failures="0" id="0" name="multiexpr_benchmark" time="179.731"> | ||
<testcase assertions="0" classname="multiexp_test_suite" name="multiexp_test_case" time="179.731"> | ||
<system-out><![CDATA[MESSAGE: | ||
- file : boost.test framework | ||
- line : 0 | ||
- message: Test case multiexp_test_suite/multiexp_test_case did not check any assertions | ||
|
||
]]></system-out> | ||
</testcase> | ||
</testsuite> |
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
Empty file.
Empty file.
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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why disabled?