Performance Overhead

Creating an enclave is slow (4KiB pages have to be added one at a time).

Calling an enclave function from outside of the enclave (an ecall) takes about 10k clock cycles.

Calling a non-enclave function from inside the enclave (an ocall) takes also about 10k clock cycles.

Last updated