Sami Vaarala
fae203ad36
API testcase update for duk_push_buffer_object()
9 years ago
Sami Vaarala
5778737d06
Add testcase for out-of-memory unwind (GH-476)
9 years ago
Sami Vaarala
e8470f8c04
Testcases for finalizer re-entry related changes
9 years ago
Sami Vaarala
be0d29f582
Perf test for regexp canonicalize
9 years ago
Sami Vaarala
429daa0664
Test case for JX hex encoding/decoding
9 years ago
Sami Vaarala
3a5f26335c
Perf test improvements for hex encode/decode
9 years ago
Sami Vaarala
34099b05bb
Perf test improvements
9 years ago
Sami Vaarala
28ff4b2a3a
Testcases to exercise hex encode/decode fast paths
9 years ago
Sami Vaarala
ced0e83d58
Perf test updates for hex enc/dec fast path
9 years ago
Sami Vaarala
defbb907d0
Test cases for base64 enc/dec with more coverage
9 years ago
Sami Vaarala
aacdaf13d1
Perf tests for base64
9 years ago
Sami Vaarala
3000e758ef
Bug testcase for whitespace inside base64 padding
9 years ago
Sami Vaarala
932288423f
Perf tests for prop RHS/LHS in assignment
9 years ago
Sami Vaarala
d6cd1eadf0
Add testcases for base mutation during prop expr
9 years ago
Sami Vaarala
11e5ebf22e
API testcase for error file/line blame
9 years ago
Sami Vaarala
131b51485e
Fix API test expect strings for new error messages
9 years ago
Sami Vaarala
5c2c007b92
Testcases for revised API error messages
9 years ago
Sami Vaarala
ef3841c827
Testcase for err.lineNumber etc assignment
9 years ago
Sami Vaarala
289f9bffe9
Add more JSON stringify Proxy tests
9 years ago
Sami Vaarala
9f90003339
Testcases for slow path loop detection changes
Cover both parts of the hybrid algorithm: visited[] array and loop
detection object.
9 years ago
Sami Vaarala
97ece21279
Testcase improvements for JSON fast path changes
9 years ago
Sami Vaarala
f8d5bba92c
More detailed testcases for indented JSON
Additional tests should exercise the new indent algorithm corner cases.
9 years ago
Sami Vaarala
b3630e22e5
Perf tests for indented JSON
9 years ago
Sami Vaarala
39094df3df
Testcase fixes for call error messages
Fix some expect strings and add a specific test for call errors.
9 years ago
Sami Vaarala
355754eb1d
Add more perf tests for string hash behavior
9 years ago
Sami Vaarala
1f69a51605
API tests for duk_is_xxx_error() convenience calls
9 years ago
Sami Vaarala
21181d690e
Testcase for duk_def_prop() convenience flags
9 years ago
Sami Vaarala
5bda532d12
Add testcase for nested prop assign (GH-427)
9 years ago
Sami Vaarala
36b8c7b4e7
Test cases for string charlen improvement
- 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.
9 years ago
Sami Vaarala
c3e0e001a7
Testcase for minimal const support
9 years ago
Sami Vaarala
6590b783d9
Testcases for prop error messages, expect fixes
9 years ago
Sami Vaarala
f29cd9925e
Add octal parseInt() testcases
- Bug testcase for GH-413
- Testcase for removing octal autodetection in parseInt()
Fix expect string of numconv parseInt() testcase to match E5.1 behavior.
9 years ago
Sami Vaarala
88185d5acf
Test case 'unused' tag fixes
The new fastint detection works for both old and new packed boolean tag
(0xfff4 in Duktape 1.3.0, 0xfff5 now).
9 years ago
Sami Vaarala
99078edd13
Add call perf tests with varying nregs/nargs
9 years ago
Sami Vaarala
0c67d6ef62
Basic (manual) test for detecting refcount leaks
9 years ago
Sami Vaarala
8e74bd6e6f
Add console.log compatibility to perf tests
9 years ago
Sami Vaarala
1875b54225
Perf test fixes and additions
- 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.
9 years ago
Sami Vaarala
e2068b50ac
Some try-catch/try-finally perf tests
9 years ago
Sami Vaarala
b41371be94
Unroll perf test loops to reduce loop overhead
With less loop overhead the micro benchmarks provide clearer results on
how the actual operation being tested behaves.
9 years ago
Sami Vaarala
465236ed6f
Fix dump/load API testcase expect
Changed again because assignment handling code was changed.
9 years ago
Sami Vaarala
99ccab941b
Perf tests: const load, continue fast/slow, mandel
9 years ago
Sami Vaarala
09abe09569
Testcases for assignment handling
9 years ago
Sami Vaarala
e19039c826
Fix dump/load API testcase expect
The expected output changed after the assign RHS fix.
9 years ago
Sami Vaarala
8966c67c93
Bug testcase for assign + mutation
9 years ago
Sami Vaarala
fa62caa363
Loop count same for native and Ecma call tests
9 years ago
Sami Vaarala
3b1bd61b99
Testcase exercising break/continue code paths
9 years ago
Sami Vaarala
fb3165667b
Testcase cleanup and improvement for fast returns
9 years ago
Sami Vaarala
7deefa7862
Manual test case for native caught/uncaught error
9 years ago
Sami Vaarala
e2aa48772d
API testcase expect string fix
Dump/load bytecode result is changed by enabling fast return handling in
the compiler.
9 years ago
Sami Vaarala
364ec8295f
Fast return test case improvements
9 years ago