Boshen
46a5c42c75
refactor(transformer): add TransformerCtx struct for easier access to symbols and scopes
2023-10-19 16:19:27 +08:00
Boshen
cc6c52e536
fix(benchmark): bench the whole transformation pipeline ( #998 )
2023-10-16 13:17:15 +08:00
Boshen
0f72066f2e
feat(transformer): finish 2016 exponentiation operator ( #996 )
2023-10-16 09:30:04 +08:00
Boshen
801d78a3c6
refactor(minifier): make the minifier api only accept an ast ( #990 )
2023-10-14 00:51:29 +08:00
Boshen
8c12dff8a3
perf: speed tasks run by using a global allocator
2023-10-11 20:30:30 +08:00
Boshen
eaa0c58e24
feat(linter): eslint-plugin-unicorn(filename-case) ( #978 )
2023-10-11 15:23:17 +08:00
Boshen
ef8aaa7bf1
feat(minifier): re-enable mangler ( #972 )
2023-10-10 14:32:58 +08:00
Boshen
7e84369cad
refactor(resolver): move tests folder to fixtures ( #964 )
2023-10-08 13:29:02 +08:00
Boshen
817f8c295e
ci: turn off doc tests because they are slow to compile and run ( #961 )
2023-10-07 17:01:23 +08:00
Boshen
5973e5aede
feat(transformer): setup typescript and react transformers ( #930 )
2023-09-18 16:56:41 +08:00
Boshen
46d2623c1f
feat(transform_conformance): add jsx and ts tests
2023-09-18 15:35:02 +08:00
Boshen
540fa03ec0
feat(benchmark): add transformer benchmark ( #919 )
2023-09-16 17:09:27 +08:00
Boshen
ceeee5909b
Remove HIR ( #917 )
...
closes #273
closes #814
HIR is removed from this PR, with the minifier being commented out.
HIR is a wonderful idea for compiling to lower languages, but after
sitting on it for a few months I found that it only adds confusion and
uncertainties to both myself and future contributors.
It also adds too much burden to maintainers if we plan to support more
downstream tools.
1 AST is the only way.
2023-09-15 23:48:32 +08:00
Boshen
a9d36f158f
chore(benchmark): turn on all lints ( #892 )
...
closes #888
2023-09-10 23:16:39 +08:00
Boshen
9ff12a9696
feat(linter): eslint-plugin-import/no-self-import ( #878 )
...
closes #440 #441
2023-09-10 00:12:26 +08:00
Boshen
a6db5e696c
chore(resolver): add more alias data to benchmark ( #868 )
2023-09-08 00:08:26 +08:00
Boshen
ee54575ec1
feat(linter): add runner for import-plugin ( #858 )
2023-09-06 14:54:19 +08:00
Boshen
4ada0ecbb8
chore(resolver): add more benchmark data ( #853 )
2023-09-04 22:02:48 +08:00
Boshen
da44fd8999
feat(benchmark): add linter benchmark ( #842 )
2023-09-03 09:55:01 +08:00
Boshen
53b094e46c
chore: clean up deps ( #840 )
2023-09-02 21:34:24 +08:00
Boshen
2ba18e073c
fix(benchmark): use different data sets for benchmark and minifier test
2023-09-02 20:56:45 +08:00
Boshen
56aaf31fb1
refactor(benchmark): use codspeed for all benchmarks ( #839 )
2023-09-02 20:35:48 +08:00
Boshen
b2db6f7ef1
chore(benchmark): remove the measurement_time
2023-08-24 14:31:19 +08:00
Don Isaac
e7d8d4ba46
feat(linter): enable module record builder
2023-08-02 11:44:27 +08:00
Boshen
a55ba5941c
refactor(benchmark): use iter_with_large_drop ( #587 )
...
This also removes `black_box`, since criterion always black boxes the values for us
2023-07-23 11:35:16 +08:00
Boshen
d30735677b
refactor(semantic): merge semantic2 crate into semantic crate ( #460 )
2023-06-19 20:20:59 +08:00
Boshen
0d5db3d2f7
feat(benchmark): add bench semantic
2023-06-19 18:30:30 +08:00
Boshen
1d617e64ff
ci: sleep 15s before running the benchmark ( #382 )
2023-05-24 21:12:33 +08:00
Boshen
bedce7dc65
chore(benchmark): sync js versions to privatenumber/minification-benchmarks
2023-05-22 12:23:24 +08:00
Boshen
ad2835f11b
chore(rustfmt): run cargo fmt
2023-05-21 11:52:26 +08:00
Boshen
df06c3a51a
feat(benchmark): add minifier to benchmark ( #365 )
2023-05-20 22:31:04 +08:00
Boshen
14720e7c69
refactor: move SourceType from oxc_ast to oxc_span ( #351 )
...
related #350
2023-05-12 23:16:14 +08:00
Boshen
25a359bdd7
fix(benchmark): fix AstLower benchmark taking up too much memory
2023-05-11 10:42:55 +08:00
Boshen
48e524ddcf
feat(ast_lower): scope tree ( #344 )
2023-05-10 22:38:34 +08:00
Boshen
60485669bb
ci: cache release for benchmark, benchmark use fewer files ( #345 )
2023-05-10 22:13:11 +08:00
Boshen
e07c9c5b03
chore(benchmark): disable benchmarking ast_lower
2023-05-07 17:23:50 +08:00
Boshen
72ba29f88b
feat(hir): complete first iteration of ast lowering ( #327 )
2023-05-06 19:13:44 +08:00
Boshen
38831b3e41
fix(benchmark): parser benchmark should include allocator drop time ( #334 )
2023-05-04 20:26:27 +08:00
Boshen
1004a1d197
chore: clean up workspace dependencies ( #320 )
2023-04-27 11:38:39 +08:00
Boshen
080baaa2db
chore: use taplo to reformat toml files
2023-04-22 15:58:59 +08:00
Boshen
cfe3dd0869
chore: rust taplo format
2023-04-15 14:14:11 +08:00
Boshen
a7cd845fff
feat: add cargo minsize task for tracking minification size ( #276 )
...
* feat: add `cargo minsize` task for tracking minification size
* add gzip
2023-04-14 13:07:37 +08:00
Boshen
d117ce20a1
refactor(benchmark): add more benchmark files
2023-04-13 22:16:48 +08:00
Boshen
d232199e1c
refactor(parser): return Rc<Trivias> from TriviaBuilder ( #231 )
...
closes #229
2023-03-31 09:02:48 -07:00
Boshen
de9be97f0f
chore: clean up Cargo.toml in tasks
2023-03-31 22:22:18 +08:00
Boshen
9e3675a575
chore: clean up Cargo.toml
2023-03-30 23:27:26 +08:00
Boshen
d095d45818
refactor(semantic): add source_text and trivias to semantic
2023-03-25 14:19:53 +08:00
Boshen
a1315e3999
refactor(rust): add clippy::clone_on_ref_ptr
2023-03-17 14:51:25 +08:00
Boshen
577a86edce
chore(benchmark): increase benchmark measurement time, CI is too unstable
2023-03-12 22:05:21 +08:00
Boshen
2ee0b40656
chore: fix clippy warnings
2023-03-10 11:09:44 -08:00