Failed compilations always report 0.000 seconds
Maintainers usually reply within 1 day
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 35/100
Research direction
Read the compilation runner code that records and reports elapsed time, then trace the failed compilation path using the C++ example described in the issue. Reproduce a compilation error that takes several seconds and check where the reported duration becomes 0.00s; done means failed compilations report their actual elapsed time.
Written by the indexing model from the issue text.
Description
I noticed that when compilation fails, the runner always reports an elapsed time of 0.0 seconds, even if compilation takes several seconds.
I tested this with a C++ program containing a compilation error, and it took more than 3-4 seconds to fail.
The runner should report the actual compilation time for failed compilations as a normal behaviour but it always gives 0.00s.
- Dominant language
- Python
- Stars
- 1
- Forks
- 6
- Avg merge
- 17h 52m
- Merged PRs (30d)
- 14
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from techcsispit/code-corner
-
prime/solution.java doesn't compile: public class PrimeCheck in solution.java, README requires Solution.java with a Solution classPossibly taken @tanujb03 claimed this 2 days ago. Open
Difficulty 1/5 Under an hour Newbie friendliness 82/100
techcsispit/code-corner#35 ·
Maintainers usually reply within 1 day
-
Prime solution in C++ incorrectly returns true for some composite numbersPossibly taken @paramsj claimed this 1 day ago. Open
Difficulty 1/5 Under an hour Newbie friendliness 25/100
techcsispit/code-corner#38 ·
Maintainers usually reply within 1 day
-
run.py: Python solutions are skipped on Windows when run via python instead of python3Possibly taken @tanujb03 claimed this 2 days ago. Openbug good first issue
Difficulty 1/5 Under an hour Newbie friendliness 15/100
techcsispit/code-corner#29 ·
Maintainers usually reply within 1 day
-
fibonacci/solution.c: prints negative numbers for n of 47 or more (F(90) prints -1581614984)Possibly taken @tanujb03 claimed this 2 days ago. Openbug good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 25/100
techcsispit/code-corner#27 ·
Maintainers usually reply within 1 day
-
binary-search/Solution.java: prints -1 when the target is the last element (`9 1 3 5 7 9`) or in a 1-element list (`5 5`)Possibly taken @tanujb03 claimed this 2 days ago. Openbug good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 22/100
techcsispit/code-corner#26 ·
Maintainers usually reply within 1 day
All issues in techcsispit/code-corner
Similar issues
-
bug Triage-Needed
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
FuRongJun-1999/dsh-memory#170 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 82/100
521xueweihan/HelloGitHub#3940 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100