-
Notifications
You must be signed in to change notification settings - Fork 168
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
37 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
%builtins ec_op | ||
|
||
from starkware.cairo.common.cairo_builtins import EcOpBuiltin | ||
from starkware.cairo.common.ec_point import EcPoint | ||
from starkware.cairo.common.ec import ec_op | ||
|
||
|
||
func main{ec_op_ptr: EcOpBuiltin*}() { | ||
let p = EcPoint(3,0); | ||
let m = 34; | ||
let q = EcPoint(4,0); | ||
let (r) = ec_op(p, m, q); | ||
assert r.x = 3; | ||
assert r.y = 0; | ||
return (); | ||
} |
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
1045dd8
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.
Possible performance regression was detected for benchmark.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold
1.30
.cairo_run(cairo_programs/benchmarks/keccak_integration_benchmark.json)
1570155938
ns/iter (± 78533328
)1204174242
ns/iter (± 3341977
)1.30
cairo_run(cairo_programs/benchmarks/secp_integration_benchmark.json)
1900735496
ns/iter (± 157026563
)1404153184
ns/iter (± 2596536
)1.35
cairo_run(cairo_programs/benchmarks/operations_with_data_structures_benchmarks.json)
2308697431
ns/iter (± 102864270
)1738920910
ns/iter (± 4509653
)1.33
cairo_run(cairo_programs/benchmarks/uint256_integration_benchmark.json)
1533897742
ns/iter (± 49668051
)1170903770
ns/iter (± 3675965
)1.31
This comment was automatically generated by workflow using github-action-benchmark.
CC: @unbalancedparentheses