Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add TTFB stat #489

Open
wants to merge 23 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 0 additions & 17 deletions .github/workflows/build.yml

This file was deleted.

50 changes: 50 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: publish

on:
release:
types:
- created

permissions:
contents: write
actions: write

jobs:
publish:
name: Publish for ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: ubuntu-latest
artifact_name: wrk
asset_name: wrk-linux-amd64
- os: macos-latest
artifact_name: wrk
asset_name: wrk-macos-amd64
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0

- name: build executable
run: make target/wrk

- name: build python package
run: |
pip install build
cd python
python -m build

- name: Upload python package to PYPI
uses: pypa/[email protected]
with:
password: ${{ secrets.PYPI_API_TOKEN }}

- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: target/${{ matrix.artifact_name }}
asset_name: ${{ matrix.asset_name }}
tag: ${{ github.ref }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
obj/
wrk
wrk.so
24 changes: 0 additions & 24 deletions CHANGES

This file was deleted.

29 changes: 0 additions & 29 deletions INSTALL

This file was deleted.

182 changes: 0 additions & 182 deletions LICENSE

This file was deleted.

Loading