Commit Graph

196 Commits

Author SHA1 Message Date
Jeroen Engels
88d34d3a75 Pass options from program 2021-10-01 17:59:14 +02:00
Matthew Griffith
ee9a956c9f don't use in, use hasOwnProperty to avoid weird collisions 2021-09-29 18:41:28 -04:00
Matthew Griffith
9922ab2a94 remove built in benchmarking options for now 2021-09-27 11:32:50 -04:00
Matthew Griffith
c5651cc40c whoops, forgot to enable list replacements 2021-09-25 10:42:02 -04:00
Matthew Griffith
f150167dbb add results for latest run 2021-09-24 16:56:12 -04:00
Matthew Griffith
9dacb0cddd move --O3 option up a bit 2021-09-24 10:24:06 -04:00
Matthew Griffith
bd4c1e8cac move emptyOpts to types 2021-09-24 10:23:52 -04:00
Matthew Griffith
4d9c38ea9f use regex instead of replaceAll 2021-09-24 09:36:16 -04:00
Matthew Griffith
7abd8b5542 remove unused imports 2021-09-23 18:11:16 -04:00
Matthew Griffith
7d15204f92 make fastCurriedFns a direct transformation 2021-09-23 17:55:33 -04:00
Matthew Griffith
0a95ada9da move simple replacements to just use the files we use for fast fns 2021-09-23 17:51:24 -04:00
Robin Heggelund Hansen
d14e6e3104 Add -O3 flag to enable optimizations that increase asset size. Currently, thats just the update record pass. 2021-09-10 20:09:38 +02:00
Robin Heggelund Hansen
08629cf44d Make use of commander option parsing instead of hand-crafted solution. 2021-09-10 19:42:48 +02:00
Robin Heggelund Hansen
fd0f08e43e Reduce asset size impact of record updates transform. 2021-09-10 12:41:57 +02:00
Robin Heggelund Hansen
b76f3718b3 Use function wrapper replacements by default. 2021-08-20 10:14:46 +02:00
Robin Heggelund Hansen
27871e4e7c Add function replacements. 2021-08-20 09:28:55 +02:00
Robin Heggelund Hansen
bf7663c69f Insert record constructors _inside_ Elm closure. 2021-08-20 08:41:27 +02:00
Robin Heggelund Hansen
4b8dbbed53 Fix a bunch of typescript errors 2021-08-20 08:13:03 +02: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
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
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
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
f1e76cfcd2 update Elm UI benchmark 2021-07-08 09:45:56 -04:00