4 ms·
> Most surprising is the abysmal speed of the test[4], I’m looking forward to anyone being able to explain that part to me. Just a shot in the dark, but I thin
by afc 6y ago
> Most surprising is the abysmal speed of the test[4], I’m looking forward to anyone being able to explain that part to me.
Just a shot in the dark, but I think since so many tests are failing, all bets are off as to their performance. For example, I could see a test getting into a loop that normally only runs ten times and succeeds, but here gets to run a million times before the test aborts and gives up. Not sure that's what's at work here, but... tests typically have timeouts for a reason (and typically finish significantly sooner than their timeouts, for obvious reasons). :-)
- dan-robertson 6y agoThe tests don’t do anything interesting. You can see the code to generate the tests in the article. All the tests do is see whether each symbol (from whatever symbols the author had when they started emacs) is defined in the environment and, if so, that’s a pass.