diff --git a/README.md b/README.md index d733b8a..b7cf24e 100644 --- a/README.md +++ b/README.md @@ -218,13 +218,13 @@ tsr's behavior is clear by design. TypeScript is used to detect modules in your tsr is designed to be minimal and serve a single purpose. The install size is substantially smaller. Also, tsr is runtime dependent, not relying on `@types/node`. -| tsr | Knip | -| ----- | ------ | +| tsr | Knip | +| ---- | ------ | | 98kB | 5.86MB | #### Better Performance -Our benchmark shows that tsr is 2.5x faster compared to Knip 🚀 (see `benchmark/vue_core.sh` for details) +Our benchmark shows that tsr is 2.14x faster compared to Knip 🚀 (see `benchmark/vue_core.sh` for details) benchmark of tsr and Knip @@ -234,14 +234,14 @@ tsr provides `---recursive` option which will edit your files until there are no #### Key Differences -| Feature | tsr | Knip | -| ------------------------ | ------------------------------ | ------------------------------------------ | -| **Automatic Editing** | ✅ Comprehensive | Limited | -| **Zero Configuration** | ✅ Works with `tsconfig.json` | Requires a config file for correct results | -| **Predictable Behavior** | ✅ TypeScript-based logic | Assumptions for project structure | +| Feature | tsr | Knip | +| ------------------------ | ----------------------------- | ------------------------------------------ | +| **Automatic Editing** | ✅ Comprehensive | Limited | +| **Zero Configuration** | ✅ Works with `tsconfig.json` | Requires a config file for correct results | +| **Predictable Behavior** | ✅ TypeScript-based logic | Assumptions for project structure | | **Install Size** | ✅ 98kB, minimal dependencies | 5.86MB, requires `@types/node` | -| **Performance** | ✅ 2.5x faster | | -| **Recursive Editing** | ✅ `--recursive` option | | +| **Performance** | ✅ 2.14x faster | | +| **Recursive Editing** | ✅ `--recursive` option | | ## Examples diff --git a/media/comparison.png b/media/comparison.png index 5c7416c..ab41282 100644 Binary files a/media/comparison.png and b/media/comparison.png differ