Skip to content

Commit 26ecc23

Browse files
committed
README: Add count items operation to benchmark
1 parent 6c612c5 commit 26ecc23

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
| Encode | 0.67 ms | 0.26 ms | **2.5×** |
1616
| Encode (pretty print) | 0.83 ms | 0.31 ms | **2.6×** |
1717
| Validate | 1.37 ms | 0.22 ms | **6.2×** |
18+
| Count items | 1.51 ms | 0.16 ms | **9.4×** |
1819

1920
Tests were conducted using PHP 8.3 on an [Apple M1 Max](https://en.wikipedia.org/wiki/Apple_M1#M1_Pro_and_M1_Max). For test specification see `TwitterDecodeBench.php` and `TwitterEncoderBench.php`.
2021

0 commit comments

Comments
 (0)