Skip to content

Commit 55dd2c8

Browse files
committed
Preparing for v2
1 parent 37330c8 commit 55dd2c8

File tree

1 file changed

+3
-42
lines changed

1 file changed

+3
-42
lines changed

readme.md

Lines changed: 3 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99

1010
Each major version of this library will be supported for 5 years after it's initial release. Support will be provided for security and bug fixes.
1111

12-
Version 1 will therefore be supported until the 11th September 2019.
12+
- Version 2 will be supported until the 1st Janurary 2031.
13+
- Version 1 support expired on the 11th September 2019.
1314

1415
## Background
1516

@@ -26,7 +27,7 @@ So I decided to create a library with the following goals:
2627

2728
This library has the following requirements:
2829

29-
- PHP => 5.3
30+
- PHP => 8.1
3031
- BC Math Extension
3132

3233
## Installation
@@ -87,46 +88,6 @@ This library is tested using PHPUnit.
8788
$ bin/phpunit
8889
```
8990

90-
## Benchmarking
91-
92-
You can benchmark this library using [Athletic](https://github.com/polyfractal/athletic).
93-
The benchmarking suite also benchmarks PHP's built-in Base64 and Base16 encoding for comparison.
94-
95-
```bash
96-
$ bin/athletic -p benchmarks
97-
```
98-
99-
Example output.
100-
101-
```
102-
StephenHill\Benchmarks\Base16Event
103-
Method Name Iterations Average Time Ops/second
104-
------------ ------------ -------------- -------------
105-
encodeBase16: [10,000 ] [0.0000010839939] [922,514.40637]
106-
decodeBase16: [10,000 ] [0.0000011516809] [868,296.03561]
107-
108-
109-
StephenHill\Benchmarks\Base58BCMathEvent
110-
Method Name Iterations Average Time Ops/second
111-
------------ ------------ -------------- -------------
112-
encodeBase58: [10,000 ] [0.0001500048161] [6,666.45263]
113-
decodeBase58: [10,000 ] [0.0001741812706] [5,741.14540]
114-
115-
116-
StephenHill\Benchmarks\Base58GMPEvent
117-
Method Name Iterations Average Time Ops/second
118-
------------ ------------ -------------- -------------
119-
encodeBase58: [10,000 ] [0.0001168665648] [8,556.76730]
120-
decodeBase58: [10,000 ] [0.0001385705233] [7,216.54199]
121-
122-
123-
StephenHill\Benchmarks\Base64Event
124-
Method Name Iterations Average Time Ops/second
125-
------------ ------------ -------------- -------------
126-
encodeBase64: [10,000 ] [0.0000009050369] [1,104,927.29189]
127-
decodeBase64: [10,000 ] [0.0000009787321] [1,021,730.04312]
128-
```
129-
13091
## Contributing
13192

13293
I welcome everyone to contribute to this library. Please see the Contributing document for details.

0 commit comments

Comments
 (0)