Comment #1 on issue 3707 by [email protected]: Several slow tests in
cctest/test-parsing
https://code.google.com/p/v8/issues/detail?id=3707
The parser tests test a *lot* of combinations of inputs.
ErrorsFutureStrictReservedWords calls RunParserSyncTest() len(context_data)
* len(FUTURE_STRICT_RESERVED_WORDS) *
len(FUTURE_STRICT_RESERVED_STATEMENTS) times, which in turn runs 1 <<
len(default_flags) tests, for a total of 3 * 9 * 12 * (1 << 9) == 165888
test cases, which finish on average in 0.08 ms.
ParserSync calls TestParserSync() len(context_data) * len(statement_data) *
len(termination_data) times, which in turns runs 1 << len(flags) tests. In
total that's 13 * 35 * 5 * (1 << 7) == 291200 test cases, which finish on
average in 0.03 ms -- that's actually pretty fast :-P
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.