aabtop / reify

Reify lets you embed a customized TypeScript runtime within a C++ application.
MIT License
6 stars 0 forks source link

Setup a performance monitoring framework #11

Closed aabtop closed 4 years ago

aabtop commented 4 years ago

It would be nice to know how we are spending our time in various parts of the pipeline. With hypo for example, it would be nice to know how much time we spend in:

  1. TypeScript Compiler compilation in V8 (of which snapshots #1 could bring to 0, more or less).
  2. Compilation of the user script (this depends, of course, on the user script).
  3. Execution of the user script results (this depends on the app, so e.g. for hypo it would be the CGAL calls).

It would be nice if we could monitor these results over time for a collection of sample user scripts in a sample app like hypo.

aabtop commented 4 years ago

This is done in a00b237284c8b16e68966e7b7d8aa3eef00a098d and now printed on successful execution.