Added a bunch of speed tests to worker for performance profiling