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 a6f549c commit 344fa32
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.46 ± 1.19% | +0.00% |
| 2 | replace-in-file (sync) | 0.82 ± 1.38% | +76.92% |
| 3 | @frsource/frs-replace (async) | 1.76 ± 1.35% | +279.85% |
| 4 | replace-in-file (async) | 3.08 ± 1.19% | +564.50% |
| 1 | @frsource/frs-replace (sync) | 0.45 ± 1.03% | +0.00% |
| 2 | replace-in-file (sync) | 0.86 ± 1.58% | +92.49% |
| 3 | @frsource/frs-replace (async) | 1.83 ± 1.31% | +311.95% |
| 4 | replace-in-file (async) | 3.10 ± 1.15% | +596.59% |

### input & replacement as strings

| Rank | Library | Average latency [ms] | Difference percentage (comparing to best average latency) |
| ---- | ----------------------------- | -------------------- | ----------------------------------------------------------------------------- |
| 1 | @frsource/frs-replace (sync) | 0.01 ± 0.38% | +0.00% |
| 2 | @frsource/frs-replace (async) | 0.01 ± 0.34% | +11.03% |
| 3 | replaceString | 0.17 ± 0.93% | +2081.61% |
| 1 | @frsource/frs-replace (sync) | 0.01 ± 0.28% | +0.00% |
| 2 | @frsource/frs-replace (async) | 0.01 ± 0.28% | +15.00% |
| 3 | replaceString | 0.18 ± 0.86% | +2150.12% |

0 comments on commit 344fa32

Please sign in to comment.