How to measure runtime performance overhead of gramine-sgx? #1803
Icegrave0391
started this conversation in
General
Replies: 2 comments 2 replies
-
One way to do that would be to add a print with current time after the part you want to skip and then parse the output. |
Beta Was this translation helpful? Give feedback.
2 replies
-
Can you add the time-measurement code in your Node.js application itself? This will give you the runtime measurement for both native and Gramine-SGX cases, without any need to modify Gramine itself. That's typically how benchmarks work any way... They print their own statistics. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey, I'm using
gramine-sgx
enabled nodejs and I'd like to compare its performance against the native performance.My command is:
However, it seems gramine-sgx will show the following message, indicating the overhead of TOML parsing is included:
I tried to add
sgx.enable_stat = true
, but it seems this will only supportperf.
In this case, how can I compare the workload execution (i.e.,
nodejs
) runtime performance against the native performance?Beta Was this translation helpful? Give feedback.
All reactions