promise-it-wont-hurt icon indicating copy to clipboard operation
promise-it-wont-hurt copied to clipboard

Exercise 1 : Execution time issue

Open abhishek1191 opened this issue 9 years ago • 4 comments
trafficstars

Getting an error "Expected execution time: 1673±100ms. Submission execution time: 1213ms." in the first exercise (warm_up). Got the same error even when running the code provided in the solutions!

Any help would be appreciated.

abhishek1191 avatar Sep 03 '16 11:09 abhishek1191

What system are you running?

TimothyGu avatar Sep 04 '16 04:09 TimothyGu

Hi Timothy,

Thanks for the response. Still facing the same issue for further exercises as well. I am running it on a Windows Machine with Corei3 processor and 4GB RAM. Please let me know if you any more details

abhishek1191 avatar Sep 05 '16 11:09 abhishek1191

I am facing this issue as well. In the first exercise, when I tried to verify my program, I got the error message:

✗ Expected execution time: 788±100ms. Submission execution time: 639ms.

My solution to the exercise is:

'use strict';

(function() {
  setTimeout(() => {console.log('TIMED OUT!');}, 300);
})();

However, my program was accepted when I changed the value 300 to a larger number, like 500. I am running on Microsoft Windows 10 Home (x64-based PC), with Intel Core i5-2450M @ 2.50GHz processor and 4.86GB / 8.00GB available RAM. Feel free to ask for more details.

ghost avatar Oct 20 '16 10:10 ghost

Same, 500 worked for me though

 setTimeout( () => console.log('TIMED OUT!'), 500);

windows

cedvdb avatar Jan 15 '17 15:01 cedvdb