Commit Graph

407 Commits

Author SHA1 Message Date
Robin Heggelund Hansen
4b8dbbed53 Fix a bunch of typescript errors 2021-08-20 08:13:03 +02:00
Amitai Burstein
8d7dac7798
Fix small typo in minification docs 2021-08-12 20:56:30 +03:00
Matthew Griffith
5490073cbe
Merge pull request #48 from robinheghan/liikennematto-benchmark
Add Liikennematto as a real world benchmark.
2021-08-12 09:45:47 -04:00
Matthew Griffith
2cfac81624
Merge pull request #49 from robinheghan/fix-replacement-code-compile-error
Fix typescript compile errors in replacement code
2021-08-12 09:43:23 -04:00
Matthew Griffith
f8efe235ab
Merge pull request #47 from robinheghan/improved-record-updates
Faster record updates
2021-08-12 09:40:43 -04:00
Robin Heggelund Hansen
9945aab47d Reset default browsers to run. 2021-08-12 15:34:45 +02:00
Robin Heggelund Hansen
b3a6fd1d62 Reset default transforms. 2021-08-12 15:31:28 +02:00
Robin Heggelund Hansen
7bfcdca3c7 Only perform conversion for object literals which has at least one property name used in an update expression, to save space. 2021-08-12 15:27:59 +02:00
Robin Heggelund Hansen
d776377375 Improve performance using IIFEs. 2021-08-12 14:50:15 +02:00
Robin Heggelund Hansen
154de13eb4 Fix typescript compile errors in code that allows replacing a javascript definition with multiple statements. 2021-07-28 20:29:07 +02:00
Robin Heggelund Hansen
788adf221a Add Liikennematto as a real world benchmark. 2021-07-28 20:18:14 +02:00
Robin Heggelund Hansen
dc522fec37 Add inline update benchmark for comparison. 2021-07-28 19:45:21 +02:00
Robin Heggelund Hansen
20efc7877e Minor changes to update testcase. 2021-07-15 22:24:29 +02:00
Robin Heggelund Hansen
5e60da40ac Fix bug where update statement didn't make it into the finished js output. 2021-07-15 22:22:29 +02:00
Robin Heggelund Hansen
4a404440c0 More realistic update testcase. 2021-07-15 11:58:40 +02:00
Robin Heggelund Hansen
a449782724 Optimize update statements. 2021-07-15 11:50:59 +02:00
Robin Heggelund Hansen
437d56039c Add simple benchmark for tesing record updates. 2021-07-15 11:32:04 +02:00
Robin Heggelund Hansen
fddb3c41a3 Create and make use of record constructors instead of literal objects. 2021-07-15 11:31:48 +02:00
Robin Heggelund Hansen
36e77be58a accidental commit. 2021-07-14 12:32:30 +02:00
Robin Heggelund Hansen
5e16fe457b Fix remaining compile errors. 2021-07-14 12:16:26 +02:00
Robin Heggelund Hansen
266885899e Fix compile errors in replacement code. 2021-07-14 12:02:39 +02:00
Robin Heggelund Hansen
f3a03a651e Set up boilerplate code for improving record updates. 2021-07-14 11:59:23 +02:00
Robin Heggelund Hansen
dbe7573118 Enable v8 analysis 2021-07-14 11:42:42 +02:00
Robin Heggelund Hansen
aa6b861f5b Disable all transforms, for now. 2021-07-14 11:42:42 +02:00
Matthew Griffith
32edf808ed trim before querying for subsection title in jitlog 2021-07-11 12:30:45 -04:00
Matthew Griffith
22c4bdd02e also add Raw source to the jitlog summary 2021-07-11 12:26:13 -04:00
Matthew Griffith
b6d67390b5 summarize jit log so it's a little easier to follow 2021-07-11 12:14:52 -04:00
Matthew Griffith
0a87d3fadd break out reporting and benchmarking to their own modules 2021-07-11 11:44:18 -04:00
Matthew Griffith
f146c47936 restore curly brace 2021-07-11 11:30:34 -04:00
Matthew Griffith
5701d1b70a more types and be able to output the Jitlog 2021-07-11 10:46:09 -04:00
Matthew Griffith
e10d485a9a ignore jitlogs 2021-07-11 10:44:52 -04:00
Matthew Griffith
98cbf62425 Simplify postprocess as a single call 2021-07-10 14:20:33 -04:00
Matthew Griffith
2abb7d8781 Merge branch 'master' of https://github.com/mdgriffith/elm-optimize-level-2 2021-07-10 11:00:04 -04:00
Matthew Griffith
9eae5836ad Add a node runner! Default to headless browsers for benchmarks 2021-07-10 11:00:01 -04:00
Matthew Griffith
b615d125fd
Merge pull request #46 from robinheghan/more-flexible-replacements
More flexible replacements
2021-07-10 10:27:29 -04:00
Robin Heggelund Hansen
f42a03eb97 Fix transform bug. 2021-07-09 09:41:49 +02:00
Robin Heggelund Hansen
a3b90e9b12 Allow replacing a function/def with a whole bunch of code. 2021-07-09 09:16:36 +02:00
Robin Heggelund Hansen
1e1c7e8eff Add support for replacing function declarations, as opposed to just var statements. 2021-07-09 09:16:36 +02:00
Matthew Griffith
c56542f458 Improve callgraph collection 2021-07-08 23:33:20 -04:00
Matthew Griffith
a533392be7 add disable memory checks in case we need it 2021-07-08 21:34:41 -04:00
Matthew Griffith
1fff68566c missing await for gzips 2021-07-08 19:31:26 -04:00
Matthew Griffith
e613149068 clear output folder before writing 2021-07-08 19:31:14 -04:00
Matthew Griffith
b2a481c3fc Update elm-ui-2 benchmark with new bench 2021-07-08 10:15:30 -04:00
Matthew Griffith
f1e76cfcd2 update Elm UI benchmark 2021-07-08 09:45:56 -04:00
Matthew Griffith
aeaa27c2a4 More notes on running benchmarks 2021-07-08 08:43:30 -04:00
Matthew Griffith
df6d597a20 Update running-benchmarks.md 2021-07-08 08:38:23 -04:00
Matthew Griffith
d7c6e97510 fix typescript issues 2021-07-07 23:27:04 -04:00
Matthew Griffith
9ae4269dd1 Upgrade each test case to use the new runner 2021-07-07 21:57:21 -04:00
Matthew Griffith
2c4154db4f add custom runner which analyzes v8 stuff at the end 2021-07-07 20:59:26 -04:00
Matthew Griffith
eca5a7fbaa add prototypes info 2021-07-06 12:46:37 -04:00