Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

[WIP]Introduce assembly #4

Closed
wants to merge 5 commits into from
Closed

[WIP]Introduce assembly #4

wants to merge 5 commits into from

Conversation

ashWhiteHat
Copy link
Contributor

@ashWhiteHat ashWhiteHat commented Dec 21, 2021

Abstract

I implemented assembly arithmetic #2 so I am going to introduce to field arithmetic to this repo.

What I did

  1. Described simple field arithmetic test
  2. Introduce github actions test
  3. Bench add, sub, double and mul, square arithmetic
  4. Introduce asm and update tool chain
  5. Introduce add assembly method

Benches

none assembly

Benchmarking add arithmetic bench
add arithmetic bench    time:   [81.516 ns 82.429 ns 83.437 ns]
Found 6 outliers among 100 measurements (6.00%)
  4 (4.00%) high mild
  2 (2.00%) high severe

Benchmarking sub arithmetic bench
sub arithmetic bench    time:   [84.772 ns 86.331 ns 87.884 ns]
Found 3 outliers among 100 measurements (3.00%)
  3 (3.00%) high mild

Benchmarking double arithmetic bench
double arithmetic bench time:   [84.574 ns 85.989 ns 87.701 ns]
Found 1 outliers among 100 measurements (1.00%)
  1 (1.00%) high mild

Benchmarking mul arithmetic bench
mul arithmetic bench    time:   [89.227 ns 90.811 ns 92.449 ns]

Benchmarking square arithmetic bench
square arithmetic bench time:   [81.477 ns 82.390 ns 83.371 ns]
Found 4 outliers among 100 measurements (4.00%)

@ashWhiteHat ashWhiteHat changed the title Introduce assembly [WIP]Introduce assembly Dec 21, 2021
@ashWhiteHat
Copy link
Contributor Author

complete version is -> #5

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant