3 ms·
Oh, I see. Apologies for misinterpreting you. In the case of, say, CPython vs. V8, it may well be a tossup. But I highly suspect that V8 would usually win even
by pcwalton 11y ago
Oh, I see. Apologies for misinterpreting you.
In the case of, say, CPython vs. V8, it may well be a tossup. But I highly suspect that V8 would usually win even for unit tests because it'd be able to optimize functions that many unit tests share. For example, it could optimize the test harness itself (important when it's a nontrivial test harness like Cucumber or whatever), it could optimize the string search/regex functions, and so on.