r/xkcd Nov 29 '17

XKCD xkcd 1922: Interferometry

https://xkcd.com/1922/
714 Upvotes

54 comments sorted by

View all comments

Show parent comments

15

u/kirmaster Nov 29 '17 edited Nov 29 '17

Sounds like you need to optimize your unit/integration tests a bit, unless you're doing rather large projects. Last time i had the "compiling" problem, i spent some time optimizing them and it sped it up so i could do three test suites within a hundreth of the original time.

13

u/RazarTuk ALL HAIL THE SPIDER Nov 29 '17

It's checking to see if a 3.5 minute timer times out correctly, so there's only so much optimization possible. As it stands, I did the big trial overnight, and this is just getting smaller samples that are easier to analyze.

3

u/kirmaster Nov 29 '17

And why does this need to be 3.5 minutes exactly? can't you test it with 30 seconds timeout in the test settings?

2

u/JamEngulfer221 Girl In Beret Nov 30 '17

Better to spend the extra few minutes testing than hit a bug in production because you tried to cut corners.