added decorator to check how much time a Jedi action takes