time is a unix tool. It won’t work like that on windows. I suggest you compile your program from the command line and see how long that takes.
Sublime Text takes 6 seconds while executing cout<<"Hello World"<<endl;
        
          bschaaf
          
            
        
        #24
      
      
        0 Likes
      
      
        
          Shubhamanand
          
            
            
        
        #25
      
      In the command line when I run the code it is very fast, output is displayed immediately.
Why does it slows down in  sublime i don’t know?? Any help will be appreciated.
        0 Likes
      
      
        
          bschaaf
          
            
        
        #26
      
      Are you compiling and running in one go? What command are you running on the command line?
        0 Likes
      
      
        
          Shubhamanand
          
            
        
        #27
      
      Sir got the solution, It was the antivirus which was casing problem. After disabling it , execution is now fast.
this vedio helped me – https://www.youtube.com/watch?v=OaQQsDIsc8o
        0 Likes
      
      Sublime 3 Slow build