- Fix string intern test case ("intern match"), which didn't keep a
reference to the string so that the string was actually not already
in the string table.
- Add character length computation performance test cases for both
pure ASCII and non-ASCII strings.
- Add character length computation correctness test case, which exercises
different string lengths and random string bytes.
- Add missing 't = 0' initializer to test-assign-addto. Without the
initializer 't' becomes NaN and for some reason is over 20x slower
on x86 as a result of that. If 't' is initialized performance on x86
is fine. (It's worth investigating why falling out of the fastint
fast path is so costly on x86 but not on x64; NaN normalization?)
- Add missing test-assign-reg.pl.
- Add specific addition tests, where numbers involved are (a) fastints,
(b) doubles, (c) NaNs. These tests demonstrate the roughly 10x
difference on x86 for NaNs and other IEEE doubles -- with and without
packed duk_tval.
Among new tests and testcase fixes, rethrow on perf test errors. This makes
perftest output better because if a testcase uses an unsupported feature (or
otherwise throws) it will get listed as "n/a" automatically.