Sami Vaarala
bdb88786eb
Fix build error when using ptr compression
9 years ago
Sami Vaarala
92d0329a6a
Merge pull request #442 from svaarala/json-enc-proxy-testcase-improvement
Improve JSON.stringify() Proxy tests
9 years ago
Sami Vaarala
30d039db7e
XXX note for Proxy trap result validation missing
9 years ago
Sami Vaarala
ba3962cf21
Clarify Proxy trap result limitation on website
9 years ago
Sami Vaarala
6f9047643a
Known issue for Proxy JSON stringify trap behavior
9 years ago
Sami Vaarala
289f9bffe9
Add more JSON stringify Proxy tests
9 years ago
Sami Vaarala
288dbc4a68
Merge pull request #446 from svaarala/perf-json-slowpath-cycle-detection
Improve JSON.stringify() slow path loop detection performance
9 years ago
Sami Vaarala
707f7c5fcb
Releases: JSON slow path loop detect
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
7857441bac
Use hybrid loop detection for slow path JSON
9 years ago
Sami Vaarala
a0bb740b7b
Break out of timing test if time too large
9 years ago
Sami Vaarala
3ebad08ca9
Merge pull request #445 from svaarala/perf-json-fastpath-jxjc-indent-support
Add indent and JX/JC support into the JSON.stringify() fast path
9 years ago
Sami Vaarala
4c6a2e4dff
Releases: JSON stringify() indent and JX/JC
9 years ago
Sami Vaarala
12a79e36b9
JSON stringify fast path config option update
Document new limitations.
9 years ago
Sami Vaarala
97ece21279
Testcase improvements for JSON fast path changes
9 years ago
Sami Vaarala
4a59d4df8c
Support JX/JC in JSON.stringify() fast path
Also fix a minor fast path bug when unboxing String, Number, or Boolean.
Recursion depth was not decremented so it would accumulate and potentially
cause the fast path to fail unnecessarily. Outwardly this has no other
impact than the serialization being slower than intended.
9 years ago
Sami Vaarala
a0ec5e656c
Support indent in JSON.stringify() fast path
9 years ago
Sami Vaarala
3f008f3239
Merge pull request #444 from svaarala/perf-json-stringify-indent-rework
Simplify JSON.stringify() slow path indent handling
9 years ago
Sami Vaarala
ade141e95f
Releases: JSON indent
9 years ago
Sami Vaarala
3b13718d50
Improve JSON indentation handling
Copy already emitted indent prefix so that we can efficiently emit deep
indents. Code footprint is still about the same but the loop is much
faster.
9 years ago
Sami Vaarala
d8e3e8a856
Simplify JSON.stringify() gap/indent handling
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
81a788d592
Merge pull request #440 from svaarala/website-detect-websurf-index-page
Detect and greet NetSurf users on index page
9 years ago
Sami Vaarala
7a3fcfe0d6
Merge pull request #439 from svaarala/website-flip-download-list
Flip download list order to match releases list
9 years ago
Sami Vaarala
e9997eb8fc
Detect and greet NetSurf users on index page
9 years ago
Sami Vaarala
c9db0da9b9
Flip download list order to match releases list
Most users seem to prefer newest-first ordering.
9 years ago
Sami Vaarala
26d1bb9d25
Merge pull request #417 from svaarala/not-callable-error-improvement
More verbose error message for "not callable"
9 years ago
Sami Vaarala
e8c1dd82ee
Releases: call handling error messages
9 years ago
Sami Vaarala
50a477b6c2
Makefile fixes for paranoid errors
9 years ago
Sami Vaarala
d3ee9bacb4
Matrix compile fix for paranoid errors
9 years ago
Sami Vaarala
d0f6d7f7a3
Sandboxing doc update for paranoid errors
Config option was renamed.
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
8717df276f
Paranoid error message for call handling
Also handle config option rename.
9 years ago
Sami Vaarala
293b36e1b2
Config option changes for paranoid errors
9 years ago
Sami Vaarala
77c2635ed5
Merge pull request #394 from svaarala/perf-tval-updref-optimize
Optimize DUK_TVAL_SET_TVAL_UPDREF() for speed and size
9 years ago
Sami Vaarala
af5748eb68
Releases: tval refcount
9 years ago
Sami Vaarala
cdac15541b
DUK_TVAL_SET_TVAL_UPDREF() macro optimization
9 years ago
Sami Vaarala
798f5ac4b0
Merge pull request #437 from svaarala/debugger-cleanups
Minor debugger (and other) cleanups
9 years ago
Sami Vaarala
cf412a60a4
Releases: debugger Detaching notify
9 years ago
Sami Vaarala
927ff20e4e
Example debugger call stack level handling
No support in web UI yet.
9 years ago
Sami Vaarala
03edf0dba7
Miscellaneous code cleanups
* Comment cleanups
* String hash declaration fix when dense hash not used
* -Wcast-qual fix for debug fixedbuffer
- Debugger is_err macro argument renaming and re-typing
9 years ago
Sami Vaarala
9f6d4d41f9
Debugger document minor improvements
9 years ago
Sami Vaarala
0019c64fe5
Utility to format perftest output into HTML
9 years ago
Sami Vaarala
12e6f9b2ae
Merge pull request #430 from fatcerberus/debugger-detach-notify
Implement debugger Detach notify
9 years ago
Sami Vaarala
f6bac2da6c
Merge pull request #432 from svaarala/perf-string-hash
Use a more sparse string hash
9 years ago
Sami Vaarala
08d6a6719e
Releases: string hash algorithm
10 years ago
Sami Vaarala
5c8b222faa
License changes for string hashing (Lua, djb2)
9 years ago
Sami Vaarala
27ebe604b3
Clean up string hash algorithms
* Remove string hash algorithms which weren't chosen
* Clean up comments
9 years ago
Sami Vaarala
355754eb1d
Add more perf tests for string hash behavior
9 years ago