update README.md

This commit is contained in:
Jaakko Koistinen 2025-02-04 17:24:15 +01:00
parent fdcc4fc444
commit 4c3328c51a

View File

@ -111,6 +111,27 @@ go build -ldflags="-s -w" -o ssl-checker main.go
- `--lzma`: Uses the LZMA algorithm for optimal compression. - `--lzma`: Uses the LZMA algorithm for optimal compression.
- `-o ssl-checker-compressed`: Specifies the name of the compressed output binary. - `-o ssl-checker-compressed`: Specifies the name of the compressed output binary.
Execution time: compressed vs uncompressed:
```bash
time ./ssl-checker-compressed
Usage: -H <hostname> [-p <port>] [-w <warning days>] [-c <critical days>] [-t <timeout>]
________________________________________________________
Executed in 74.73 millis fish external
usr time 71.91 millis 229.00 micros 71.68 millis
sys time 3.10 millis 118.00 micros 2.99 millis
```
```bash
time ./ssl-checker
Usage: -H <hostname> [-p <port>] [-w <warning days>] [-c <critical days>] [-t <timeout>]
________________________________________________________
Executed in 2.04 millis fish external
usr time 0.22 millis 216.00 micros 0.00 millis
sys time 2.02 millis 112.00 micros 1.91 millis
```
### Verifying the Binary is Statically Linked ### Verifying the Binary is Statically Linked
On Linux, confirm the binary is statically linked by checking its dependencies: On Linux, confirm the binary is statically linked by checking its dependencies:
```bash ```bash