Jaculus icon indicating copy to clipboard operation
Jaculus copied to clipboard

Implement compile time & memory measurements

Open yaqwsx opened this issue 3 years ago • 0 comments

It would be interesting to have a compile-time option to enable tracing of module compile times. Having data could be helpful for deciding whether we should implement a module in Javascript or natively.

Difficulty: Easy What needs to be done:

  • add a compile-time flag (e.g., define triggered by SDK config or CMake configuration (preferred))
  • add time measurements and heap memory consumption (simply diff of free heap before and after)
  • trace these measurements using a suitable channel (e.g., one channel of the mux?)

yaqwsx avatar Oct 19 '21 19:10 yaqwsx