mirror of
https://github.com/mikkelam/fast-cli.git
synced 2025-12-16 11:54:05 +00:00
Switch to portable build by default
This commit is contained in:
parent
992eef432e
commit
5ee2ee48b6
2 changed files with 5 additions and 4 deletions
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
|
@ -21,7 +21,7 @@ jobs:
|
|||
- uses: mlugg/setup-zig@v2
|
||||
|
||||
- name: Build
|
||||
run: zig build --release=safe -Dtarget=${{ matrix.target }}
|
||||
run: zig build -Doptimize=ReleaseFast -Dtarget=${{ matrix.target }} -Dcpu=baseline
|
||||
|
||||
- name: Prepare artifact
|
||||
run: |
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
A blazingly fast CLI tool for testing internet speed uses fast.com v2 api. Written in Zig for maximum performance.
|
||||
|
||||
⚡ **1.4 MiB binary** • 🚀 **Zero runtime deps** • 📊 **Smart stability detection**
|
||||
⚡ **1.2 MB binary** • 🚀 **Zero runtime deps** • 📊 **Smart stability detection**
|
||||
|
||||
## Demo
|
||||
|
||||
|
|
@ -14,7 +14,7 @@ A blazingly fast CLI tool for testing internet speed uses fast.com v2 api. Writt
|
|||
|
||||
## Why fast-cli?
|
||||
|
||||
- **Tiny binary**: Just 1.2 MiB, no runtime dependencies
|
||||
- **Tiny binary**: Just 1.2 MB, no runtime dependencies
|
||||
- **Blazing fast**: Concurrent connections with adaptive chunk sizing
|
||||
- **Cross-platform**: Single binary for Linux, macOS
|
||||
- **Smart stopping**: Uses Coefficient of Variation (CoV) algorithm for adaptive test duration
|
||||
|
|
@ -89,7 +89,8 @@ zig build
|
|||
zig build test
|
||||
|
||||
# Release build
|
||||
zig build --release=safe
|
||||
# Consider removing -Dcpu if you do not need a portable build
|
||||
zig build -Doptimize=ReleaseFast -Dcpu=baseline
|
||||
```
|
||||
|
||||
## License
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue