Commit graph

20 commits

Author SHA1 Message Date
Wilson Lin
aaf57a9c22 Improve performance through inlining and direct arrays 2020-01-31 23:15:35 +11:00
Wilson
6ec509945a Minify area[shape] attr; simplify NS code 2020-01-24 15:17:46 +13:00
Wilson
54b65bbd0c Minify SVG attributes; minor QoL improvements 2020-01-24 03:53:09 +13:00
Wilson Lin
b4f8a041b2 Mention attr with default value removal in README; add <style> default attr values 2020-01-18 11:47:38 +11:00
Wilson Lin
27af2368ff Remove attrs with default values; create minified comparison script; remove = from boolean attrs; fix closing tag writing before collapsed whitespace; rebuild hyperbuild only in bench build script instead of all dependencies; conservatively collapse whitespace for html-minifier to match hyperbuild behaviour; update bench results 2020-01-18 11:42:01 +11:00
Wilson Lin
4eeb70639a Rename classname attr; update bench results; mention decoding to U+FFFD 2020-01-15 22:57:47 +11:00
Wilson Lin
7dcd7442e8 Remove redundant attributes with empty values 2020-01-15 00:58:33 +11:00
Wilson Lin
20c59769fe Do not handle extremely rare escaped states in <script>; simplify graph to show single average 2020-01-12 17:39:23 +11:00
Wilson Lin
e966f9a23b Remove unused code; handle escaped and double-escaped script data; allow using buffer instead of string source for bench; enforce matching tags 2020-01-10 18:30:49 +11:00
Wilson Lin
8553b09eb3 Fix handling of <script> and <style>; do not minify JS and CSS code 2020-01-10 00:12:21 +11:00
Wilson Lin
204bd950a4 Improve handling of JS 2020-01-09 00:42:03 +11:00
Wilson Lin
da830939d7 Handle processing instructions 2020-01-08 23:00:23 +11:00
Wilson Lin
3744e13a4d Attempt to handle RegExp literals in JS 2020-01-08 22:19:16 +11:00
Wilson Lin
bb42be10c8 Update bench tests 2020-01-08 12:35:39 +11:00
Wilson Lin
a9bb4c924f Minify JS/CSS comments; faster removal of boolean attr values; sorted generated JSON objects 2020-01-08 11:40:06 +11:00
Wilson Lin
9a9b543b26 Remove boolean attribute values 2020-01-08 00:38:42 +11:00
Wilson Lin
74e6352900 Use faster manual matching for content 2020-01-05 13:28:34 +11:00
Wilson Lin
6939ec17a2 Improve pattern matching 2020-01-02 14:14:40 +11:00
Wilson Lin
2149d20ae5 Generate patterns at compile time; update comment on entities; fix unused code 2019-12-29 21:39:29 +11:00
Wilson Lin
53904f1956 Build entities trie at compile time; support entities without semicolon 2019-12-29 21:00:20 +11:00