Skip to content
This repository has been archived by the owner on Dec 23, 2024. It is now read-only.

Update gas prices based on benchmarks on hpc7a #57

Merged
merged 2 commits into from
Jan 12, 2024

Conversation

immortal-tofu
Copy link
Contributor

@immortal-tofu immortal-tofu commented Jan 10, 2024

Here the raw benchmarks on hpc7a

    benchmarks_test.go:42: and8 in 21.143698ms => 30000
    benchmarks_test.go:42: and16 in 22.125934ms => 31000
    benchmarks_test.go:42: and32 in 24.170654ms => 34000
    benchmarks_test.go:42: eq8 in 36.326295ms => 51000
    benchmarks_test.go:42: eq16 in 38.692888ms => 55000
    benchmarks_test.go:42: eq32 in 58.292808ms => 83000
    benchmarks_test.go:42: ScalarEq8 in 35.21361ms => 50000
    benchmarks_test.go:42: ScalarEq16 in 37.363632ms => 53000
    benchmarks_test.go:42: ScalarEq32 in 39.800014ms => 56000
    benchmarks_test.go:42: shr8 in 152.739262ms => 218000
    benchmarks_test.go:42: shr16 in 191.582471ms => 273000
    benchmarks_test.go:42: shr32 in 234.625112ms => 335000
    benchmarks_test.go:42: ScalarShr8 in 94.572995ms => 135000
    benchmarks_test.go:42: ScalarShr16 in 112.860578ms => 161000
    benchmarks_test.go:42: ScalarShr32 in 132.264398ms => 188000
    benchmarks_test.go:42: min8 in 151.052623ms => 215000
    benchmarks_test.go:42: min16 in 190.704772ms => 272000
    benchmarks_test.go:42: min32 in 232.669845ms => 332000
    benchmarks_test.go:42: ScalarMin8 in 91.77278ms => 131000
    benchmarks_test.go:42: ScalarMin16 in 111.876571ms => 159000
    benchmarks_test.go:42: ScalarMin32 in 132.630337ms => 189000
    benchmarks_test.go:42: add8 in 76.412519ms => 109000
    benchmarks_test.go:42: add16 in 97.260445ms => 138000
    benchmarks_test.go:42: add32 in 120.681062ms => 172000
    benchmarks_test.go:42: ScalarAdd8 in 70.201021ms => 100000
    benchmarks_test.go:42: ScalarAdd16 in 95.447686ms => 136000
    benchmarks_test.go:42: ScalarAdd32 in 117.421947ms => 167000
    benchmarks_test.go:42: sub8 in 73.732867ms => 105000
    benchmarks_test.go:42: sub16 in 97.510986ms => 139000
    benchmarks_test.go:42: sub32 in 121.021967ms => 172000
    benchmarks_test.go:42: ScalarSub8 in 72.724336ms => 103000
    benchmarks_test.go:42: ScalarSub16 in 94.672753ms => 135000
    benchmarks_test.go:42: ScalarSub32 in 117.869454ms => 168000
    benchmarks_test.go:42: mul8 in 130.182512ms => 185000
    benchmarks_test.go:42: mul16 in 176.784066ms => 252000
    benchmarks_test.go:42: mul32 in 252.799735ms => 361000
    benchmarks_test.go:42: ScalarMul8 in 89.700283ms => 128000
    benchmarks_test.go:42: ScalarMul16 in 92.705605ms => 132000
    benchmarks_test.go:42: ScalarMul32 in 117.668837ms => 168000
    benchmarks_test.go:42: ScalarDiv8 in 149.751403ms => 213000
    benchmarks_test.go:42: ScalarDiv16 in 271.742097ms => 388000
    benchmarks_test.go:42: ScalarDiv32 in 237.610672ms => 339000
    benchmarks_test.go:42: IfThenElse8 in 38.806488ms => 55000
    benchmarks_test.go:42: IfThenElse16 in 42.468405ms => 60000
    benchmarks_test.go:42: IfThenElse32 in 46.059083ms => 65000
    ```

Copy link
Contributor

@dartdart26 dartdart26 left a comment

Choose a reason for hiding this comment

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

Looks good!

@immortal-tofu immortal-tofu merged commit f90dd22 into main Jan 12, 2024
1 check passed
@immortal-tofu immortal-tofu deleted the feat/fix-gas-prices branch January 12, 2024 09:50
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.

2 participants