@revandarth3 You can use the Spark Mod to find which Mod cause this laggs.
Run the Spark profiler via /spark profiler a few Minutes, then stop the profiler via /spark profiler --stop.
The Spark Mod will upload the profiler result on the Spark viewer, please post the link you get after stopping the profiler.
This is not the way to go, you can not make sure that this error is caused by World generation.