You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: TESTING_REPORT.md
+36Lines changed: 36 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -67,6 +67,42 @@ Overall result on this machine: **JSSG was faster on 11 of 21 benchmarked codemo
67
67
|`react-native-view-prop-types`|`react-native-snap-carousel` source slice | 4 | 4 / 4 | 1.405s | 0.683s | Legacy | Legacy is faster on 4 files, but JSSG is safer on the real repo because it avoids duplicate-import invalid output |
68
68
|`update-react-imports`|`zent` TS/TSX slice | 305 | 4 / 1 | 1.067s | 1.437s | JSSG | Legacy is slower and transforms fewer files because of parser limitations |
On 2026-04-21, I reran the **JSSG side only** of the same benchmark matrix using the local preview CLI from `/Users/mohabsameh/Downloads/codemod` on branch `feature/workflow-tui-rewrite` at commit `f6080826`.
73
+
74
+
Important caveat: this comparison uses the locally built `target/debug/codemod` binary from that branch, with compile time excluded. That makes it useful for directional comparison against the current CLI, but not a perfect release-vs-release apples-to-apples measurement.
75
+
76
+
Headline result:
77
+
78
+
- Preview CLI was faster on **18 of 21** JSSG benchmark cases
79
+
- Preview CLI was slower on **3 of 21** cases
80
+
81
+
Largest preview CLI improvements vs current CLI JSSG baseline:
82
+
83
+
| Codemod | Repo Slice | Current CLI | Preview CLI | Delta | Ratio |
- The preview CLI appears to reduce startup/engine overhead on many small and medium slices.
103
+
- The biggest regressions show up on larger full-repo or large-slice JSSG runs, especially `replace-string-ref__react-quickly` and `use-context-hook__zent`.
104
+
- Because this was measured with a local debug build of the preview branch, the absolute numbers should be treated as directional. Still, the relative pattern is useful: the preview CLI is likely improved for many short-lived runs, but there may be a regression in one or more hot paths that matters on larger JSSG workloads.
0 commit comments