Memory and DOM over timeβ
JS heap, DOM nodes and event listeners over the whole form scenario β one line per participant. Phases are aligned: a phase measurement window is a band as wide as the slowest participant, and between the bands is a gap without measurement (pauses, checks, garbage collection). Hover a chart or press β/β β the tooltip shows every participantβs values at that moment.
- Registration with a captcha
- Credit application
- hover a name to highlight its line
- hover a name to highlight its line
Key resultsβ
The score over every row of the report β both forms, all phases and metrics: in how many rows ReFormer core is significantly faster than a competitor, in how many it is slower, and where the difference is not proven.
- faster: 78
- not proven: 80
- slower: 7
- faster: 45
- not proven: 109
- slower: 11
- faster: 82
- not proven: 82
- slower: 1
Key metrics per form
- ReFormer core
- ReFormer JSON
- Formik
- RHF
- RJSF
- baseline β the same markup without a form library
- spread across runs (q25βq75)
- β² / βΌ β significantly worse / better than ReFormer core; no mark β the difference is not proven
- Registration with a captcha
- Credit application
ReFormer core is the best in 7 of 9 key metrics of this form. Lower is better.
ReFormer core is the best in 9 of 11 key metrics of this form. Lower is better.
Where ReFormer falls behindβ
The report publishes everything, losses included. Below is every row where a competitor is significantly faster than ReFormer core (βΌ in the full report), from the largest gap to the smallest.
There are 15 such rows out of 165. Who is ahead (a row can have several): RHF β 11, Formik β 7, RJSF β 1.
Registration with a captcha
| Phase and metric | ReFormer core | Significantly faster | Gap |
|---|---|---|---|
| Load by invitation (hydration with a prefill)Hydration: prefill response β ready | ReFormer core 31.9 ms | Formik 11.4 msalso RHF | Γ2.81 |
| Submit with errors β errors on screenClick β end of frame | ReFormer core 22.4 ms | RHF 10.8 msalso Formik | Γ2.07 |
| Typing the captcha with a server checkTyping β UI settled (incl. 300 ms debounce and 20 ms network) | ReFormer core 771 ms | RJSF 454 ms | Γ1.70 |
| Form remountMount: render + commit + effects | ReFormer core 2.80 ms | Formik 1.90 ms | Γ1.47 |
| Submit with errors β errors on screenClick β UI settled | ReFormer core 16.9 ms | Formik 12.6 ms | Γ1.35 |
| Submit with errors β errors on screenJS execution (CDP) | ReFormer core 12.6 ms | Formik 10.3 ms | Γ1.22 |
| Typing the captcha with a server checkKey β end of processing (median) | ReFormer core 5.58 ms | RHF 4.65 ms | Γ1.20 |
| Load by invitation (hydration with a prefill)Form ready (from navigation start) | ReFormer core 141 ms | RHF 121 ms | Γ1.17 |
| Taken username: typing β server errorKey β end of processing (median) | ReFormer core 4.80 ms | RHF 4.15 ms | Γ1.16 |
Credit application
| Phase and metric | ReFormer core | Significantly faster | Gap |
|---|---|---|---|
| Submitting the applicationClick β UI settled | ReFormer core 52.1 ms | Formik 33.6 msalso RHF | Γ1.55 |
| Form remountMount: render + commit + effects | ReFormer core 3.85 ms | Formik 2.50 msalso RHF | Γ1.54 |
| Property array: switch on (first row)JS execution (CDP) | ReFormer core 8.37 ms | RHF 6.75 ms | Γ1.24 |
| Property array: switch on (first row)Click β UI settled | ReFormer core 9.50 ms | RHF 8.05 ms | Γ1.18 |
| Property array: switch on (first row)Click β end of frame | ReFormer core 15.2 ms | RHF 13.4 ms | Γ1.13 |
| Loading a saved application (hydration with data)DOM nodes | ReFormer core 146 | RHF 145 | Γ1.01 |
All phasesβ
A cell is the median over 10 runs at CPU 4x (each run is reduced first: for example, the median latency over all keys of the phase); below it is the q25βq75 spread. Γ1.44 means 1.44 times worse than the best in the row; the best is in bold. Lower is better.
- Registration with a captcha
- Credit application
- grey β the difference is below 5 % or not proven by significance
- baseline β reference without a form library, significance is not tested
| Phase | ReFormer JSON | Formik | RHF | RJSF | baselinereference |
|---|---|---|---|---|---|
| Γ1.09β²2 βΌ0 Β· 5 | Γ1.26β²4 βΌ0 Β· 5 | Γ1.10β²4 βΌ0 Β· 5 | Γ1.28β²4 βΌ0 Β· 5 | Γ0.83of 5 | |
| Γ1.22β²5 βΌ0 Β· 6 | Γ1.07β²4 βΌ1 Β· 6 | Γ0.88β²3 βΌ2 Β· 6 | Γ1.22β²4 βΌ0 Β· 6 | β | |
| Γ1.03β²0 βΌ0 Β· 6 | Γ1.75β²3 βΌ0 Β· 6 | Γ1.02β²0 βΌ0 Β· 6 | Γ1.40β²3 βΌ0 Β· 6 | Γ0.97of 6 | |
| Γ1.00β²0 βΌ0 Β· 4 | Γ0.84β²0 βΌ3 Β· 4 | Γ0.93β²1 βΌ1 Β· 4 | Γ2.56β²3 βΌ0 Β· 4 | β | |
| Γ1.04β²0 βΌ0 Β· 6 | Γ1.38β²4 βΌ0 Β· 6 | Γ1.04β²1 βΌ0 Β· 6 | Γ1.26β²4 βΌ0 Β· 6 | Γ0.78of 6 | |
| Γ1.00β²0 βΌ0 Β· 3 | Γ1.31β²2 βΌ0 Β· 3 | Γ0.87β²0 βΌ1 Β· 3 | Γ1.22β²1 βΌ0 Β· 3 | β | |
| Γ1.05β²0 βΌ0 Β· 3 | Γ1.42β²2 βΌ0 Β· 3 | Γ0.98β²0 βΌ0 Β· 3 | Γ1.34β²2 βΌ0 Β· 3 | β | |
| Γ1.11β²0 βΌ0 Β· 4 | Γ1.18β²2 βΌ0 Β· 4 | Γ0.77β²1 βΌ0 Β· 4 | Γ0.96β²1 βΌ0 Β· 4 | β | |
| Γ1.04β²0 βΌ0 Β· 3 | Γ1.14β²1 βΌ0 Β· 3 | Γ0.92β²0 βΌ1 Β· 3 | Γ0.93β²1 βΌ1 Β· 3 | β | |
| Γ1.06β²0 βΌ0 Β· 4 | Γ1.33β²2 βΌ0 Β· 4 | Γ0.81β²0 βΌ0 Β· 4 | Γ1.26β²0 βΌ0 Β· 4 | β | |
| Γ1.07β²0 βΌ0 Β· 4 | Γ1.06β²1 βΌ0 Β· 4 | Γ1.21β²0 βΌ0 Β· 4 | Γ1.18β²0 βΌ0 Β· 4 | β | |
| Γ1.12β²1 βΌ0 Β· 3 | Γ1.09β²1 βΌ1 Β· 3 | Γ0.98β²0 βΌ0 Β· 3 | Γ0.99β²0 βΌ0 Β· 3 | Γ0.78of 3 |
Cold loadReFormer core is the best in 6 of 6
| Metric | ReFormer core | ReFormer JSON | Formik | RHF | RJSF | baseline |
|---|---|---|---|---|---|---|
| Form ready (from navigation start), ms | 104 Γ1.00103β113 | 115 Γ1.11112β120 | 147 Γ1.41 β²146β148 | 117 Γ1.13 β²117β120 | 143 Γ1.38 β²143β144 | 86.684.2β92.9 |
| First Contentful Paint, ms | 148 Γ1.00148β151 | 160 Γ1.08157β167 | 196 Γ1.32 β²192β196 | 164 Γ1.11 β²164β167 | 188 Γ1.27 β²185β192 | 132128β135 |
| JS execution (CDP ScriptDuration), ms | 67.8 Γ1.0067.4β68.5 | 76.8 Γ1.13 β²76.3β77.3 | 115 Γ1.69 β²114β115 | 78.6 Γ1.16 β²77.9β79.2 | 105 Γ1.55 β²104β105 | 47.847.1β48.6 |
| Total Blocking Time, ms | 0.000.00β0.00 | 0.000.00β0.00 | 37.036.3β37.0 | 0.000.00β0.00 | 24.023.3β24.8 | 0.000.00β0.00 |
| JS heap after GC, KB | 1867 Γ1.001867β1867 | 2104 Γ1.13 β²2104β2104 | 1885 Γ1.01 β²1885β1885 | 2070 Γ1.11 β²2070β2070 | 2335 Γ1.25 β²2334β2335 | 13951395β1398 |
| DOM nodes | 102 Γ1.00102β102 | 102 Γ1.00102β102 | 102 Γ1.00102β102 | 102 Γ1.00102β102 | 102 Γ1.00102β102 | 102102β102 |
Load by invitation (hydration with a prefill)ReFormer core is the best in 5 of 7
| Metric | ReFormer core | ReFormer JSON | Formik | RHF | RJSF | baseline |
|---|---|---|---|---|---|---|
| Form ready (from navigation start), ms | 141 Γ1.17141β143 | 147 Γ1.22 β²146β149 | 201 Γ1.67 β²198β205 | 121 Γ1.00 βΌ120β127 | 179 Γ1.48 β²178β181 | β |
| First Contentful Paint, ms | 120 Γ1.00116β123 | 176 Γ1.47 β²172β184 | 196 Γ1.63 β²192β196 | 136 Γ1.13 β²133β136 | 156 Γ1.30 β²152β159 | β |
| Hydration: prefill response β ready, ms | 31.9 Γ2.8131.8β32.2 | 54.0 Γ4.75 β²53.7β54.8 | 11.4 Γ1.00 βΌ9.97β15.4 | 12.1 Γ1.06 βΌ11.9β19.9 | 32.5 Γ2.8632.3β32.9 | β |
| JS execution (CDP ScriptDuration), ms | 71.0 Γ1.0070.4β72.0 | 78.9 Γ1.11 β²78.5β79.8 | 121 Γ1.71 β²120β122 | 81.0 Γ1.14 β²79.5β81.3 | 109 Γ1.53 β²108β109 | β |
| Total Blocking Time, ms | 0.000.00β0.00 | 0.000.00β0.00 | 37.537.0β38.0 | 0.000.00β0.00 | 25.024.3β25.0 | β |
| JS heap after GC, KB | 1819 Γ1.001815β1820 | 2042 Γ1.12 β²2040β2044 | 1953 Γ1.07 β²1953β1953 | 2028 Γ1.11 β²2027β2028 | 2284 Γ1.26 β²2284β2284 | β |
| DOM nodes | 104 Γ1.00104β104 | 104 Γ1.00104β104 | 104 Γ1.00104β104 | 104 Γ1.00104β104 | 104 Γ1.00104β104 | β |
Spread above 15 % (CV): Hydration: prefill response β ready.
Typing before the first submit (username, email)ReFormer core is the best in 6 of 7
| Metric | ReFormer core | ReFormer JSON | Formik | RHF | RJSF | baseline |
|---|---|---|---|---|---|---|
| Key β end of processing (median), ms | 3.55 Γ1.003.50β3.60 | 3.65 Γ1.033.65β3.69 | 6.70 Γ1.89 β²6.58β6.79 | 3.63 Γ1.023.44β3.65 | 5.10 Γ1.44 β²5.06β5.17 | 3.453.32β3.49 |
| Key β end of processing (p95 of a run), ms | 4.29 Γ1.004.21β4.39 | 4.50 Γ1.054.41β4.53 | 8.85 Γ2.068.68β9.09 | 4.54 Γ1.064.40β4.67 | 6.21 Γ1.456.15β6.35 | 4.414.34β4.63 |
| Key β end of frame (median), ms | 4.18 Γ1.004.10β4.28 | 4.25 Γ1.024.13β4.30 | 7.32 Γ1.75 β²7.30β7.40 | 4.20 Γ1.014.11β4.28 | 5.57 Γ1.34 β²5.50β5.67 | 4.033.90β4.15 |
| JS per key (CDP), ms | 1.07 Γ1.011.01β1.12 | 1.07 Γ1.011.01β1.12 | 4.43 Γ4.16 β²4.41β4.48 | 1.07 Γ1.000.98β1.12 | 2.67 Γ2.50 β²2.64β2.71 | 0.820.75β0.88 |
| Layout + style per key, ms | 0.46 Γ1.000.42β0.49 | 0.48 Γ1.060.41β0.55 | 0.47 Γ1.020.44β0.52 | 0.46 Γ1.020.40β0.50 | 0.49 Γ1.080.45β0.51 | 0.510.50β0.55 |
| Events β₯ 16 ms (Event Timing) | 149 Γ1.00148β150 | 151 Γ1.01150β151 | 151 Γ1.01149β152 | 150 Γ1.01149β151 | 150 Γ1.01148β151 | 150148β151 |
| Total Blocking Time, ms | 0.000.00β0.00 | 0.000.00β0.00 | 0.000.00β0.00 | 0.000.00β0.00 | 0.000.00β0.00 | 0.000.00β0.00 |
Spread above 15 % (CV): Key β end of processing (p95 of a run); Layout + style per key.
API requests during the phase differ (part of the work moved to another phase): ReFormer core β none; ReFormer JSON β none; Formik β check-email Γ1, check-username Γ1; RHF β none; RJSF β none.
Submit with errors β errors on screenReFormer core is the best in 0 of 4
| Metric | ReFormer core | ReFormer JSON | Formik | RHF | RJSF | baseline |
|---|---|---|---|---|---|---|
| Click β end of frame, ms | 22.4 Γ2.0722.1β22.6 | 22.6 Γ2.0922.0β22.8 | 18.0 Γ1.67 βΌ17.6β18.4 | 10.8 Γ1.00 βΌ10.2β14.9 | 64.0 Γ5.92 β²63.3β64.8 | β |
| Click β UI settled, ms | 16.9 Γ1.3516.5β17.3 | 16.9 Γ1.3416.6β17.2 | 12.6 Γ1.00 βΌ12.3β12.8 | 34.0 Γ2.71 β²33.7β34.3 | 57.9 Γ4.61 β²57.5β58.7 | β |
| JS execution (CDP), ms | 12.6 Γ1.2311.7β12.8 | 12.1 Γ1.1911.5β12.8 | 10.3 Γ1.01 βΌ9.13β10.5 | 10.2 Γ1.009.26β10.8 | 56.5 Γ5.52 β²54.8β56.8 | β |
| Layout + style, ms | 2.58 Γ1.032.44β2.63 | 2.71 Γ1.082.34β3.03 | 2.62 Γ1.052.37β2.70 | 2.50 Γ1.002.24β2.80 | 2.52 Γ1.012.30β3.02 | β |
Spread above 15 % (CV): Click β end of frame; Layout + style.
API requests during the phase differ (part of the work moved to another phase): ReFormer core β check-email Γ1, check-username Γ1; ReFormer JSON β check-email Γ1, check-username Γ1; Formik β none; RHF β check-email Γ1, check-username Γ1; RJSF β check-email Γ1, check-username Γ1.
By this point the name and email are filled in and need a server check. Formik checks from the first keystroke, so it already has the server responses cached and the submit does not wait for them. ReFormer, RHF and RJSF ask the server for the first time on submit. RHF shows the errors β synchronous ones included β only after its response (20 ms). ReFormer and RJSF show the synchronous errors at once, and the server response (the name and email are free) does not change the DOM: with ReFormer the phase settles before the response, with RJSF its length is set by its own rendering of the errors. βClick β end of frameβ in this phase does not include the server.
Typing after submit β live validation (password, name, phone)ReFormer core is the best in 6 of 7
| Metric | ReFormer core | ReFormer JSON | Formik | RHF | RJSF | baseline |
|---|---|---|---|---|---|---|
| Key β end of processing (median), ms | 4.07 Γ1.004.01β4.20 | 4.20 Γ1.034.13β4.29 | 6.03 Γ1.48 β²6.00β6.10 | 4.35 Γ1.074.26β4.45 | 5.40 Γ1.33 β²5.30β5.47 | 3.403.30β3.49 |
| Key β end of processing (p95 of a run), ms | 6.16 Γ1.006.03β6.30 | 6.31 Γ1.035.95β6.41 | 7.62 Γ1.24 β²7.52β7.78 | 6.34 Γ1.036.14β6.50 | 6.89 Γ1.12 β²6.73β7.10 | 4.274.09β4.32 |
| Key β end of frame (median), ms | 4.68 Γ1.004.61β4.78 | 4.85 Γ1.044.72β4.90 | 6.70 Γ1.43 β²6.61β6.80 | 5.00 Γ1.07 β²4.90β5.00 | 5.97 Γ1.28 β²5.90β6.07 | 3.923.86β4.00 |
| JS per key (CDP), ms | 1.32 Γ1.001.25β1.39 | 1.50 Γ1.141.45β1.57 | 3.37 Γ2.56 β²3.34β3.44 | 1.36 Γ1.031.30β1.44 | 2.75 Γ2.09 β²2.69β2.76 | 0.660.64β0.72 |
| Layout + style per key, ms | 0.51 Γ1.000.49β0.54 | 0.53 Γ1.030.47β0.55 | 0.52 Γ1.020.48β0.58 | 0.52 Γ1.010.50β0.56 | 0.51 Γ1.010.49β0.53 | 0.480.46β0.50 |
| Events β₯ 16 ms (Event Timing) | 176 Γ1.01175β177 | 176 Γ1.01174β177 | 176 Γ1.01175β178 | 176 Γ1.01176β178 | 175 Γ1.00174β177 | 175174β177 |
| Total Blocking Time, ms | 0.000.00β0.00 | 0.000.00β0.00 | 0.000.00β0.00 | 0.000.00β0.00 | 0.000.00β0.00 | 0.000.00β0.00 |
Spread above 15 % (CV): Layout + style per key.
Taken username: typing β server errorReFormer core is the best in 0 of 3
| Metric | ReFormer core | ReFormer JSON | Formik | RHF | RJSF | baseline |
|---|---|---|---|---|---|---|
| Typing β UI settled (incl. 300 ms debounce and 20 ms network), ms | 947 Γ1.01938β956 | 948 Γ1.01940β954 | 957 Γ1.02950β958 | 940 Γ1.00935β946 | 949 Γ1.01939β950 | β |
| Key β end of processing (median), ms | 4.80 Γ1.164.47β4.97 | 4.75 Γ1.144.70β4.91 | 6.00 Γ1.45 β²5.91β6.17 | 4.15 Γ1.00 βΌ4.10β4.20 | 5.38 Γ1.305.21β5.44 | β |
| JS execution over the phase (CDP), ms | 14.4 Γ1.3213.7β14.7 | 14.5 Γ1.3313.9β16.0 | 25.8 Γ2.35 β²25.1β26.1 | 10.9 Γ1.0010.0β11.7 | 23.1 Γ2.11 β²22.6β24.6 | β |
βUI settledβ is the last DOM change. Formik and RHF run the synchronous rules together with the server check and clear the error only on its response; RJSF and ReFormer clear the synchronous error at once. If the DOM does not change on the server response, the phase settles earlier.
Fixing the username: typing β error clearedReFormer core is the best in 0 of 3
| Metric | ReFormer core | ReFormer JSON | Formik | RHF | RJSF | baseline |
|---|---|---|---|---|---|---|
| Typing β UI settled (incl. 300 ms debounce and 20 ms network), ms | 885 Γ1.01880β891 | 881 Γ1.00876β891 | 898 Γ1.02887β905 | 880 Γ1.00877β888 | 896 Γ1.02885β903 | β |
| Key β end of processing (median), ms | 4.30 Γ1.024.20β4.40 | 4.30 Γ1.023.95β4.40 | 5.60 Γ1.33 β²5.50β5.78 | 4.20 Γ1.004.03β4.28 | 5.20 Γ1.24 β²5.00β5.35 | β |
| JS execution over the phase (CDP), ms | 13.0 Γ1.0212.4β15.5 | 14.9 Γ1.1713.4β16.0 | 28.3 Γ2.21 β²28.2β28.4 | 12.8 Γ1.0011.8β12.9 | 25.4 Γ1.99 β²24.6β26.3 | β |
βUI settledβ is the last DOM change. Formik and RHF run the synchronous rules together with the server check and clear the error only on its response; RJSF and ReFormer clear the synchronous error at once. If the DOM does not change on the server response, the phase settles earlier.
Captcha refreshReFormer core is the best in 1 of 4
| Metric | ReFormer core | ReFormer JSON | Formik | RHF | RJSF | baseline |
|---|---|---|---|---|---|---|
| Click β end of frame, ms | 8.10 Γ1.104.25β12.6 | 13.2 Γ1.796.28β16.2 | 10.4 Γ1.417.80β15.5 | 7.35 Γ1.004.48β12.2 | 10.8 Γ1.464.58β14.8 | β |
| Click β UI settled, ms | 23.9 Γ1.0023.8β24.1 | 24.6 Γ1.0324.1β24.8 | 30.3 Γ1.26 β²29.9β30.4 | 25.3 Γ1.06 β²25.2β25.5 | 26.0 Γ1.09 β²25.8β26.2 | β |
| JS execution (CDP), ms | 1.81 Γ1.051.70β2.31 | 1.73 Γ1.001.42β1.92 | 5.21 Γ3.02 β²5.06β5.60 | 1.78 Γ1.031.06β2.52 | 2.49 Γ1.442.35β3.05 | β |
| Layout + style, ms | 0.19 Γ2.710.08β0.70 | 0.18 Γ2.640.08β0.63 | 0.08 Γ1.140.08β0.44 | 0.07 Γ1.000.07β0.18 | 0.08 Γ1.140.08β0.19 | β |
Spread above 15 % (CV): Click β end of frame; JS execution (CDP); Layout + style.
Typing the captcha with a server checkReFormer core is the best in 0 of 3
| Metric | ReFormer core | ReFormer JSON | Formik | RHF | RJSF | baseline |
|---|---|---|---|---|---|---|
| Typing β UI settled (incl. 300 ms debounce and 20 ms network), ms | 771 Γ1.70769β775 | 772 Γ1.70770β776 | 776 Γ1.71769β781 | 769 Γ1.69765β775 | 454 Γ1.00 βΌ449β457 | β |
| Key β end of processing (median), ms | 5.58 Γ1.205.26β5.69 | 5.50 Γ1.185.35β5.64 | 5.82 Γ1.255.56β5.90 | 4.65 Γ1.00 βΌ4.50β4.81 | 5.53 Γ1.195.45β5.69 | β |
| JS execution over the phase (CDP), ms | 14.0 Γ1.0513.3β14.8 | 16.0 Γ1.2015.2β17.0 | 19.8 Γ1.50 β²19.2β20.9 | 13.3 Γ1.0012.9β14.0 | 19.1 Γ1.44 β²17.2β19.9 | β |
βUI settledβ is the last DOM change. Formik and RHF run the synchronous rules together with the server check and clear the error only on its response; RJSF and ReFormer clear the synchronous error at once. If the DOM does not change on the server response, the phase settles earlier.
Terms checkboxReFormer core is the best in 0 of 4
| Metric | ReFormer core | ReFormer JSON | Formik | RHF | RJSF | baseline |
|---|---|---|---|---|---|---|
| Click β end of frame, ms | 12.7 Γ1.237.05β13.8 | 11.2 Γ1.096.97β13.5 | 15.8 Γ1.5410.3β17.4 | 10.3 Γ1.007.00β11.8 | 12.1 Γ1.187.75β15.2 | β |
| Click β UI settled, ms | 4.70 Γ1.084.35β4.80 | 4.35 Γ1.004.22β4.50 | 7.25 Γ1.67 β²7.13β7.78 | 4.80 Γ1.104.58β4.97 | 5.55 Γ1.285.35β5.78 | β |
| JS execution (CDP), ms | 3.12 Γ1.102.50β3.40 | 2.84 Γ1.002.66β3.29 | 5.47 Γ1.93 β²5.16β6.08 | 2.97 Γ1.052.75β3.66 | 3.84 Γ1.353.65β4.11 | β |
| Layout + style, ms | 0.18 Γ1.850.10β0.62 | 0.32 Γ3.150.11β0.66 | 0.17 Γ1.700.10β0.68 | 0.10 Γ1.000.09β0.25 | 0.34 Γ3.400.10β0.63 | β |
Spread above 15 % (CV): Click β end of frame; JS execution (CDP); Layout + style.
Successful submitReFormer core is the best in 1 of 4
| Metric | ReFormer core | ReFormer JSON | Formik | RHF | RJSF | baseline |
|---|---|---|---|---|---|---|
| Click β end of frame, ms | 9.40 Γ1.006.53β14.6 | 11.2 Γ1.196.30β12.9 | 9.70 Γ1.038.18β13.6 | 9.40 Γ1.007.00β15.2 | 10.9 Γ1.168.35β12.9 | β |
| Click β UI settled, ms | 27.3 Γ1.0327.2β27.8 | 27.1 Γ1.0226.3β27.3 | 28.6 Γ1.0828.1β28.8 | 26.5 Γ1.0026.1β26.6 | 27.9 Γ1.0527.5β28.0 | β |
| JS execution (CDP), ms | 4.03 Γ1.133.59β4.59 | 3.55 Γ1.003.11β4.06 | 5.79 Γ1.63 β²5.41β6.19 | 5.92 Γ1.674.27β6.49 | 5.75 Γ1.624.61β5.88 | β |
| Layout + style, ms | 0.50 Γ1.230.26β0.81 | 0.63 Γ1.540.29β0.83 | 0.41 Γ1.000.17β0.78 | 0.74 Γ1.840.38β0.86 | 0.56 Γ1.400.24β0.86 | β |
Spread above 15 % (CV): Click β end of frame; JS execution (CDP); Layout + style.
Form remountReFormer core is the best in 1 of 6
| Metric | ReFormer core | ReFormer JSON | Formik | RHF | RJSF | baseline |
|---|---|---|---|---|---|---|
| Mount: render + commit + effects, ms | 2.80 Γ1.472.80β2.88 | 3.45 Γ1.82 β²3.40β3.52 | 1.90 Γ1.00 βΌ1.81β1.94 | 2.92 Γ1.542.85β3.00 | 2.75 Γ1.452.61β2.84 | 1.481.27β1.55 |
| Mount: until the frame with the ready form, ms | 13.3 Γ1.0510.8β14.7 | 13.2 Γ1.0410.6β14.6 | 13.3 Γ1.0410.8β14.5 | 12.7 Γ1.0011.0β14.6 | 13.1 Γ1.0311.5β14.8 | 13.211.6β14.6 |
| JS per mount + unmount cycle (CDP), ms | 0.53 Γ1.060.50β0.63 | 0.61 Γ1.220.53β0.64 | 1.01 Γ2.02 β²0.95β1.06 | 0.50 Γ1.000.42β0.52 | 0.53 Γ1.050.51β0.57 | 0.470.44β0.52 |
| Objects retained after unmount, KB/cycle | 0.040.04β0.04 | 0.040.04β0.04 | 0.040.03β0.04 | 0.030.03β0.04 | 0.040.03β0.04 | 0.030.03β0.03 |
| Heap growth per remount after warm-up (incl. JIT code), KB/cycle | 1.601.60β1.60 | 2.562.53β2.60 | 0.770.77β0.77 | 3.033.03β3.05 | 4.514.51β4.51 | 0.960.96β0.96 |
| DOM node growth per remount | 0.00.0β0.0 | 0.00.0β0.0 | 0.00.0β0.0 | 0.00.0β0.0 | 0.00.0β0.0 | 0.00.0β0.0 |
Spread above 15 % (CV): Mount: until the frame with the ready form; JS per mount + unmount cycle (CDP).
Before measuring, the form is remounted for warm-up without recording: in the first few dozen cycles the heap grows with engine code (bytecode, feedback vectors, optimized code) for every participant, even the empty page. βObjects retainedβ is the growth of live page objects between heap snapshots before and after the series, without JIT code: a leak is when it is above zero. βHeap growthβ is the heap slope after warm-up together with JIT code: the engine keeps optimizing code, which is not a leak.
- grey β the difference is below 5 % or not proven by significance
- baseline β reference without a form library, significance is not tested
| Phase | ReFormer JSON | Formik | RHF | RJSF | baselinereference |
|---|---|---|---|---|---|
| Γ1.07β²1 βΌ0 Β· 5 | Γ1.25β²4 βΌ0 Β· 5 | Γ1.11β²4 βΌ0 Β· 5 | Γ1.57β²4 βΌ0 Β· 5 | Γ0.76of 5 | |
| Γ1.18β²4 βΌ0 Β· 5 | Γ1.34β²4 βΌ0 Β· 5 | Γ1.09β²3 βΌ1 Β· 5 | Γ1.46β²4 βΌ0 Β· 5 | β | |
| Γ1.00β²0 βΌ1 Β· 4 | Γ1.17β²3 βΌ0 Β· 4 | Γ1.25β²3 βΌ0 Β· 4 | Γ1.27β²3 βΌ0 Β· 4 | β | |
| Γ1.00β²0 βΌ0 Β· 3 | Γ1.18β²1 βΌ0 Β· 3 | Γ1.16β²1 βΌ0 Β· 3 | Γ1.73β²2 βΌ0 Β· 3 | β | |
| Γ0.99β²0 βΌ0 Β· 6 | Γ1.29β²3 βΌ0 Β· 6 | Γ1.13β²3 βΌ0 Β· 6 | Γ1.41β²3 βΌ0 Β· 6 | Γ0.57of 6 | |
| Γ1.05β²1 βΌ0 Β· 4 | Γ1.15β²3 βΌ0 Β· 4 | Γ1.11β²2 βΌ0 Β· 4 | Γ1.15β²3 βΌ0 Β· 4 | β | |
| Γ1.01β²0 βΌ0 Β· 6 | Γ1.75β²4 βΌ0 Β· 6 | Γ1.08β²1 βΌ0 Β· 6 | Γ1.46β²3 βΌ0 Β· 6 | β | |
| Γ1.06β²0 βΌ0 Β· 4 | Γ1.12β²2 βΌ0 Β· 4 | Γ1.23β²3 βΌ0 Β· 4 | Γ1.72β²3 βΌ0 Β· 4 | β | |
| Γ1.02β²0 βΌ0 Β· 6 | Γ1.88β²3 βΌ0 Β· 6 | Γ1.04β²0 βΌ0 Β· 6 | Γ1.59β²3 βΌ0 Β· 6 | β | |
| Γ1.02β²0 βΌ0 Β· 4 | Γ1.15β²2 βΌ0 Β· 4 | Γ1.28β²3 βΌ0 Β· 4 | Γ1.84β²3 βΌ0 Β· 4 | β | |
| Γ1.04β²0 βΌ0 Β· 4 | Γ1.41β²3 βΌ0 Β· 4 | Γ0.98β²0 βΌ0 Β· 4 | Γ1.36β²2 βΌ0 Β· 4 | β | |
| Γ1.01β²0 βΌ0 Β· 6 | Γ1.54β²3 βΌ0 Β· 6 | Γ1.11β²0 βΌ0 Β· 6 | Γ1.50β²3 βΌ0 Β· 6 | β | |
| Γ1.01β²0 βΌ0 Β· 4 | Γ1.14β²1 βΌ0 Β· 4 | Γ1.25β²2 βΌ0 Β· 4 | Γ2.01β²3 βΌ0 Β· 4 | β | |
| Γ0.95β²0 βΌ1 Β· 4 | Γ1.06β²0 βΌ0 Β· 4 | Γ0.89β²0 βΌ3 Β· 4 | Γ1.25β²3 βΌ0 Β· 4 | β | |
| Γ1.07β²1 βΌ0 Β· 4 | Γ1.49β²2 βΌ0 Β· 4 | Γ1.20β²1 βΌ0 Β· 4 | Γ1.26β²1 βΌ0 Β· 4 | β | |
| Γ0.94β²0 βΌ0 Β· 6 | Γ2.83β²4 βΌ0 Β· 6 | Γ1.00β²0 βΌ0 Β· 6 | Γ1.93β²3 βΌ0 Β· 6 | β | |
| Γ1.66β²0 βΌ0 Β· 4 | Γ3.37β²3 βΌ0 Β· 4 | Γ2.34β²3 βΌ0 Β· 4 | Γ1.78β²2 βΌ0 Β· 4 | β | |
| Γ0.96β²0 βΌ0 Β· 4 | Γ1.20β²0 βΌ0 Β· 4 | Γ1.45β²3 βΌ0 Β· 4 | Γ1.24β²3 βΌ0 Β· 4 | β | |
| Γ0.88β²0 βΌ1 Β· 4 | Γ1.12β²3 βΌ0 Β· 4 | Γ1.24β²3 βΌ0 Β· 4 | Γ2.06β²3 βΌ0 Β· 4 | β | |
| Γ0.99β²0 βΌ0 Β· 3 | Γ2.33β²3 βΌ0 Β· 3 | Γ1.01β²0 βΌ0 Β· 3 | Γ1.63β²2 βΌ0 Β· 3 | β | |
| Γ0.88β²0 βΌ0 Β· 4 | Γ0.92β²0 βΌ1 Β· 4 | Γ0.64β²0 βΌ1 Β· 4 | Γ2.93β²3 βΌ0 Β· 4 | β | |
| Γ1.15β²1 βΌ0 Β· 3 | Γ0.93β²1 βΌ1 Β· 3 | Γ0.83β²0 βΌ1 Β· 3 | Γ0.97β²0 βΌ0 Β· 3 | Γ0.37of 3 |
Cold loadReFormer core is the best in 6 of 6
| Metric | ReFormer core | ReFormer JSON | Formik | RHF | RJSF | baseline |
|---|---|---|---|---|---|---|
| Form ready (from navigation start), ms | 126 Γ1.00126β136 | 136 Γ1.08134β144 | 175 Γ1.38 β²173β175 | 141 Γ1.12 β²141β142 | 235 Γ1.86 β²233β237 | 96.095.1β103 |
| First Contentful Paint, ms | 178 Γ1.00176β180 | 186 Γ1.04181β188 | 232 Γ1.30 β²224β235 | 196 Γ1.10 β²193β199 | 276 Γ1.55 β²276β283 | 148144β152 |
| JS execution (CDP ScriptDuration), ms | 85.6 Γ1.0084.5β85.8 | 94.3 Γ1.1093.4β94.9 | 138 Γ1.61 β²136β139 | 99.7 Γ1.17 β²99.4β100 | 193 Γ2.26 β²191β194 | 53.352.9β53.6 |
| Total Blocking Time, ms | 0.000.00β0.00 | 0.000.00β0.00 | 50.050.0β51.0 | 12.012.0β13.0 | 79.579.0β81.8 | 0.000.00β0.00 |
| JS heap after GC, KB | 2093 Γ1.002093β2093 | 2346 Γ1.12 β²2346β2347 | 2211 Γ1.06 β²2211β2211 | 2492 Γ1.19 β²2490β2493 | 3062 Γ1.46 β²3062β3062 | 13871387β1391 |
| DOM nodes | 143 Γ1.00143β143 | 143 Γ1.00143β143 | 143 Γ1.00143β143 | 143 Γ1.00143β143 | 143 Γ1.00143β143 | 143143β143 |
Loading a saved application (hydration with data)ReFormer core is the best in 4 of 6
| Metric | ReFormer core | ReFormer JSON | Formik | RHF | RJSF | baseline |
|---|---|---|---|---|---|---|
| Form ready (from navigation start), ms | 169 Γ1.04166β169 | 176 Γ1.09 β²174β177 | 221 Γ1.37 β²217β224 | 162 Γ1.00160β163 | 266 Γ1.65 β²263β267 | β |
| First Contentful Paint, ms | 122 Γ1.00120β127 | 216 Γ1.77 β²212β216 | 230 Γ1.89 β²228β235 | 154 Γ1.26 β²152β156 | 160 Γ1.31 β²156β163 | β |
| JS execution (CDP ScriptDuration), ms | 88.3 Γ1.0088.2β89.5 | 97.4 Γ1.10 β²96.2β98.5 | 143 Γ1.62 β²142β144 | 99.7 Γ1.13 β²99.0β101 | 195 Γ2.20 β²194β196 | β |
| Total Blocking Time, ms | 0.000.00β0.00 | 0.000.00β0.00 | 52.052.0β52.8 | 14.013.3β14.8 | 71.070.0β72.5 | β |
| JS heap after GC, KB | 2126 Γ1.002125β2126 | 2368 Γ1.11 β²2367β2368 | 2262 Γ1.06 β²2248β2262 | 2404 Γ1.13 β²2404β2404 | 3090 Γ1.45 β²3086β3090 | β |
| DOM nodes | 146 Γ1.01146β146 | 146 Γ1.01146β146 | 146 Γ1.01146β146 | 145 Γ1.00 βΌ145β145 | 146 Γ1.01146β146 | β |
βNextβ on an empty step 1 β errorsReFormer core is the best in 2 of 4
| Metric | ReFormer core | ReFormer JSON | Formik | RHF | RJSF | baseline |
|---|---|---|---|---|---|---|
| Click β end of frame, ms | 51.5 Γ1.0051.3β51.8 | 51.9 Γ1.0151.3β52.2 | 56.8 Γ1.10 β²56.6β57.2 | 60.3 Γ1.17 β²60.0β60.8 | 59.5 Γ1.16 β²59.4β59.9 | β |
| Click β UI settled, ms | 18.4 Γ1.0818.0β18.7 | 17.1 Γ1.00 βΌ16.9β17.2 | 22.8 Γ1.34 β²22.5β23.0 | 27.2 Γ1.60 β²26.7β27.6 | 25.6 Γ1.50 β²25.3β26.1 | β |
| JS execution (CDP), ms | 16.1 Γ1.0215.6β16.5 | 15.8 Γ1.0015.1β15.9 | 21.1 Γ1.33 β²20.3β21.3 | 21.3 Γ1.35 β²20.9β21.7 | 24.4 Γ1.54 β²23.6β24.6 | β |
| Layout + style, ms | 0.84 Γ1.000.73β1.21 | 0.91 Γ1.070.78β1.22 | 0.87 Γ1.030.72β1.03 | 0.89 Γ1.050.64β0.93 | 0.91 Γ1.070.64β1.10 | β |
Spread above 15 % (CV): Layout + style.
Loan type β mortgage: conditional fields and rateReFormer core is the best in 1 of 3
| Metric | ReFormer core | ReFormer JSON | Formik | RHF | RJSF | baseline |
|---|---|---|---|---|---|---|
| Click β UI settled, ms | 48.9 Γ1.0443.0β51.9 | 47.0 Γ1.0044.6β51.1 | 53.6 Γ1.1450.8β56.5 | 59.3 Γ1.2656.1β62.6 | 62.3 Γ1.32 β²60.1β67.5 | β |
| JS execution (CDP), ms | 6.33 Γ1.005.96β6.89 | 6.35 Γ1.006.05β7.06 | 9.68 Γ1.53 β²9.30β10.1 | 9.10 Γ1.44 β²8.96β9.61 | 21.7 Γ3.43 β²21.4β22.3 | β |
| Layout + style, ms | 1.50 Γ1.101.23β1.55 | 1.54 Γ1.131.51β1.58 | 1.48 Γ1.081.20β1.95 | 1.36 Γ1.001.11β1.54 | 1.79 Γ1.321.58β1.96 | β |
Spread above 15 % (CV): Layout + style.
Step 1: amount, term, purpose, price (live validation, computed fields)ReFormer core is the best in 4 of 7
| Metric | ReFormer core | ReFormer JSON | Formik | RHF | RJSF | baseline |
|---|---|---|---|---|---|---|
| Key β end of processing (median), ms | 4.85 Γ1.004.75β4.90 | 4.90 Γ1.014.79β5.03 | 6.70 Γ1.38 β²6.66β6.70 | 5.93 Γ1.22 β²5.79β6.05 | 7.43 Γ1.53 β²7.31β7.53 | 3.203.20β3.30 |
| Key β end of processing (p95 of a run), ms | 8.81 Γ1.078.28β9.32 | 8.24 Γ1.007.86β8.77 | 9.66 Γ1.178.98β10.9 | 9.35 Γ1.148.94β9.99 | 12.1 Γ1.4711.8β12.4 | 4.073.91β5.56 |
| Key β end of frame (median), ms | 5.43 Γ1.005.35β5.45 | 5.47 Γ1.015.45β5.57 | 7.30 Γ1.35 β²7.21β7.30 | 6.60 Γ1.22 β²6.41β6.84 | 7.85 Γ1.45 β²7.78β7.99 | 3.753.70β3.80 |
| JS per key (CDP), ms | 1.77 Γ1.001.64β1.80 | 1.80 Γ1.021.74β1.93 | 4.00 Γ2.26 β²3.93β4.03 | 2.35 Γ1.33 β²2.31β2.38 | 4.66 Γ2.63 β²4.61β4.70 | 0.700.67β0.78 |
| Layout + style per key, ms | 0.59 Γ1.020.54β0.64 | 0.59 Γ1.020.56β0.65 | 0.58 Γ1.010.55β0.64 | 0.59 Γ1.020.54β0.61 | 0.58 Γ1.000.57β0.63 | 0.440.40β0.50 |
| Events β₯ 16 ms (Event Timing) | 180 Γ1.00179β181 | 180 Γ1.01180β181 | 180 Γ1.01179β181 | 179 Γ1.00178β180 | 179 Γ1.00177β180 | 105104β106 |
| Total Blocking Time, ms | 0.000.00β0.00 | 0.000.00β0.00 | 0.000.00β0.00 | 0.000.00β0.00 | 0.000.00β0.00 | 0.000.00β0.00 |
Spread above 15 % (CV): Key β end of processing (p95 of a run); Layout + style per key.
Go to step 2ReFormer core is the best in 3 of 4
| Metric | ReFormer core | ReFormer JSON | Formik | RHF | RJSF | baseline |
|---|---|---|---|---|---|---|
| Click β end of frame, ms | 27.2 Γ1.0027.0β27.7 | 28.9 Γ1.0628.8β29.3 | 31.1 Γ1.15 β²31.0β31.4 | 31.6 Γ1.16 β²31.1β32.1 | 30.4 Γ1.12 β²30.1β30.9 | β |
| Click β UI settled, ms | 15.6 Γ1.0015.1β15.8 | 17.3 Γ1.11 β²17.1β17.6 | 19.6 Γ1.25 β²19.6β19.8 | 19.6 Γ1.26 β²19.4β20.0 | 18.9 Γ1.21 β²18.8β19.6 | β |
| JS execution (CDP), ms | 14.3 Γ1.0013.4β14.9 | 15.2 Γ1.0614.6β15.8 | 17.4 Γ1.22 β²17.0β18.5 | 15.2 Γ1.0614.9β15.7 | 18.3 Γ1.28 β²17.4β18.9 | β |
| Layout + style, ms | 6.38 Γ1.016.09β6.58 | 6.30 Γ1.005.78β6.86 | 6.45 Γ1.026.30β6.88 | 6.31 Γ1.005.97β6.45 | 6.52 Γ1.036.09β6.81 | β |
Step 2: full name, passport, tax ID (masks)ReFormer core is the best in 5 of 7
| Metric | ReFormer core | ReFormer JSON | Formik | RHF | RJSF | baseline |
|---|---|---|---|---|---|---|
| Key β end of processing (median), ms | 4.10 Γ1.004.00β4.10 | 4.10 Γ1.004.00β4.17 | 8.00 Γ1.95 β²7.93β8.00 | 4.30 Γ1.054.20β4.40 | 6.30 Γ1.54 β²6.22β6.30 | β |
| Key β end of processing (p95 of a run), ms | 6.16 Γ1.005.59β7.46 | 6.62 Γ1.076.31β9.92 | 9.89 Γ1.61 β²9.61β11.4 | 7.39 Γ1.205.85β9.30 | 8.54 Γ1.398.00β9.83 | β |
| Key β end of frame (median), ms | 4.90 Γ1.004.83β4.97 | 4.90 Γ1.004.90β5.00 | 9.00 Γ1.84 β²8.90β9.07 | 5.30 Γ1.08 β²5.30β5.30 | 7.25 Γ1.48 β²7.20β7.30 | β |
| JS per key (CDP), ms | 1.06 Γ1.000.99β1.10 | 1.08 Γ1.021.06β1.12 | 5.33 Γ5.03 β²5.26β5.40 | 1.11 Γ1.051.05β1.13 | 3.27 Γ3.08 β²3.22β3.32 | β |
| Layout + style per key, ms | 0.48 Γ1.070.45β0.53 | 0.45 Γ1.000.43β0.47 | 0.48 Γ1.060.44β0.52 | 0.53 Γ1.170.51β0.58 | 0.47 Γ1.050.45β0.52 | β |
| Events β₯ 16 ms (Event Timing) | 178 Γ1.01176β180 | 180 Γ1.02179β181 | 177 Γ1.00176β180 | 178 Γ1.01177β180 | 178 Γ1.01177β181 | β |
| Total Blocking Time, ms | 0.000.00β0.00 | 0.000.00β0.00 | 0.000.00β0.00 | 0.000.00β0.00 | 0.000.00β0.00 | β |
Spread above 15 % (CV): Key β end of processing (p95 of a run).
Go to step 3ReFormer core is the best in 3 of 4
| Metric | ReFormer core | ReFormer JSON | Formik | RHF | RJSF | baseline |
|---|---|---|---|---|---|---|
| Click β end of frame, ms | 20.3 Γ1.0020.0β20.6 | 20.8 Γ1.0320.4β21.0 | 22.5 Γ1.11 β²22.4β22.8 | 25.3 Γ1.25 β²24.5β25.4 | 34.6 Γ1.71 β²34.0β35.0 | β |
| Click β UI settled, ms | 13.1 Γ1.0012.8β13.2 | 13.5 Γ1.0313.1β13.8 | 15.6 Γ1.20 β²15.2β15.8 | 17.7 Γ1.36 β²17.2β18.1 | 27.9 Γ2.14 β²27.5β28.6 | β |
| JS execution (CDP), ms | 11.3 Γ1.0011.1β12.1 | 12.1 Γ1.0711.7β12.3 | 13.4 Γ1.1812.1β13.8 | 14.0 Γ1.24 β²13.5β14.4 | 25.5 Γ2.25 β²25.0β26.1 | β |
| Layout + style, ms | 2.95 Γ1.002.75β3.19 | 3.29 Γ1.122.84β3.56 | 2.94 Γ1.002.80β3.10 | 3.18 Γ1.082.88β3.26 | 3.13 Γ1.062.90β3.54 | β |
Spread above 15 % (CV): Layout + style.
Step 3: phone, email, addressReFormer core is the best in 5 of 7
| Metric | ReFormer core | ReFormer JSON | Formik | RHF | RJSF | baseline |
|---|---|---|---|---|---|---|
| Key β end of processing (median), ms | 3.55 Γ1.003.50β3.60 | 3.55 Γ1.003.50β3.60 | 7.20 Γ2.03 β²7.10β7.20 | 3.70 Γ1.043.60β3.70 | 5.80 Γ1.63 β²5.70β5.88 | β |
| Key β end of processing (p95 of a run), ms | 4.42 Γ1.004.21β4.80 | 4.45 Γ1.014.34β5.36 | 8.41 Γ1.908.23β8.64 | 4.56 Γ1.034.42β4.60 | 7.05 Γ1.606.97β7.25 | β |
| Key β end of frame (median), ms | 4.30 Γ1.004.30β4.38 | 4.35 Γ1.014.30β4.40 | 8.10 Γ1.88 β²8.00β8.10 | 4.50 Γ1.054.50β4.60 | 6.65 Γ1.55 β²6.53β6.70 | β |
| JS per key (CDP), ms | 0.78 Γ1.000.76β0.80 | 0.87 Γ1.120.79β0.90 | 4.56 Γ5.88 β²4.46β4.62 | 0.90 Γ1.160.87β0.91 | 3.07 Γ3.96 β²3.03β3.13 | β |
| Layout + style per key, ms | 0.40 Γ1.010.38β0.41 | 0.40 Γ1.020.38β0.43 | 0.41 Γ1.050.38β0.42 | 0.39 Γ1.000.38β0.40 | 0.40 Γ1.020.39β0.41 | β |
| Events β₯ 16 ms (Event Timing) | 233 Γ1.00232β235 | 234 Γ1.00233β235 | 234 Γ1.00233β237 | 233 Γ1.00231β236 | 234 Γ1.01232β235 | β |
| Total Blocking Time, ms | 0.000.00β0.00 | 0.000.00β0.00 | 0.000.00β0.00 | 0.000.00β0.00 | 0.000.00β0.00 | β |
Spread above 15 % (CV): Key β end of processing (p95 of a run).
Go to step 4ReFormer core is the best in 4 of 4
| Metric | ReFormer core | ReFormer JSON | Formik | RHF | RJSF | baseline |
|---|---|---|---|---|---|---|
| Click β end of frame, ms | 18.2 Γ1.0018.0β18.5 | 18.6 Γ1.0218.4β18.6 | 21.4 Γ1.18 β²20.9β21.6 | 24.0 Γ1.32 β²23.7β24.2 | 34.4 Γ1.89 β²33.9β34.6 | β |
| Click β UI settled, ms | 12.0 Γ1.0011.7β12.2 | 12.1 Γ1.0011.9β12.4 | 15.2 Γ1.27 β²14.7β15.3 | 17.6 Γ1.47 β²17.4β18.0 | 28.4 Γ2.36 β²27.7β28.9 | β |
| JS execution (CDP), ms | 10.7 Γ1.009.57β11.2 | 10.9 Γ1.0110.6β11.5 | 12.3 Γ1.1512.1β12.7 | 14.2 Γ1.32 β²13.7β14.6 | 25.6 Γ2.39 β²24.6β26.7 | β |
| Layout + style, ms | 2.45 Γ1.002.18β2.80 | 2.53 Γ1.032.24β2.71 | 2.48 Γ1.012.29β3.00 | 2.56 Γ1.042.40β2.79 | 2.65 Γ1.082.57β2.95 | β |
Spread above 15 % (CV): Layout + style.
Employment status β sole proprietor: sections swapReFormer core is the best in 1 of 4
| Metric | ReFormer core | ReFormer JSON | Formik | RHF | RJSF | baseline |
|---|---|---|---|---|---|---|
| Click β end of frame, ms | 9.45 Γ1.029.40β9.78 | 9.65 Γ1.049.45β9.95 | 12.9 Γ1.39 β²12.7β13.3 | 9.30 Γ1.008.88β9.55 | 12.2 Γ1.3112.0β13.1 | β |
| Click β UI settled, ms | 6.30 Γ1.065.78β6.40 | 6.40 Γ1.086.15β6.57 | 9.25 Γ1.55 β²9.05β9.57 | 5.95 Γ1.005.55β6.00 | 8.70 Γ1.46 β²8.35β9.03 | β |
| JS execution (CDP), ms | 4.73 Γ1.074.56β5.39 | 4.80 Γ1.084.09β4.97 | 7.46 Γ1.68 β²7.30β7.67 | 4.44 Γ1.004.23β4.57 | 7.64 Γ1.72 β²7.13β8.38 | β |
| Layout + style, ms | 0.91 Γ1.000.77β1.04 | 1.02 Γ1.120.94β1.17 | 1.14 Γ1.250.82β1.40 | 0.97 Γ1.070.91β1.19 | 1.07 Γ1.180.94β1.26 | β |
Spread above 15 % (CV): Click β end of frame; Layout + style.
Step 4: work experience and income (cross-field rules, payment ratio)ReFormer core is the best in 5 of 7
| Metric | ReFormer core | ReFormer JSON | Formik | RHF | RJSF | baseline |
|---|---|---|---|---|---|---|
| Key β end of processing (median), ms | 4.10 Γ1.004.06β4.24 | 4.32 Γ1.054.25β4.39 | 7.00 Γ1.71 β²6.96β7.14 | 4.40 Γ1.074.30β4.44 | 7.25 Γ1.77 β²7.20β7.42 | β |
| Key β end of processing (p95 of a run), ms | 7.73 Γ1.005.63β11.0 | 8.49 Γ1.105.83β12.3 | 8.60 Γ1.118.37β11.6 | 9.75 Γ1.269.04β11.1 | 8.71 Γ1.138.35β10.0 | β |
| Key β end of frame (median), ms | 5.05 Γ1.004.90β5.10 | 5.05 Γ1.005.00β5.09 | 7.92 Γ1.57 β²7.85β7.99 | 5.28 Γ1.045.21β5.38 | 8.15 Γ1.61 β²8.05β8.24 | β |
| JS per key (CDP), ms | 1.08 Γ1.000.95β1.11 | 1.23 Γ1.141.21β1.29 | 4.91 Γ4.53 β²4.84β4.98 | 1.21 Γ1.121.12β1.27 | 4.22 Γ3.90 β²4.13β4.38 | β |
| Layout + style per key, ms | 0.70 Γ1.210.67β0.73 | 0.58 Γ1.000.55β0.60 | 0.69 Γ1.190.62β0.79 | 0.80 Γ1.380.65β0.83 | 0.65 Γ1.120.59β0.70 | β |
| Events β₯ 16 ms (Event Timing) | 67.5 Γ1.0267.0β68.8 | 67.5 Γ1.0266.3β68.0 | 67.0 Γ1.0267.0β68.0 | 68.0 Γ1.0367.3β68.8 | 66.0 Γ1.0066.0β66.8 | β |
| Total Blocking Time, ms | 0.000.00β0.00 | 0.000.00β0.00 | 0.000.00β0.00 | 0.000.00β0.00 | 0.000.00β0.00 | β |
Spread above 15 % (CV): Key β end of processing (p95 of a run); Layout + style per key.
Go to step 5ReFormer core is the best in 1 of 4
| Metric | ReFormer core | ReFormer JSON | Formik | RHF | RJSF | baseline |
|---|---|---|---|---|---|---|
| Click β end of frame, ms | 14.6 Γ1.0114.4β15.1 | 14.4 Γ1.0014.4β14.7 | 17.1 Γ1.1816.8β17.3 | 19.3 Γ1.3318.9β19.6 | 30.4 Γ2.10 β²30.1β31.0 | β |
| Click β UI settled, ms | 9.50 Γ1.019.20β9.80 | 9.45 Γ1.009.30β9.70 | 12.1 Γ1.29 β²11.8β12.4 | 14.1 Γ1.49 β²13.8β14.4 | 25.1 Γ2.66 β²24.9β25.8 | β |
| JS execution (CDP), ms | 7.83 Γ1.007.59β8.52 | 8.38 Γ1.077.79β8.76 | 9.67 Γ1.239.08β9.90 | 10.5 Γ1.35 β²10.4β10.8 | 23.1 Γ2.95 β²22.6β23.8 | β |
| Layout + style, ms | 1.94 Γ1.101.60β2.40 | 1.95 Γ1.111.40β2.29 | 1.76 Γ1.001.65β2.20 | 1.80 Γ1.031.65β2.65 | 1.94 Γ1.101.57β2.06 | β |
Spread above 15 % (CV): Layout + style.
Property array: switch on (first row)ReFormer core is the best in 1 of 4
| Metric | ReFormer core | ReFormer JSON | Formik | RHF | RJSF | baseline |
|---|---|---|---|---|---|---|
| Click β end of frame, ms | 15.2 Γ1.1314.9β15.6 | 13.8 Γ1.0313.5β14.2 | 16.0 Γ1.1915.8β16.3 | 13.4 Γ1.00 βΌ13.0β13.7 | 18.6 Γ1.39 β²18.5β18.7 | β |
| Click β UI settled, ms | 9.50 Γ1.189.33β9.73 | 8.80 Γ1.09 βΌ8.55β8.95 | 9.55 Γ1.199.35β9.78 | 8.05 Γ1.00 βΌ7.80β8.50 | 13.3 Γ1.65 β²13.1β13.6 | β |
| JS execution (CDP), ms | 8.37 Γ1.247.61β8.45 | 7.42 Γ1.107.29β7.62 | 9.48 Γ1.408.78β9.83 | 6.75 Γ1.00 βΌ6.17β6.79 | 11.9 Γ1.76 β²11.1β12.7 | β |
| Layout + style, ms | 1.99 Γ1.001.85β2.41 | 2.14 Γ1.081.96β2.44 | 2.08 Γ1.051.99β2.28 | 2.09 Γ1.051.90β2.26 | 2.04 Γ1.021.93β2.24 | β |
Spread above 15 % (CV): Layout + style.
Property array: add rows up to NReFormer core is the best in 3 of 4
| Metric | ReFormer core | ReFormer JSON | Formik | RHF | RJSF | baseline |
|---|---|---|---|---|---|---|
| Click β end of frame, ms | 12.0 Γ1.0011.7β18.2 | 12.4 Γ1.0412.3β18.2 | 19.6 Γ1.6319.0β19.8 | 13.4 Γ1.1112.8β22.7 | 15.5 Γ1.2915.5β25.2 | β |
| Click β UI settled, ms | 668 Γ1.00656β678 | 673 Γ1.01660β688 | 726 Γ1.09 β²711β736 | 692 Γ1.04680β705 | 695 Γ1.04681β704 | β |
| JS execution (CDP), ms | 32.3 Γ1.0030.4β33.2 | 40.2 Γ1.24 β²39.5β42.6 | 89.2 Γ2.76 β²88.3β89.8 | 57.1 Γ1.77 β²57.0β58.3 | 59.8 Γ1.85 β²59.2β61.1 | β |
| Layout + style, ms | 29.7 Γ1.0029.2β29.8 | 29.9 Γ1.0129.4β30.6 | 29.6 Γ1.0029.2β30.5 | 29.9 Γ1.0129.6β30.6 | 29.8 Γ1.0129.5β30.4 | β |
Spread above 15 % (CV): Click β end of frame.
Property array: typing in the last rowReFormer core is the best in 3 of 7
| Metric | ReFormer core | ReFormer JSON | Formik | RHF | RJSF | baseline |
|---|---|---|---|---|---|---|
| Key β end of processing (median), ms | 4.20 Γ1.004.15β4.38 | 4.32 Γ1.034.21β4.45 | 17.0 Γ4.04 β²16.8β17.1 | 4.45 Γ1.064.31β4.60 | 9.40 Γ2.24 β²9.06β9.58 | β |
| Key β end of processing (p95 of a run), ms | 8.76 Γ1.465.67β11.2 | 6.43 Γ1.076.12β11.8 | 19.1 Γ3.19 β²18.9β19.6 | 5.99 Γ1.005.68β6.11 | 12.5 Γ2.0911.8β13.3 | β |
| Key β end of frame (median), ms | 5.57 Γ1.005.40β5.70 | 5.60 Γ1.005.60β5.76 | 18.8 Γ3.37 β²18.8β19.0 | 5.78 Γ1.045.55β5.85 | 10.8 Γ1.93 β²10.5β10.9 | β |
| JS per key (CDP), ms | 0.82 Γ1.080.64β1.07 | 0.76 Γ1.000.62β0.83 | 13.4 Γ17.66 β²13.0β13.5 | 0.94 Γ1.240.85β1.06 | 6.01 Γ7.94 β²5.83β6.20 | β |
| Layout + style per key, ms | 0.56 Γ1.050.37β0.80 | 0.53 Γ1.000.45β0.62 | 0.60 Γ1.130.54β0.80 | 0.66 Γ1.240.62β0.71 | 0.63 Γ1.190.52β0.70 | β |
| Events β₯ 16 ms (Event Timing) | 34.0 Γ1.0334.0β34.0 | 34.0 Γ1.0334.0β34.0 | 33.0 Γ1.0033.0β33.0 | 34.0 Γ1.0333.0β34.0 | 34.0 Γ1.0333.0β34.0 | β |
| Total Blocking Time, ms | 0.000.00β0.00 | 0.000.00β0.00 | 0.000.00β0.00 | 0.000.00β0.00 | 0.000.00β0.00 | β |
Spread above 15 % (CV): Key β end of processing (p95 of a run); JS per key (CDP); Layout + style per key.
Property array: remove the last rowReFormer core is the best in 4 of 4
| Metric | ReFormer core | ReFormer JSON | Formik | RHF | RJSF | baseline |
|---|---|---|---|---|---|---|
| Click β end of frame, ms | 9.25 Γ1.009.03β11.8 | 10.4 Γ1.1310.1β12.1 | 24.1 Γ2.61 β²24.1β24.6 | 14.0 Γ1.51 β²13.7β14.1 | 11.8 Γ1.2811.5β12.5 | β |
| Click β UI settled, ms | 5.65 Γ1.005.50β5.90 | 6.75 Γ1.196.38β6.97 | 18.8 Γ3.32 β²18.4β18.9 | 10.5 Γ1.86 β²9.85β10.6 | 8.00 Γ1.42 β²7.90β8.20 | β |
| JS execution (CDP), ms | 4.65 Γ1.004.46β5.10 | 5.45 Γ1.174.72β5.83 | 19.3 Γ4.14 β²19.0β20.1 | 9.16 Γ1.97 β²8.53β9.63 | 6.72 Γ1.45 β²6.40β6.93 | β |
| Layout + style, ms | 0.15 Γ1.000.14β0.38 | 0.72 Γ4.770.29β0.96 | 0.54 Γ3.600.15β1.01 | 0.81 Γ5.370.42β1.00 | 0.58 Γ3.830.50β0.80 | β |
Spread above 15 % (CV): Click β end of frame; Layout + style.
Property array: switch off (clear)ReFormer core is the best in 1 of 4
| Metric | ReFormer core | ReFormer JSON | Formik | RHF | RJSF | baseline |
|---|---|---|---|---|---|---|
| Click β end of frame, ms | 15.8 Γ1.0415.4β15.9 | 15.1 Γ1.0014.8β17.3 | 16.6 Γ1.1015.8β16.9 | 18.6 Γ1.24 β²17.7β20.5 | 17.6 Γ1.17 β²17.1β18.0 | β |
| Click β UI settled, ms | 7.25 Γ1.107.05β7.67 | 6.60 Γ1.006.43β6.70 | 7.80 Γ1.187.70β7.90 | 9.85 Γ1.49 β²9.55β10.3 | 8.95 Γ1.36 β²8.72β9.00 | β |
| JS execution (CDP), ms | 4.27 Γ1.053.97β4.77 | 4.07 Γ1.004.03β4.30 | 5.47 Γ1.345.22β5.69 | 7.19 Γ1.76 β²6.82β7.45 | 5.93 Γ1.46 β²5.60β6.27 | β |
| Layout + style, ms | 0.65 Γ1.000.38β0.75 | 0.65 Γ1.010.54β0.87 | 0.92 Γ1.430.66β1.01 | 1.05 Γ1.640.50β1.19 | 0.81 Γ1.250.65β0.95 | β |
Spread above 15 % (CV): Click β end of frame; Layout + style.
Go to step 6ReFormer core is the best in 0 of 4
| Metric | ReFormer core | ReFormer JSON | Formik | RHF | RJSF | baseline |
|---|---|---|---|---|---|---|
| Click β end of frame, ms | 16.6 Γ1.1216.4β16.8 | 14.8 Γ1.0014.6β15.1 | 20.9 Γ1.42 β²20.2β21.2 | 21.8 Γ1.47 β²21.5β22.3 | 37.7 Γ2.56 β²37.3β37.9 | β |
| Click β UI settled, ms | 13.8 Γ1.1713.6β14.2 | 11.8 Γ1.00 βΌ11.5β12.3 | 18.1 Γ1.53 β²17.8β18.6 | 19.3 Γ1.63 β²18.8β19.5 | 33.7 Γ2.85 β²33.3β33.9 | β |
| JS execution (CDP), ms | 10.3 Γ1.299.71β10.5 | 8.02 Γ1.007.10β8.58 | 12.7 Γ1.58 β²12.5β13.5 | 12.3 Γ1.54 β²11.6β13.3 | 29.0 Γ3.61 β²28.3β29.3 | β |
| Layout + style, ms | 2.05 Γ1.271.93β2.37 | 2.12 Γ1.311.73β2.62 | 1.62 Γ1.001.48β2.34 | 2.20 Γ1.361.92β2.44 | 2.38 Γ1.472.18β2.99 | β |
Spread above 15 % (CV): Layout + style.
SMS code with a server checkReFormer core is the best in 2 of 3
| Metric | ReFormer core | ReFormer JSON | Formik | RHF | RJSF | baseline |
|---|---|---|---|---|---|---|
| Typing β UI settled (incl. 300 ms debounce and 20 ms network), ms | 445 Γ1.00435β453 | 446 Γ1.00436β452 | 778 Γ1.75 β²770β786 | 449 Γ1.01439β456 | 456 Γ1.02448β463 | β |
| Key β end of processing (median), ms | 3.25 Γ1.003.18β3.30 | 3.35 Γ1.033.25β3.46 | 5.40 Γ1.66 β²5.29β5.60 | 3.35 Γ1.033.10β3.39 | 4.75 Γ1.46 β²4.64β4.85 | β |
| JS execution over the phase (CDP), ms | 5.12 Γ1.074.23β5.61 | 4.79 Γ1.004.22β5.31 | 22.2 Γ4.64 β²21.7β23.2 | 5.00 Γ1.044.64β5.84 | 14.9 Γ3.11 β²14.4β15.0 | β |
Spread above 15 % (CV): JS execution over the phase (CDP).
API requests during the phase differ (part of the work moved to another phase): ReFormer core β none; ReFormer JSON β none; Formik β sms-verify Γ1; RHF β none; RJSF β none.
βUI settledβ is the last DOM change. Formik and RHF run the synchronous rules together with the server check and clear the error only on its response; RJSF and ReFormer clear the synchronous error at once. If the DOM does not change on the server response, the phase settles earlier.
Formik validates from the first keystroke, server checks included (submitCount only hides the errors, see the Formik README), so it checks the code before the first submit; the others check it on submit.
Submitting the applicationReFormer core is the best in 0 of 4
| Metric | ReFormer core | ReFormer JSON | Formik | RHF | RJSF | baseline |
|---|---|---|---|---|---|---|
| Click β end of frame, ms | 9.90 Γ1.339.70β10.5 | 10.1 Γ1.369.80β10.4 | 13.1 Γ1.7712.8β13.6 | 7.45 Γ1.007.05β8.70 | 58.5 Γ7.85 β²57.7β59.1 | β |
| Click β UI settled, ms | 52.1 Γ1.5551.7β52.4 | 51.7 Γ1.5451.2β51.9 | 33.6 Γ1.00 βΌ33.2β34.1 | 49.7 Γ1.48 βΌ49.5β50.0 | 98.0 Γ2.92 β²97.6β98.4 | β |
| JS execution (CDP), ms | 6.59 Γ1.116.11β7.66 | 6.59 Γ1.116.20β7.38 | 6.76 Γ1.146.16β7.06 | 5.93 Γ1.005.31β6.30 | 55.6 Γ9.38 β²54.5β55.8 | β |
| Layout + style, ms | 0.71 Γ3.920.23β1.50 | 0.43 Γ2.360.30β0.75 | 0.58 Γ3.190.36β1.20 | 0.18 Γ1.000.17β0.33 | 0.56 Γ3.080.36β0.76 | β |
Spread above 15 % (CV): Click β end of frame; Layout + style.
API requests during the phase differ (part of the work moved to another phase): ReFormer core β sms-verify Γ1, submit-application Γ1; ReFormer JSON β sms-verify Γ1, submit-application Γ1; Formik β submit-application Γ1; RHF β sms-verify Γ1, submit-application Γ1; RJSF β sms-verify Γ1, submit-application Γ1.
Form remountReFormer core is the best in 1 of 6
| Metric | ReFormer core | ReFormer JSON | Formik | RHF | RJSF | baseline |
|---|---|---|---|---|---|---|
| Mount: render + commit + effects, ms | 3.85 Γ1.543.76β3.94 | 4.90 Γ1.96 β²4.72β4.90 | 2.50 Γ1.00 βΌ2.50β2.54 | 3.20 Γ1.28 βΌ3.20β3.25 | 3.85 Γ1.543.85β3.89 | 1.601.46β1.60 |
| Mount: until the frame with the ready form, ms | 8.75 Γ1.187.91β10.8 | 9.20 Γ1.248.90β11.0 | 7.53 Γ1.016.96β9.82 | 7.42 Γ1.007.11β10.9 | 8.43 Γ1.137.85β11.4 | 5.255.10β9.26 |
| JS per mount + unmount cycle (CDP), ms | 0.61 Γ1.240.55β0.71 | 0.70 Γ1.400.60β0.75 | 0.90 Γ1.82 β²0.87β1.02 | 0.49 Γ1.000.45β0.55 | 0.59 Γ1.190.54β0.69 | 0.130.11β0.15 |
| Objects retained after unmount, KB/cycle | 0.030.03β0.03 | 0.030.03β0.03 | 0.040.03β0.04 | 0.030.03β0.03 | 0.030.03β0.03 | 0.040.03β0.04 |
| Heap growth per remount after warm-up (incl. JIT code), KB/cycle | 3.403.40β3.40 | 1.371.37β1.41 | 0.060.06β0.06 | 0.140.14β0.15 | 0.420.39β0.42 | 0.640.64β0.64 |
| DOM node growth per remount | 0.00.0β0.0 | 0.00.0β0.0 | 0.00.0β0.0 | 0.00.0β0.0 | 0.00.0β0.0 | 0.00.0β0.0 |
Spread above 15 % (CV): Mount: until the frame with the ready form; JS per mount + unmount cycle (CDP); Heap growth per remount after warm-up (incl. JIT code).
Before measuring, the form is remounted for warm-up without recording: in the first few dozen cycles the heap grows with engine code (bytecode, feedback vectors, optimized code) for every participant, even the empty page. βObjects retainedβ is the growth of live page objects between heap snapshots before and after the series, without JIT code: a leak is when it is above zero. βHeap growthβ is the heap slope after warm-up together with JIT code: the engine keeps optimizing code, which is not a leak.
React rendersβ
Components rendered during the phase (commits in parentheses); for typing β per key, for remounting β per mount. Counted by a DevTools hook (the PerformedWork flag, like React DevTools) in a separate pass at CPU 1x.
- Registration with a captcha
- Credit application
| Phase | ReFormer core | ReFormer JSON | Formik | RHF | RJSF | baseline |
|---|---|---|---|---|---|---|
| Cold load | 31 (1) | 61 (1) | 59 (2) | 58 (2) | 90 (1) | 21 (1) |
| Load by invitation (hydration with a prefill) | 34 (2) | 63 (2) | 118 (4) | 33 (3) | 92 (2) | β |
| Typing before the first submit (username, email) | 0.0/key (0) | 0.0/key (0) | 53.2/key (63) | 0.0/key (0) | 23.0/key (32) | 0.0/key (0) |
| Submit with errors β errors on screen | 18 (2) | 18 (2) | 135 (5) | 24 (1) | 89 (3) | β |
| Typing after submit β live validation (password, name, phone) | 1.1/key (14) | 1.1/key (14) | 58.3/key (82) | 1.3/key (17) | 22.7/key (38) | 0.0/key (0) |
| Taken username: typing β server error | 1.9/key (5) | 1.9/key (5) | 54.0/key (16) | 0.8/key (2) | 23.6/key (9) | β |
| Fixing the username: typing β error cleared | 1.6/key (6) | 1.6/key (6) | 46.6/key (19) | 0.5/key (2) | 23.5/key (11) | β |
| Captcha refresh | 0 (0) | 0 (0) | 81 (3) | 0 (0) | 14 (1) | β |
| Typing the captcha with a server check | 6.0/key (12) | 7.0/key (12) | 54.0/key (12) | 4.0/key (8) | 22.0/key (6) | β |
| Terms checkbox | 3 (1) | 3 (1) | 108 (4) | 3 (1) | 22 (1) | β |
| Successful submit | 29 (1) | 4 (1) | 136 (5) | 54 (2) | 86 (3) | β |
| Form remount | 31/mount | 61/mount | 59/mount | 58/mount | 90/mount | 21/mount |
| Phase | ReFormer core | ReFormer JSON | Formik | RHF | RJSF | baseline |
|---|---|---|---|---|---|---|
| Cold load | 26 (1) | 48 (1) | 95 (3) | 87 (3) | 143 (3) | 17 (1) |
| Loading a saved application (hydration with data) | 29 (2) | 50 (2) | 116 (4) | 33 (3) | 143 (4) | β |
| βNextβ on an empty step 1 β errors | 50 (3) | 42 (3) | 69 (3) | 41 (2) | 70 (3) | β |
| Loan type β mortgage: conditional fields and rate | 30 (3) | 18 (3) | 37 (2) | 15 (2) | 133 (3) | β |
| Step 1: amount, term, purpose, price (live validation, computed fields) | 3.2/key (41) | 3.2/key (41) | 20.7/key (76) | 2.6/key (31) | 42.1/key (105) | 0.0/key (0) |
| Go to step 2 | 78 (2) | 101 (2) | 229 (6) | 79 (2) | 251 (2) | β |
| Step 2: full name, passport, tax ID (masks) | 1.0/key (21) | 1.0/key (21) | 17.9/key (96) | 1.5/key (21) | 46.4/key (129) | β |
| Go to step 3 | 93 (2) | 101 (2) | 220 (6) | 102 (3) | 165 (2) | β |
| Step 3: phone, email, address | 0.0/key (0) | 0.0/key (0) | 42.8/key (120) | 0.0/key (0) | 37.2/key (171) | β |
| Go to step 4 | 107 (2) | 108 (2) | 309 (6) | 112 (2) | 179 (2) | β |
| Employment status β sole proprietor: sections swap | 43 (2) | 30 (2) | 64 (2) | 15 (1) | 76 (3) | β |
| Step 4: work experience and income (cross-field rules, payment ratio) | 2.3/key (11) | 2.3/key (11) | 25.3/key (40) | 2.1/key (11) | 59.0/key (48) | β |
| Go to step 5 | 61 (2) | 64 (2) | 159 (6) | 61 (2) | 85 (2) | β |
| Property array: switch on (first row) | 37 (2) | 35 (3) | 69 (2) | 23 (1) | 92 (3) | β |
| Property array: add rows up to N | 144 (9) | 657 (9) | 2730 (29) | 972 (9) | 774 (27) | β |
| Property array: typing in the last row | 0.0/key (0) | 0.0/key (0) | 454.7/key (18) | 0.0/key (0) | 81.8/key (18) | β |
| Property array: remove the last row | 2 (1) | 84 (1) | 712 (5) | 159 (1) | 53 (3) | β |
| Property array: switch off (clear) | 19 (1) | 1 (1) | 20 (2) | 5 (1) | 25 (3) | β |
| Go to step 6 | 141 (2) | 54 (2) | 601 (6) | 128 (2) | 153 (2) | β |
| SMS code with a server check | 0.0/key (0) | 0.0/key (0) | 17.0/key (14) | 0.0/key (0) | 28.0/key (18) | β |
| Submitting the application | 26 (1) | 2 (1) | 74 (5) | 51 (2) | 22 (4) | β |
| Form remount | 26/mount | 48/mount | 64/mount | 58/mount | 82/mount | 17/mount |
Bundle sizeβ
A separate production build of every page, the static closure of the entry. The main number is gzip over the baseline: how much the form library and the form code add to the same page without a library. Compression is measured on the whole entry; package attribution is minified bytes from the sourcemap.
| Page | JS raw, KB | gzip, KB | brotli, KB | gzip over baseline, KB | Largest packages (raw, KB) |
|---|---|---|---|---|---|
| Registration with a captcha | |||||
| ReFormer core | 288.4 | 92.8 | 80.6 | 28.9 | @reformer/core 70.7, bench: shared 12.6, @reformer/cdk 7.8, @preact/signals-core 4.6, implementation 3.6 |
| ReFormer JSON | 310.9 | 100.6 | 87.2 | 36.7 | @reformer/core 70.8, bench: shared 11.9, @reformer/renderer-json 11.4, @reformer/renderer-react 10.3, @reformer/cdk 7.8 |
| Formik | 274.7 | 88.5 | 76.8 | 24.5 | yup 30.7, lodash-es 14.6, formik 13.5, bench: shared 12.6, implementation 3.8 |
| RHF | 326.8 | 103.2 | 89.5 | 39.2 | zod 79.4, react-hook-form 38.7, bench: shared 12.6, @hookform/resolvers 3.3, implementation 3.3 |
| RJSF | 591.3 | 193.5 | 165.4 | 129.5 | ajv 103.6, markdown-to-jsx 77.4, @rjsf/core 67.7, @rjsf/utils 48.9, fast-uri 31.1 |
| baseline | 201.1 | 63.9 | 55.3 | 0.0 | bench: shared 11.0, implementation 1.4 |
| Credit application | |||||
| ReFormer core | 338.8 | 106.0 | 91.5 | 38.1 | @reformer/core 77.8, bench: shared 39.7, implementation 16.3, @reformer/cdk 11.2, @preact/signals-core 4.6 |
| ReFormer JSON | 370.1 | 114.3 | 98.0 | 46.3 | @reformer/core 77.3, bench: shared 38.5, implementation 30.7, @reformer/renderer-json 11.5, @reformer/renderer-react 10.4 |
| Formik | 326.5 | 100.8 | 87.5 | 32.8 | bench: shared 40.5, yup 34.4, formik 19.6, implementation 17.7, lodash-es 14.6 |
| RHF | 381.9 | 117.4 | 101.7 | 49.5 | zod 85.9, react-hook-form 45.0, bench: shared 41.2, implementation 17.0, @hookform/resolvers 3.3 |
| RJSF | 620.4 | 201.2 | 172.0 | 133.2 | ajv 103.6, markdown-to-jsx 77.4, @rjsf/core 67.7, @rjsf/utils 48.9, bench: shared 43.3 |
| baseline | 216.8 | 68.0 | 58.7 | 0.0 | bench: shared 23.6, implementation 4.5 |
Implementation code sizeβ
Implementation sources that end up in the page bundle (from the sourcemap): lines without blanks and comments after prettier. βFormβ is the files of the form folder, βglueβ is the rest of the library integration code (field adapters, the RJSF theme, shared ReFormer rules and behavior). The shared benchmark layer is identical for everyone and is not counted. The credit JSON document of ReFormer JSON was generated once from shared field metadata; RJSF and ReFormer core build their schemas from the same metadata in code.
| Implementation | Form TS | Form JSON | Glue TS | Total lines | Files | Source gzip, B |
|---|---|---|---|---|---|---|
| Registration with a captcha | ||||||
| ReFormer core | 132 | 0 | 146 | 278 | 5 | 3040 |
| ReFormer JSON | 57 | 87 | 205 | 349 | 9 | 3884 |
| Formik | 125 | 0 | 243 | 368 | 7 | 3413 |
| RHF | 179 | 0 | 72 | 251 | 5 | 2621 |
| RJSF | 293 | 0 | 464 | 757 | 8 | 5630 |
| baseline | 73 | 0 | 0 | 73 | 2 | 857 |
| Credit application | ||||||
| ReFormer core | 399 | 0 | 608 | 1007 | 10 | 8127 |
| ReFormer JSON | 76 | 1012 | 739 | 1827 | 14 | 11716 |
| Formik | 890 | 0 | 243 | 1133 | 10 | 9027 |
| RHF | 964 | 0 | 121 | 1085 | 8 | 8906 |
| RJSF | 992 | 0 | 464 | 1456 | 11 | 11356 |
| baseline | 325 | 0 | 0 | 325 | 2 | 2767 |
Methodology and limitationsβ
- Behavior contract. One specification per form; shared UI, fake API and messages for everyone. Competitors are written idiomatically from their official docs, without relying on ReFormer code, with the same optimization budget: no React Compiler and no manual memo beyond what the docs recommend.
- Conformance before measuring. Before measuring, Playwright runs 171 tests: conformance of every implementation β errors and the quiet phase, server checks, masks, the wizard, arrays, the canonical payload β and the calibration of the render counter. Measuring starts only after a green run.
- Statistics. Each run is reduced first (for example, the median over all keys of a phase); over 10 runs β the median and IQR. Significance against ReFormer core is an exact MannβWhitney U test with the Holm correction over all comparisons of the report, p < 0.05; a difference below the A/A noise (two identical builds of ReFormer core) is not counted as a difference.
- Calibration and background load. At the start and the end of every run there is a calibration JS workload (machine speed drift) and a snapshot of neighbouring processes and the GPU; with BENCH_REQUIRE_IDLE=1 measuring does not start on a busy machine.
- Machine drift. Absolute numbers from different sessions are not comparable even on the same machine: the baseline (the same code) differed by up to 1.6Γ between runs on one day. Compare ratios within one report: participants alternate in a shuffled order within a run, so drift affects everyone equally.
- Limitations. CPU throttling in Chromium slows down only the main thread, so the cost of large bundles is understated. One machine and one browser. βKey β end of frameβ is quantized by the frame rate; βkey β end of processingβ and JS per key are more precise.
Sources and the raw report
- BENCH-CONTRACT.md β methodology and fairness rules
- report.md β the full report of this run
- forms-benchmark/src/libs β implementations of all participants; each README lists its deviations
How to reproduce
npm ci
npx playwright install chromium
# @reformer/* packages are consumed from dist β build them in order
for pkg in @reformer/core @reformer/cdk @reformer/renderer-react @reformer/renderer-json; do
npm run build:stackblitz -w "$pkg"
done
# Is the machine idle: neighbouring processes, GPU
npm run bench:idle-check
# Build the pages, conformance, runs and the report; refuses to start on a busy machine
BENCH_REQUIRE_IDLE=1 npm run bench
Machine state in this report
| Form | Calibration, median | Spread p10βp90 | Drift over the session | Foreign load, cores | βDirtyβ runs |
|---|---|---|---|---|---|
| Registration with a captcha | 47.2 ms | 3.8 % | 0.0 % | 0.19 / max 1.21 | 2 / 70 |
| Credit application | 46.9 ms | 3.2 % | +0.1 % | 0.13 / max 0.69 | 0 / 70 |