문제

I know I can profile with --prof when running node myfile.js, but what if I run coffee myfile.coffee? Let's assume I can't just compile to .js, because there are A LOT of dependences in the file.

How can I run a v8 profiler?

도움이 되었습니까?

해결책 2

Looks like you can pass the --nodejs command line parameter to coffee and anything after that will get passed directly to node. Thanks to https://twitter.com/#!/oluwie who doesn't want to take credit but told me the answer

다른 팁

Try --nodejs PARAM. See coffee --help.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top