Skip to content

Commit e2c1541

Browse files
committed
u
1 parent 16508cf commit e2c1541

File tree

3 files changed

+10
-13
lines changed

3 files changed

+10
-13
lines changed

.oxfmtrc.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
{
2-
"ignorePatterns": [
3-
"fixtures"
4-
]
2+
"ignorePatterns": ["fixtures"]
53
}

README.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -86,13 +86,12 @@ oxc - src/id.bench.ts > table.tsx
8686
7.99x faster than tsc
8787
```
8888

89-
9089
### Memory Usage
9190

9291
On `parser.ts` by using `/usr/bin/time -alh node`:
9392

9493
| | Max RSS |
95-
| --- | ------- |
94+
| ----- | ------- |
9695
| oxc | 57 MB |
9796
| swc | 74 MB |
9897
| babel | 180 MB |
@@ -103,16 +102,16 @@ For package download size, oxc downloads 2 packages for around a total of 2MB.
103102

104103
| Package | Size |
105104
| ---------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------ |
106-
| `@oxc-transform/binding-darwin-arm64` | [1.95 MB](https://www.npmjs.com/package/@oxc-transform/binding-darwin-arm64) |
107-
| `@swc/core-darwin-arm64` | [37.5 MB](https://www.npmjs.com/package/@swc/core-darwin-arm64) |
105+
| `@oxc-transform/binding-darwin-arm64` | [1.95 MB](https://www.npmjs.com/package/@oxc-transform/binding-darwin-arm64) |
106+
| `@swc/core-darwin-arm64` | [37.5 MB](https://www.npmjs.com/package/@swc/core-darwin-arm64) |
108107
| `@babel/core` + `@babel/preset-env` + `@babel/preset-react` + `@babel/preset-typescript` | [21MB and 170 packages](https://www.npmjs.com/package/@oxc-transform/binding-darwin-arm64) |
109108

110109
## Fixtures
111110

112-
* [TypeScript/src/compiler/parser.ts](https://github.com/microsoft/TypeScript/blob/3ad0f752482f5e846dc35a69572ccb43311826c0/src/compiler/parser.ts) - an atypical large file with 10777 lines.
113-
* [vuejs/core/packages/runtime-core/src/renderer.ts](https://github.com/vuejs/core/blob/cb34b28a4a9bf868be4785b001c526163eda342e/packages/runtime-core/src/renderer.ts) - somewhat large library file with 2550 lines.
114-
* [AFFiNE/packages/frontend/core/src/components/affine/page-properties/table.tsx](https://github.com/toeverything/AFFiNE/blob/a9b29d24f1f6e5563e43a11b5cbcfb30c9981d25/packages/frontend/core/src/components/affine/page-properties/table.tsx) - a tsx file with 1118 lines.
115-
* [cal.com/apps/web/components/getting-started/steps-views/UserSettings.tsx](https://github.com/calcom/cal.com/blob/20729b3a4e62c52f49419d2c3b30225f0c7a5936/apps/web/components/getting-started/steps-views/UserSettings.tsx) - a typical 124 lines of tsx code.
111+
- [TypeScript/src/compiler/parser.ts](https://github.com/microsoft/TypeScript/blob/3ad0f752482f5e846dc35a69572ccb43311826c0/src/compiler/parser.ts) - an atypical large file with 10777 lines.
112+
- [vuejs/core/packages/runtime-core/src/renderer.ts](https://github.com/vuejs/core/blob/cb34b28a4a9bf868be4785b001c526163eda342e/packages/runtime-core/src/renderer.ts) - somewhat large library file with 2550 lines.
113+
- [AFFiNE/packages/frontend/core/src/components/affine/page-properties/table.tsx](https://github.com/toeverything/AFFiNE/blob/a9b29d24f1f6e5563e43a11b5cbcfb30c9981d25/packages/frontend/core/src/components/affine/page-properties/table.tsx) - a tsx file with 1118 lines.
114+
- [cal.com/apps/web/components/getting-started/steps-views/UserSettings.tsx](https://github.com/calcom/cal.com/blob/20729b3a4e62c52f49419d2c3b30225f0c7a5936/apps/web/components/getting-started/steps-views/UserSettings.tsx) - a typical 124 lines of tsx code.
116115

117116
### NOTE:
118117

tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@
1717
"noUnusedLocals": true,
1818
"noUnusedParameters": true,
1919
"noFallthroughCasesInSwitch": true,
20-
"useUnknownInCatchVariables": true
21-
}
20+
"useUnknownInCatchVariables": true,
21+
},
2222
}

0 commit comments

Comments
 (0)