mcpiroman
09/02/2021, 8:40 AMdmitriy.novozhilov
09/02/2021, 8:44 AMmcpiroman
09/02/2021, 8:46 AMdmitriy.novozhilov
09/02/2021, 8:48 AMmcpiroman
09/02/2021, 8:53 AMdmitriy.novozhilov
09/02/2021, 8:57 AMSo there is a built-in profiler?Not, there isn't. We usually use external async profiler
ust looking for a function likeAFAIK saving IR to file (klib) is fully supported only for JS/IR backend. Native has some support for (idk how full is it) and JVM/IR can't do it at allor somethingloadIrFromFile
nice to skip the 20-secondCan understand your pain (sometimes I face with it by myself). The easiest way to reduce this time is just to run compiler not on whole project but on some smaller module
mcpiroman
09/02/2021, 9:08 AMAFAIK saving IR to file (klib) is fully supported only for JS/IR backendOk, so for JS the klib is the way to go?
compiler not on whole project but on some smaller moduleThe problem is I want to test on the bigger ones too.. Btw. all unit tests also work this way - run through frontend and then go to backend? Or are there any direct backend IR tests?
dmitriy.novozhilov
09/02/2021, 9:14 AMOk, so for JS the klib is the way to go?Maybe. It's better to ask someone from JS team (cc @bashor)
Btw. all unit tests also work this way - run through frontend and then go to backend?Yep. All tests run
frontend
-> converter
-> backend
pipelinebashor
09/14/2021, 6:40 PM