fortanix / rust-sgx

The Fortanix Rust Enclave Development Platform
https://edp.fortanix.com
Mozilla Public License 2.0
422 stars 99 forks source link

Performance improvement: synchronous usercalls inside async-usercalls methods #531

Open vn971 opened 9 months ago

vn971 commented 9 months ago

Currently, there are usages of synchronous usercalls in the async-usercalls module (to be merged to master with PR https://github.com/fortanix/rust-sgx/pull/515).

This might be problematic for performance. Performance impact of said synchronous usercalls needs to be measured and/or fixed by converting them to async-usercalls.

Currently known instances of this behaviour (sometimes implicit, sometimes explicit):