Is it possible to profile my code using CoffeeScript for Node.js?

I know I can profile with --prof when running node myfile.js, but what if I run 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?

-------------Problems Reply------------

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

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

Category:node.js Views:1 Time:2011-11-28

Related post

  • How do you profile your code? 2008-09-11

    I hope not everyone is using Rational Purify. So what do you do when you want to measure time taken by a function peak memory usage code coverage At the moment, we do manually [using log statements with timestamps and another script to parse the log

  • Profiling C code on Windows when using Eclipse 2010-02-20

    I know I can profile my code with gprof and kprof on Linux. Is there a comparable alternative to these applications on Windows? --------------Solutions------------- Commercial software: Rational Quantify (expensive, slow, but very detailed) AQTime (l

  • How to Profile R Code that Includes SNOW Cluster 2010-04-12

    I have a nested loop that I'm using foreach, DoSNOW, and a SNOW socket cluster to solve for. How should I go about profiling the code to make sure I'm not doing something grossly inefficient. Also is there anyway to measure the data flows going betwe

  • Unable to profile OpenCL code using NVidia Visual Profiler 2010-06-08

    I have an OpenCL code which adds two arrays and prints the output. I want to profile this program using NVidia Visual Profiler that comes with CUDA Toolkit 3.0. I selected the appropriate program(.exe) to profile and the program directory. The profil

  • How to profile my code? 2010-06-15

    I want to know how to profile my code. I have gone through the docs, but as there were no examples given I could not get anything from it. I have a large code and it is taking so much time, hence I want to profile and increase its speed. I havent wri

  • Alternatives to ApacheBench for profiling my code speed 2010-11-03

    I've done some experiments using Apache Bench to profile my code response times, and it doesn't quite generate the right kind of data for me. I hope the good people here have ideas. Specifically, I need a tool that Does HTTP requests over the network

  • When using xhprof profiling PHP code, how to prevent it from destroying the Ajax call from the JavaScript client? 2010-11-18

    When I am using xhprof profiling PHP code, it works fine. I reference the documentation written by Lorenzo Alberton, But you know that we always have many Ajax calls in a web application

  • How to profile PyCuda code with the Visual Profiler? 2011-07-28

    When I create a new session and tell the Visual Profiler to launch my python/pycuda scripts I get following error message: Execution run #1 of program '' failed, exit code: 255 These are my preferences: Launch: python "/pathtopycudafile/mysuperkernel

  • Tools for profiling OCaml code 2012-02-08

    Is anybody aware of programs for profiling OCaml code apart from using the -p option while compilation and then using gprof? I am asking this question in order to check if the sampling time of 0.01 second can be lowered further? --------------Solutio

  • Where can I find a "stable" or "release" version of the MVC Mini Profiler source code? 2012-03-07

    I downloaded the MVC Mini Profiler source code from GitHub, compiled it, and integrated it into my company's website. However, I've started noticing a couple of bugs, which made me realize that I didn't download any particular "stable" or "release" v

  • What free tools can I use to profile C code on Windows? 2012-04-23

    I'm a high-school student doing some C things where I'd like to profile my code to see where the actual performance bottlenecks are. I don't have much money, so I'd prefer free tools. I like to use the MinGW/GCC compiler toolchain. This is not someth

  • How to verify number of function evaluations when profiling R code 2013-09-27

    When profiling R code with Rprof-type functions we get the time spent in function alone and the time spent in function and callees. However, as far as I know we don't get the number of times a given function was evaluated. For example, assume I wants

  • Module to highlight the source code shown in a node 2010-06-28

    What are the possible module candidates for highlighting the source code shown in a node? Is there any module that does the task using Javascript? --------------Solutions------------- I currently use GeSHi for my personal code dumping ground and foun

  • Quick and dirty way to profile your code 2008-09-14

    What method do you use when you want to get performance data about specific code paths? --------------Solutions------------- This method has several limitations, but I still find it very useful. I'll list the limitations (I know of) up front and let

  • Profiling VBA code for microsoft word 2008-10-28

    I have some legacy code that uses VBA to parse a word document and build some XML output; Needless to say it runs like a dog but I was interested in profiling it to see where it's breaking down and maybe if there are some options to make it faster. I

  • What techniques can you use to profile your code 2008-11-12

    Some of the platforms that I develop on, don't have profiling tools. I am looking for suggestions/techniques that you have personally used to help you identify hotspots, without the use of a profiler. The target language is C++. I am interested in wh

  • What can I use to profile C++ code in Linux? 2008-12-17

    I have a C++ application I'm in the process of optimizing. What tool can I use to pinpoint my slow code? --------------Solutions------------- If your goal is to use a profiler, use one of the suggested ones. However, if you're in a hurry and you can

  • Safari 4: How to profile the code running when the page loads 2009-06-24

    In Safari 4, I am trying to use the profiler to see how the time is spent in the code that runs when the page loads. I enabled the profiler ("Start profiling JavaScript") I load the page. I stop the profiler. At this point, this doesn't create a "pro

  • JetBrains dotTrace, is it possible to profile source code line by line? else I need another tool 2009-07-13

    I am using JetBrains dotTrace, I've profiled my app which is entirely CPU bound. But the results as you walk down the tree don't sum to the level above in the tree, I only see method calls not the body lines of the node in questions method. Is it pos

Copyright (C), All Rights Reserved.

processed in 0.202 (s). 11 q(s)