0
<https://stackoverflow.com/posts/75939998/timeline>

I have compiled c code which has code to opening file in read mode using 
emcc compiler C code has implementaion of mounting file system using NODEFS 
and after compiling it will produce a.out.js, a.out.wasm file after running 
it will taken too much time to complete the execution,

so i am checking the profiling result like this, $node --prof a.out.js 
input.txt

The profiling result like,

[Summary]: ticks total nonlib name 22434 12.7% 53.4% JavaScript 18912 10.7% 
45.0% C++ 7584 4.3% 18.0% GC 134727 76.2% Shared libraries 704 0.4% 
Unaccounted

so shared libraries taken around 76% excution time and inside that,

[Shared libraries]: ticks total nonlib name 122910 69.5% 
/home/excellarate/.nvm/versions/node/v16.11.1/bin/node 11546 6.5% 
/usr/lib/x86_64-linux-gnu/libc-2.31.so 237 0.1% 
/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28 34 0.0% [vdso]

node is taken around 69% execution time.

so why node is taken so much time? or is there any way i can open local 
file in read mode?

Find reason why node is taken too much time

-- 
This e-mail, including any attached files, may contain confidential and 
privileged information for the sole use of the intended recipient. Any 
review, use, distribution, or disclosure by others is strictly prohibited. 
If you are not the intended recipient (or authorized to receive information 
for the intended recipient), please contact the sender by reply e-mail and 
delete all copies of this message.










-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to emscripten-discuss+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/emscripten-discuss/926579cb-c44e-49d0-9e3d-2115ba9bf9afn%40googlegroups.com.

Reply via email to