Commit Graph

384 Commits

Author SHA1 Message Date
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
d1cf102979 bump to 0.2.1 2021-09-25 10:42:28 -04:00
Matthew Griffith
c5651cc40c whoops, forgot to enable list replacements 2021-09-25 10:42:02 -04:00
Matthew Griffith
c23fb82056 Update package.json to new version 2021-09-25 10:40:27 -04:00
Matthew Griffith
f150167dbb add results for latest run 2021-09-24 16:56:12 -04:00
Matthew Griffith
203f251dd2 Merge branch 'master' of https://github.com/mdgriffith/elm-optimize-level-2 2021-09-24 10:25:19 -04:00
Matthew Griffith
966dd512e2 chroemdriver dep has to be 93 2021-09-24 10:25:05 -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
88000c3e75 add modified benchmark suite for elm-markdown 2021-09-23 18:16:23 -04:00
Matthew Griffith
7abd8b5542 remove unused imports 2021-09-23 18:11:16 -04:00
Matthew Griffith
0430014aa4 update elm-markdown to latest 2021-09-23 18:11:03 -04:00
Matthew Griffith
7d15204f92 make fastCurriedFns a direct transformation 2021-09-23 17:55:33 -04:00
Matthew Griffith
83e1065d06 update chromedriver 2021-09-23 17:53:20 -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
fe4726e173 Remove V8JitLog browser from default test runners. Make sure new elm-css realworld test works as intended. 2021-09-17 09:34:21 +02:00
Robin Heggelund Hansen
444a90936a Finish test suite with button component and a test layout. 2021-09-17 09:34:20 +02:00
Robin Heggelund Hansen
4cc6541afd Add TextInput to benchmark, inspired from real world code base. 2021-09-17 09:34:20 +02:00
Robin Heggelund Hansen
31dae24951 Add boilerplate for new testcase. Seems there is a bug somewhere, as benchmark doesnt complete... 2021-09-17 09:34:20 +02:00
Matthew Griffith
f5c540e3e2
Merge pull request #53 from robinheghan/add-o3-flag
Add O3 flag to enable optimizations that increase asset size
2021-09-13 09:48:15 -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
Matthew Griffith
f24d26f84c
Merge pull request #50 from amitaibu/patch-1
Fix small typo in minification docs
2021-09-02 09:13:21 -04:00
Robin Heggelund Hansen
7f7793e72d Include replacements in compiled output. 2021-08-20 19:57:47 +02:00
Matthew Griffith
8eb62ad205
Merge pull request #51 from robinheghan/optimized-function-wrappers
Optimized function wrappers
2021-08-20 08:41:21 -04: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
a3747b000f Add new testcase for partial applications. 2021-08-20 09:22:47 +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
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