Skip to content

Commit

Permalink
tune configuration
Browse files Browse the repository at this point in the history
Signed-off-by: Ignacio Hagopian <[email protected]>
  • Loading branch information
jsign committed Sep 5, 2023
1 parent 2029b70 commit 11c788a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ jobs:
output-file-path: bench_output.txt
github-token: ${{ secrets.GITHUB_TOKEN }}
auto-push: true
alert-threshold: '50%'
alert-threshold: '10%'
comment-on-alert: true
summary-always: true
fail-on-alert: true
alert-comment-cc-users: '@jsign'
alert-comment-cc-users: '@jsign,@kevaundray'

2 comments on commit 11c788a

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark 'Go Benchmark'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 0.1.

Benchmark suite Current: 11c788a Previous: 2029b70 Ratio
BenchmarkMultiExpG1/32_points 1257852 ns/op 1266291 ns/op 0.99
BenchmarkMultiExpG1/64_points 1764075 ns/op 1791938 ns/op 0.98
BenchmarkMultiExpG1/128_points 2788764 ns/op 2771237 ns/op 1.01
BenchmarkMultiExpG1/256_points 4617235 ns/op 4923169 ns/op 0.94
BenchmarkMultiExpG1/512_points 7667494 ns/op 7792716 ns/op 0.98
BenchmarkMultiExpG1/1024_points 13907683 ns/op 13926728 ns/op 1.00
BenchmarkMultiExpG1/2048_points 24067089 ns/op 23415030 ns/op 1.03
BenchmarkMultiExpG1/4096_points 44507164 ns/op 47448459 ns/op 0.94
BenchmarkMultiExpG1/8192_points 77751452 ns/op 80102612 ns/op 0.97
BenchmarkMultiExpG1/16384_points 141952198 ns/op 143603365 ns/op 0.99
BenchmarkMultiExpG1/32768_points 251982493 ns/op 259093005 ns/op 0.97
BenchmarkMultiExpG1/65536_points 490409743 ns/op 493117629 ns/op 0.99
BenchmarkMultiExpG1/131072_points 949062551 ns/op 950137646 ns/op 1.00
BenchmarkMultiExpG1/262144_points 1738576318 ns/op 1770141301 ns/op 0.98
BenchmarkMultiExpG1/524288_points 3432386765 ns/op 3496131921 ns/op 0.98
BenchmarkMultiExpG1/1048576_points 6508633496 ns/op 6581409957 ns/op 0.99
BenchmarkMultiExpG1/2097152_points 13131583242 ns/op 13142350053 ns/op 1.00
BenchmarkMultiExpG1/4194304_points 25129323279 ns/op 24835003307 ns/op 1.01
BenchmarkMultiExpG1/8388608_points 46653389994 ns/op 45728049748 ns/op 1.02
BenchmarkMultiExpG1/16777216_points 90986738457 ns/op 89044704910 ns/op 1.02
BenchmarkMultiExpG1Reference 6545720448 ns/op 6618529619 ns/op 0.99
BenchmarkManyMultiExpG1Reference 19569297355 ns/op 19244053711 ns/op 1.02
BenchmarkElementSetBytes 75.53 ns/op 73.61 ns/op 1.03
BenchmarkElementMulByConstants/mulBy3 7.606 ns/op 7.592 ns/op 1.00
BenchmarkElementMulByConstants/mulBy5 10.33 ns/op 10.54 ns/op 0.98
BenchmarkElementMulByConstants/mulBy13 16.84 ns/op 16.25 ns/op 1.04
BenchmarkElementInverse 2970 ns/op 3022 ns/op 0.98
BenchmarkElementButterfly 7.836 ns/op 7.827 ns/op 1.00
BenchmarkElementExp 11232 ns/op 11069 ns/op 1.01
BenchmarkElementDouble 4.838 ns/op 4.896 ns/op 0.99
BenchmarkElementAdd 5.45 ns/op 5.648 ns/op 0.96
BenchmarkElementSub 5.238 ns/op 5.211 ns/op 1.01
BenchmarkElementNeg 4.047 ns/op 3.951 ns/op 1.02
BenchmarkElementDiv 3015 ns/op 3085 ns/op 0.98
BenchmarkElementFromMont 19.78 ns/op 19.41 ns/op 1.02
BenchmarkElementToMont 26.85 ns/op 27.09 ns/op 0.99
BenchmarkElementSquare 26.74 ns/op 25.89 ns/op 1.03
BenchmarkElementSqrt 11152 ns/op 10532 ns/op 1.06
BenchmarkElementMul 26.31 ns/op 25.76 ns/op 1.02
BenchmarkElementCmp 44.66 ns/op 42.64 ns/op 1.05
BenchmarkPrecompMSM/msm_length=1/precomp - ns/op 9507 ns/op 9072 ns/op 1.05
BenchmarkPrecompMSM/msm_length=1/precomp - B/op 2048 B/op 2048 B/op 1
BenchmarkPrecompMSM/msm_length=1/precomp - allocs/op 32 allocs/op 32 allocs/op 1
BenchmarkPrecompMSM/msm_length=2/precomp - ns/op 20126 ns/op 19123 ns/op 1.05
BenchmarkPrecompMSM/msm_length=2/precomp - B/op 4096 B/op 4096 B/op 1
BenchmarkPrecompMSM/msm_length=2/precomp - allocs/op 64 allocs/op 64 allocs/op 1
BenchmarkPrecompMSM/msm_length=4/precomp - ns/op 39128 ns/op 38763 ns/op 1.01
BenchmarkPrecompMSM/msm_length=4/precomp - B/op 8192 B/op 8192 B/op 1
BenchmarkPrecompMSM/msm_length=4/precomp - allocs/op 128 allocs/op 128 allocs/op 1
BenchmarkPrecompMSM/msm_length=8/precomp - ns/op 107936 ns/op 100278 ns/op 1.08
BenchmarkPrecompMSM/msm_length=8/precomp - B/op 22528 B/op 22400 B/op 1.01
BenchmarkPrecompMSM/msm_length=8/precomp - allocs/op 352 allocs/op 350 allocs/op 1.01
BenchmarkPrecompMSM/msm_length=16/precomp - ns/op 268580 ns/op 260468 ns/op 1.03
BenchmarkPrecompMSM/msm_length=16/precomp - B/op 55040 B/op 55296 B/op 1.00
BenchmarkPrecompMSM/msm_length=16/precomp - allocs/op 860 allocs/op 864 allocs/op 1.00
BenchmarkPrecompMSM/msm_length=32/precomp - ns/op 589909 ns/op 557577 ns/op 1.06
BenchmarkPrecompMSM/msm_length=32/precomp - B/op 120448 B/op 120320 B/op 1.00
BenchmarkPrecompMSM/msm_length=32/precomp - allocs/op 1882 allocs/op 1880 allocs/op 1.00
BenchmarkPrecompMSM/msm_length=64/precomp - ns/op 1255693 ns/op 1304345 ns/op 0.96
BenchmarkPrecompMSM/msm_length=64/precomp - B/op 250112 B/op 250880 B/op 1.00
BenchmarkPrecompMSM/msm_length=64/precomp - allocs/op 3908 allocs/op 3920 allocs/op 1.00
BenchmarkPrecompMSM/msm_length=128/precomp - ns/op 2688070 ns/op 2726600 ns/op 0.99
BenchmarkPrecompMSM/msm_length=128/precomp - B/op 511232 B/op 512128 B/op 1.00
BenchmarkPrecompMSM/msm_length=128/precomp - allocs/op 7988 allocs/op 8002 allocs/op 1.00
BenchmarkPrecompMSM/msm_length=256/precomp - ns/op 5450068 ns/op 5386450 ns/op 1.01
BenchmarkPrecompMSM/msm_length=256/precomp - B/op 1034240 B/op 1032192 B/op 1.00
BenchmarkPrecompMSM/msm_length=256/precomp - allocs/op 16160 allocs/op 16128 allocs/op 1.00
BenchmarkPrecompInitialize - ns/op 9521359107 ns/op 9266273170 ns/op 1.03
BenchmarkPrecompInitialize - B/op 1306652672 B/op 1306652576 B/op 1.00
BenchmarkPrecompInitialize - allocs/op 7616979 allocs/op 7616978 allocs/op 1.00

This comment was automatically generated by workflow using github-action-benchmark.

CC: @jsign @kevaundray

@jsign
Copy link
Collaborator Author

@jsign jsign commented on 11c788a Sep 5, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kevaundray, ignore this! I'm playing a bit with setting this up :)

Please sign in to comment.