Added some code in main to test how long each of the emits take