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 files 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, JavaScript 12.70% C++ 10.70% GC 4.30% Shared libraries 76.20% Unaccounted 0.4% and inside Shared libraries, node 69.5% libc-2.31.so 6.5% libstdc++.so.6.0.28 0.0% node is taken around 69% execution time. so why node is taken so much time? or is there any other way i can open local file in read mode? -- 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/9654edd4-9dfb-4746-8e7d-ae76e318c7fcn%40googlegroups.com.