Lagging of programs in java

Problem description:
I am getting lag in running code

Expected behavior:

To exicute program fast
Actual behavior:

Steps to reproduce:

Run the code fast
Bug appears at this link:


@SureshGoudappan Could you send the link to your repl and provide more details on the problem you are facing?

I am getting slow responce from app while i am coding
It will take minutes compile a single program so please help me for the same.

When I run the program it gives me some stuff and prints ‘Hello world!’ quite quickly, there’s no lag here as far as I can see.