Improve call data encoding times by 35% #770

Merged
gorbak25 merged 1 commits from optimize_calldata_generation into lima 2020-09-09 22:50:36 +09:00
gorbak25 commented 2020-09-09 22:42:26 +09:00 (Migrated from gitlab.com)

This small fix reduces the runtime of the eunit test suite on my computer from 38s to 22s. Encoding call data for the hyperchain staking contact(https://github.com/aeternity/hyperchains-contract/) improved by 35%(average of 100 runs).
My measurements indicate that parsing contributes to 42% of the overall runtime during compilation.

The code might be optimized further.

This small fix reduces the runtime of the eunit test suite on my computer from 38s to 22s. Encoding call data for the hyperchain staking contact(https://github.com/aeternity/hyperchains-contract/) improved by 35%(average of 100 runs). My measurements indicate that parsing contributes to 42% of the overall runtime during compilation. The code might be optimized further.
zxq9 commented 2020-09-09 22:48:02 +09:00 (Migrated from gitlab.com)

Created by: UlfNorell

Review: Approved

*Created by: UlfNorell* **Review:** Approved
zxq9 commented 2020-09-09 22:49:10 +09:00 (Migrated from gitlab.com)

Created by: hanssv

Review: Approved

*Created by: hanssv* **Review:** Approved
zxq9 commented 2020-09-09 22:50:13 +09:00 (Migrated from gitlab.com)

Created by: erlmachinedev

Review: Approved

*Created by: erlmachinedev* **Review:** Approved
zxq9 commented 2020-09-09 22:50:36 +09:00 (Migrated from gitlab.com)

Merged by: gorbak25 at 2020-09-09 13:50:36 UTC

*Merged by: gorbak25 at 2020-09-09 13:50:36 UTC*
Sign in to join this conversation.
No description provided.