Skip to content

Commit ebb546d

Browse files
committed
docs: update benchmark results
1 parent f7cde0a commit ebb546d

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -314,12 +314,12 @@ Each benchmark formats `10,000` queries using `format` with `100` mixed values (
314314

315315
| Benchmark | sqlstring | SQL Escaper | Difference |
316316
| ---------------------------------------- | ---------: | ----------: | ---------------: |
317-
| Select 100 values | 460.9 ms | 242.2 ms | **1.90x faster** |
318-
| Insert 100 values | 468.6 ms | 242.5 ms | **1.93x faster** |
319-
| SET with 100 values | 484.2 ms | 257.0 ms | **1.88x faster** |
320-
| SET with 100 objects | 671.6 ms | 283.2 ms | **2.37x faster** |
321-
| ON DUPLICATE KEY UPDATE with 100 values | 894.0 ms | 459.8 ms | **1.94x faster** |
322-
| ON DUPLICATE KEY UPDATE with 100 objects | 1,092.0 ms | 485.7 ms | **2.25x faster** |
317+
| Select 100 values | 450.3 ms | 178.1 ms | **2.53x faster** |
318+
| Insert 100 values | 453.2 ms | 198.0 ms | **2.29x faster** |
319+
| SET with 100 values | 471.3 ms | 213.8 ms | **2.20x faster** |
320+
| SET with 100 objects | 656.9 ms | 249.6 ms | **2.63x faster** |
321+
| ON DUPLICATE KEY UPDATE with 100 values | 873.2 ms | 397.8 ms | **2.20x faster** |
322+
| ON DUPLICATE KEY UPDATE with 100 objects | 1,076.0 ms | 442.6 ms | **2.43x faster** |
323323

324324
- See detailed results and how the benchmarks are run in the [**benchmark**](https://github.com/wellwelwel/sql-escaper/tree/main/benchmark) directory.
325325

0 commit comments

Comments
 (0)