Browser profilers and network monitors could help see most of those things, I think. Otherwise, yeah, Date.now() can be used for others, it should show up in the console even though it's in a worker.
On Thu, Feb 15, 2018 at 2:05 AM, awt <[email protected]> wrote: > Hi, > > I would like to profile the startup time of my application which uses > proxy-to-worker. My idea is to measure the time taken to download the wasm > binary, instantiate it as well as the time taken to run the global > constructor functions. However, the startup code is embedded in preamble.js > so is there an easy way to inject my measurement calls into the startup > code? e.g. Date.now() at the relevant places? > > -- > 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 [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
