Check generation time
Add profiling support