Commit 2dd9a4a
authored
feat(schema-compiler): Boost models transpilation 10-13x times (using SWC instead of Babel) (#9225)
* Init proj structure
* implement transpilers
* add transpilers crate to backend native
* prepare transpile_js native implementation
* export transpileJs from backend native
* removed workerpool & sync pkg versions
* update transpileJsFile with native impl use
* add new() to all transpilers
* remove unused
* fix tests
* polish transpilers, add support for error reporter
* setup CI for cubetranspilers testing
* derive default for TransformMetaData
* move deserializer into thread closure
* Revert "remove unused"
This reverts commit 4491f6b.
* return back previous transpilationWorkerThreads flow
* Update CI to run tests for all cases: old, threads, native
* some improvements
* move tests to a separate folder1 parent d209e83 commit 2dd9a4a
File tree
32 files changed
+7053
-145
lines changed- .github/workflows
- packages
- cubejs-backend-native
- js
- src
- cubejs-jdbc-driver
- cubejs-schema-compiler
- src/compiler
- transpilers
- test/unit
- rust
- cubeorchestrator
- cubestore
- cubetranspilers
- src
- tests
- common
32 files changed
+7053
-145
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| 36 | + | |
35 | 37 | | |
36 | 38 | | |
37 | 39 | | |
| |||
55 | 57 | | |
56 | 58 | | |
57 | 59 | | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
58 | 64 | | |
59 | 65 | | |
60 | 66 | | |
61 | 67 | | |
| 68 | + | |
62 | 69 | | |
63 | 70 | | |
64 | 71 | | |
| |||
133 | 140 | | |
134 | 141 | | |
135 | 142 | | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
136 | 146 | | |
137 | 147 | | |
138 | 148 | | |
| |||
196 | 206 | | |
197 | 207 | | |
198 | 208 | | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
199 | 212 | | |
200 | 213 | | |
201 | 214 | | |
| |||
263 | 276 | | |
264 | 277 | | |
265 | 278 | | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
266 | 282 | | |
267 | 283 | | |
268 | 284 | | |
| |||
0 commit comments