Skip to content

Commit

Permalink
chore: update benchmark results [no ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
FRSgit authored and github-actions[bot] committed Jan 6, 2025
1 parent 84a0bb1 commit 5a2a85f
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -245,15 +245,15 @@ const result = sync({

| Rank | Library | Average latency [ms] | Difference percentage (comparing to best average latency) |
| ---- | ----------------------------- | -------------------- | ----------------------------------------------------------------------------- |
| 1 | @frsource/frs-replace (sync) | 0.45 ± 1.04% | +0.00% |
| 2 | replace-in-file (sync) | 0.82 ± 1.22% | +81.91% |
| 3 | @frsource/frs-replace (async) | 1.84 ± 1.29% | +306.10% |
| 4 | replace-in-file (async) | 3.10 ± 1.13% | +585.08% |
| 1 | @frsource/frs-replace (sync) | 0.46 ± 1.06% | +0.00% |
| 2 | replace-in-file (sync) | 0.81 ± 1.37% | +78.29% |
| 3 | @frsource/frs-replace (async) | 1.82 ± 1.18% | +300.19% |
| 4 | replace-in-file (async) | 3.15 ± 1.33% | +591.39% |

### input & replacement as strings

| Rank | Library | Average latency [ms] | Difference percentage (comparing to best average latency) |
| ---- | ----------------------------- | -------------------- | ----------------------------------------------------------------------------- |
| 1 | @frsource/frs-replace (sync) | 0.01 ± 0.26% | +0.00% |
| 2 | @frsource/frs-replace (async) | 0.01 ± 0.25% | +12.08% |
| 3 | replaceString | 0.18 ± 0.82% | +2152.96% |
| 1 | @frsource/frs-replace (sync) | 0.01 ± 0.28% | +0.00% |
| 2 | @frsource/frs-replace (async) | 0.01 ± 0.27% | +11.43% |
| 3 | replaceString | 0.18 ± 0.93% | +2171.86% |

0 comments on commit 5a2a85f

Please sign in to comment.