Measure code performance using a macro

You can take the small example that measures the performances of a piece of code, and place it into a macro.

performance_test :: (code: Code) #expand {
  secs := get_time();
  #insert code; // do some work.
  secs = get_time() - secs;
  print("Piece of code took % seconds\n", secs);
}