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

Improve the performance of FFI calls #14

Open
tesonep opened this issue Oct 23, 2019 · 1 comment
Open

Improve the performance of FFI calls #14

tesonep opened this issue Oct 23, 2019 · 1 comment

Comments

@tesonep
Copy link
Collaborator

tesonep commented Oct 23, 2019

Short FFI calls are penalized in the new architecture.
Possible points to check:

  • Marshalling / Reading and writing to a byte array or ExternalAddress
  • Semaphore becomes

tally1.txt
tally2.txt

@estebanlm
Copy link
Member

I added a pool to handle external semaphores.
According to Pablo, that improved times by ~15%. Not bad, but we need to continue.

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

No branches or pull requests

2 participants