You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+83Lines changed: 83 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -92,6 +92,89 @@ The `bcround()` function supports PHP 8.4's `RoundingMode` enum through a polyfi
92
92
93
93
This polyfill uses [phpseclib](https://github.com/phpseclib/phpseclib)'s BigInteger class for arbitrary precision arithmetic, providing reliable performance for applications that cannot use the native bcmath extension.
94
94
95
+
### Performance Benchmarking
96
+
97
+
This project includes a comprehensive benchmarking tool to compare the performance of the polyfill against native bcmath functions.
98
+
99
+
#### Local Benchmark Execution
100
+
101
+
```bash
102
+
# Run benchmark with default settings (10,000 iterations)
0 commit comments