Skip to content

Commit c8e37c8

Browse files
renovate[bot]github-actions[bot]
authored andcommitted
chore: update benchmark results [no ci]
1 parent a23d36d commit c8e37c8

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -239,21 +239,21 @@ const result = sync({
239239

240240
## :chart_with_upwards_trend: Benchmarks
241241

242-
> Tested on Node v24.11.0.
242+
> Tested on Node v24.11.1.
243243
244244
### input as glob pattern [40 files]
245245

246246
| Rank | Library | Average latency [ms] | Difference percentage (comparing to best average latency) |
247247
| ---- | ----------------------------- | -------------------- | ----------------------------------------------------------------------------- |
248-
| 1 | @frsource/frs-replace (sync) | 0.55 ± 1.43% | +0.00% |
249-
| 2 | replace-in-file (sync) | 0.65 ± 2.10% | +18.70% |
250-
| 3 | @frsource/frs-replace (async) | 1.88 ± 1.45% | +241.54% |
251-
| 4 | replace-in-file (async) | 2.75 ± 1.64% | +399.16% |
248+
| 1 | @frsource/frs-replace (sync) | 0.55 ± 1.63% | +0.00% |
249+
| 2 | replace-in-file (sync) | 0.62 ± 1.86% | +12.84% |
250+
| 3 | @frsource/frs-replace (async) | 1.82 ± 1.71% | +232.92% |
251+
| 4 | replace-in-file (async) | 2.64 ± 1.67% | +382.99% |
252252

253253
### input & replacement as strings
254254

255255
| Rank | Library | Average latency [ms] | Difference percentage (comparing to best average latency) |
256256
| ---- | ----------------------------- | -------------------- | ----------------------------------------------------------------------------- |
257-
| 1 | @frsource/frs-replace (sync) | 0.14 ± 2.12% | +0.00% |
258-
| 2 | replaceString | 0.16 ± 1.88% | +9.27% |
259-
| 3 | @frsource/frs-replace (async) | 0.16 ± 1.88% | +10.37% |
257+
| 1 | @frsource/frs-replace (sync) | 0.15 ± 2.11% | +0.00% |
258+
| 2 | @frsource/frs-replace (async) | 0.15 ± 1.74% | +2.98% |
259+
| 3 | replaceString | 0.16 ± 1.96% | +12.20% |

0 commit comments

Comments
 (0)